Ищите ссылки на пространство имен Blueprint XML. (Миграция из Spring XML.) - PullRequest
0 голосов
/ 27 августа 2018

Я обновляю все наши сервисы, чтобы использовать новейшие библиотеки Fuse 7 / Karaf,

и я вижу, что ни один из наших контекстов приложения Spring (<beans>...</beans> XML) больше не поддерживается. Мне нужно все переключить на Blueprint's <blueprint>...</blueprint>.

По большей части я могу копировать-вставить. Но я не могу легко найти новые пространства имен Blueprint OSGi XSD / schema.

Есть ли где-нибудь список или более простой способ, чем рыться в github?

------------ EDIT:

Вот пример.

<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:int="http://www.springframework.org/schema/integration"
    xmlns:int-file="http://www.springframework.org/schema/integration/file"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:camel="http://camel.apache.org/schema/spring"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:tx="http://www.springframework.org/schema/tx" 
    xsi:schemaLocation="
         http://www.springframework.org/schema/beans 
         http://www.springframework.org/schema/beans/spring-beans.xsd
         http://camel.apache.org/schema/spring 
         http://camel.apache.org/schema/spring/camel-spring.xsd
         http://www.springframework.org/schema/integration
         http://www.springframework.org/schema/integration/spring-integration.xsd
        http://www.springframework.org/schema/integration/file
        http://www.springframework.org/schema/integration/file/spring-integration-file.xsd
        http://www.springframework.org/schema/context   http://www.springframework.org/schema/context/spring-context-3.0.xsd
        http://www.springframework.org/schema/tx        http://www.springframework.org/schema/tx/spring-tx.xsd

         ">

В <blueprint>, что бы я изменил на это?

1 Ответ

0 голосов
/ 27 августа 2018

Схема XML Blueprint доступна по адресу https://osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd.

...