From: Gilles Thouenon Date: Mon, 31 Aug 2020 13:54:19 +0000 (+0200) Subject: fix blueprints to let karaf inject mdsal deps X-Git-Tag: 2.0.0~18 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=f7b35753e247ecdec626a953dac89334f0101a54;p=transportpce.git fix blueprints to let karaf inject mdsal deps https://docs.opendaylight.org/en/latest/release-notes/upgrade-process.html#use-of-odl-type-in-blueprint-is-discouraged Signed-off-by: guillaume.lambert Change-Id: I43bf6c7d733656df2c4f0288b30e9ca777911927 --- diff --git a/common/src/main/resources/OSGI-INF/blueprint/common-blueprint.xml b/common/src/main/resources/OSGI-INF/blueprint/common-blueprint.xml index 06e88827e..c44e120e3 100644 --- a/common/src/main/resources/OSGI-INF/blueprint/common-blueprint.xml +++ b/common/src/main/resources/OSGI-INF/blueprint/common-blueprint.xml @@ -12,7 +12,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html odl:use-default-for-reference-types="true"> - + diff --git a/inventory/src/main/resources/OSGI-INF/blueprint/inventory-blueprint.xml b/inventory/src/main/resources/OSGI-INF/blueprint/inventory-blueprint.xml index 6f9d85789..1889ee7b5 100644 --- a/inventory/src/main/resources/OSGI-INF/blueprint/inventory-blueprint.xml +++ b/inventory/src/main/resources/OSGI-INF/blueprint/inventory-blueprint.xml @@ -6,8 +6,7 @@ - + diff --git a/networkmodel/src/main/resources/OSGI-INF/blueprint/networkmodel-blueprint.xml b/networkmodel/src/main/resources/OSGI-INF/blueprint/networkmodel-blueprint.xml index 2d1097941..4f310e4cd 100644 --- a/networkmodel/src/main/resources/OSGI-INF/blueprint/networkmodel-blueprint.xml +++ b/networkmodel/src/main/resources/OSGI-INF/blueprint/networkmodel-blueprint.xml @@ -6,7 +6,7 @@ - + diff --git a/olm/src/main/resources/OSGI-INF/blueprint/olm-blueprint.xml b/olm/src/main/resources/OSGI-INF/blueprint/olm-blueprint.xml index 1602c2923..1460aec5b 100644 --- a/olm/src/main/resources/OSGI-INF/blueprint/olm-blueprint.xml +++ b/olm/src/main/resources/OSGI-INF/blueprint/olm-blueprint.xml @@ -12,8 +12,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html odl:use-default-for-reference-types="true"> + interface="org.opendaylight.mdsal.binding.api.DataBroker"/> on behalf of Orange + interface="org.opendaylight.mdsal.binding.api.DataBroker"/> + interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"/> - + + interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"/> diff --git a/servicehandler/src/main/resources/OSGI-INF/blueprint/servicehandler-blueprint.xml b/servicehandler/src/main/resources/OSGI-INF/blueprint/servicehandler-blueprint.xml index 0a6bcdfb4..1ae071877 100644 --- a/servicehandler/src/main/resources/OSGI-INF/blueprint/servicehandler-blueprint.xml +++ b/servicehandler/src/main/resources/OSGI-INF/blueprint/servicehandler-blueprint.xml @@ -17,16 +17,13 @@ Author: Martial Coulibaly on behalf of Orange interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/> + interface="org.opendaylight.mdsal.binding.api.DataBroker"/> + interface="org.opendaylight.mdsal.binding.api.NotificationService"/> + interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"/> diff --git a/tapi/src/main/resources/OSGI-INF/blueprint/tapi-blueprint.xml b/tapi/src/main/resources/OSGI-INF/blueprint/tapi-blueprint.xml index 58d876d0f..75aa57932 100644 --- a/tapi/src/main/resources/OSGI-INF/blueprint/tapi-blueprint.xml +++ b/tapi/src/main/resources/OSGI-INF/blueprint/tapi-blueprint.xml @@ -14,8 +14,7 @@ Author: Gilles Thouenon odl:use-default-for-reference-types="true"> + interface="org.opendaylight.mdsal.binding.api.DataBroker"/>