mv BP XML from org/opendaylight to OSGI-INF/ 08/77008/6
authorgobinath <gobinath@ericsson.com>
Mon, 15 Oct 2018 17:07:58 +0000 (22:37 +0530)
committerMichael Vorburger <vorburger@redhat.com>
Wed, 14 Nov 2018 11:33:00 +0000 (11:33 +0000)
1. Blueprint XML files moved, following
   https://wiki.opendaylight.org/view/Neon_platform_upgrade#Blueprint_declarations
   find . -path '*/src/main/resources/org/opendaylight/blueprint/*.xml' -execdir sh -c "mkdir -p ../../../OSGI-INF/blueprint; git mv {} ../../../OSGI-INF/blueprint" \;

2. ditch un-used http://opendaylight.org/xmlns/blueprint/v1.0.0 namespace
   in openflow-protocol-impl bundle which has no other controller dependency;
   see related update to Wiki just made for full background.

JIRA: OPNFLWPLUG-1032
Change-Id: I222d0a8aceee10960e493b7b165b79d7dd65d4a3
Signed-off-by: gobinath <gobinath@ericsson.com>
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
28 files changed:
applications/bulk-o-matic/src/main/resources/OSGI-INF/blueprint/bulk-o-matic.xml [moved from applications/bulk-o-matic/src/main/resources/org/opendaylight/blueprint/bulk-o-matic.xml with 100% similarity]
applications/device-ownership-service/src/main/resources/OSGI-INF/blueprint/device-ownership-state-service.xml [moved from applications/device-ownership-service/src/main/resources/org/opendaylight/blueprint/device-ownership-state-service.xml with 100% similarity]
applications/forwardingrules-manager/src/main/resources/OSGI-INF/blueprint/forwardingrules-manager.xml [moved from applications/forwardingrules-manager/src/main/resources/org/opendaylight/blueprint/forwardingrules-manager.xml with 100% similarity]
applications/forwardingrules-sync/src/main/resources/OSGI-INF/blueprint/forwardingrules-sync.xml [moved from applications/forwardingrules-sync/src/main/resources/org/opendaylight/blueprint/forwardingrules-sync.xml with 100% similarity]
applications/lldp-speaker/src/main/resources/OSGI-INF/blueprint/lldp-speaker.xml [moved from applications/lldp-speaker/src/main/resources/org/opendaylight/blueprint/lldp-speaker.xml with 100% similarity]
applications/notification-supplier/src/main/resources/OSGI-INF/blueprint/notification-supplier.xml [moved from applications/notification-supplier/src/main/resources/org/opendaylight/blueprint/notification-supplier.xml with 100% similarity]
applications/of-switch-config-pusher/src/main/resources/OSGI-INF/blueprint/of-switch-config-pusher.xml [moved from applications/of-switch-config-pusher/src/main/resources/org/opendaylight/blueprint/of-switch-config-pusher.xml with 100% similarity]
applications/reconciliation-framework/src/main/resources/OSGI-INF/blueprint/commands.xml [moved from applications/reconciliation-framework/src/main/resources/org/opendaylight/blueprint/commands.xml with 100% similarity]
applications/reconciliation-framework/src/main/resources/OSGI-INF/blueprint/reconciliation-framework.xml [moved from applications/reconciliation-framework/src/main/resources/org/opendaylight/blueprint/reconciliation-framework.xml with 100% similarity]
applications/southbound-cli/src/main/resources/OSGI-INF/blueprint/southbound-cli.xml [moved from applications/southbound-cli/src/main/resources/org/opendaylight/blueprint/southbound-cli.xml with 100% similarity]
applications/table-miss-enforcer/src/main/resources/OSGI-INF/blueprint/table-miss-enforcer.xml [moved from applications/table-miss-enforcer/src/main/resources/org/opendaylight/blueprint/table-miss-enforcer.xml with 100% similarity]
applications/topology-lldp-discovery/src/main/resources/OSGI-INF/blueprint/topology-lldp-discovery.xml [moved from applications/topology-lldp-discovery/src/main/resources/org/opendaylight/blueprint/topology-lldp-discovery.xml with 100% similarity]
applications/topology-manager/src/main/resources/OSGI-INF/blueprint/topology-manager.xml [moved from applications/topology-manager/src/main/resources/org/opendaylight/blueprint/topology-manager.xml with 100% similarity]
drop-test-karaf/src/main/resources/OSGI-INF/blueprint/commands.xml [moved from drop-test-karaf/src/main/resources/org/opendaylight/blueprint/commands.xml with 100% similarity]
drop-test-karaf/src/main/resources/OSGI-INF/blueprint/drop-test-karaf.xml [moved from drop-test-karaf/src/main/resources/org/opendaylight/blueprint/drop-test-karaf.xml with 100% similarity]
extension/openflowjava-extension-nicira/src/main/resources/OSGI-INF/blueprint/openflowjava-extension-nicira.xml [moved from extension/openflowjava-extension-nicira/src/main/resources/org/opendaylight/blueprint/openflowjava-extension-nicira.xml with 100% similarity]
extension/openflowplugin-extension-nicira/src/main/resources/OSGI-INF/blueprint/openflowplugin-extension-nicira.xml [moved from extension/openflowplugin-extension-nicira/src/main/resources/org/opendaylight/blueprint/openflowplugin-extension-nicira.xml with 100% similarity]
extension/openflowplugin-extension-onf/src/main/resources/OSGI-INF/blueprint/openflowplugin-extension-onf.xml [moved from extension/openflowplugin-extension-onf/src/main/resources/org/opendaylight/blueprint/openflowplugin-extension-onf.xml with 100% similarity]
extension/test-extension/src/main/resources/OSGI-INF/blueprint/test-extension.xml [moved from extension/test-extension/src/main/resources/org/opendaylight/blueprint/test-extension.xml with 100% similarity]
openflowjava/openflow-protocol-impl/src/main/resources/OSGI-INF/blueprint/openflow-protocol-impl.xml [moved from openflowjava/openflow-protocol-impl/src/main/resources/org/opendaylight/blueprint/openflow-protocol-impl.xml with 61% similarity]
openflowjava/openflowjava-blueprint-config/src/main/resources/OSGI-INF/blueprint/openflowjava.xml [moved from openflowjava/openflowjava-blueprint-config/src/main/resources/org/opendaylight/blueprint/openflowjava.xml with 96% similarity]
openflowplugin-blueprint-config/src/main/resources/OSGI-INF/blueprint/openflowplugin.xml [moved from openflowplugin-blueprint-config/src/main/resources/org/opendaylight/blueprint/openflowplugin.xml with 100% similarity]
openflowplugin-impl/src/main/resources/OSGI-INF/blueprint/commands.xml [moved from openflowplugin-impl/src/main/resources/org/opendaylight/blueprint/commands.xml with 100% similarity]
openflowplugin-impl/src/main/resources/OSGI-INF/blueprint/openflowplugin-impl.xml [moved from openflowplugin-impl/src/main/resources/org/opendaylight/blueprint/openflowplugin-impl.xml with 100% similarity]
samples/learning-switch/src/main/resources/OSGI-INF/blueprint/learning-switch.xml [moved from samples/learning-switch/src/main/resources/org/opendaylight/blueprint/learning-switch.xml with 100% similarity]
samples/sample-bundles/src/main/resources/OSGI-INF/blueprint/bundle-blueprint.xml [moved from samples/sample-bundles/src/main/resources/org/opendaylight/blueprint/bundle-blueprint.xml with 100% similarity]
samples/sample-consumer/src/main/resources/OSGI-INF/blueprint/bundle-blueprint.xml [moved from samples/sample-consumer/src/main/resources/org/opendaylight/blueprint/bundle-blueprint.xml with 100% similarity]
test-provider/src/main/resources/OSGI-INF/blueprint/test-provider.xml [moved from test-provider/src/main/resources/org/opendaylight/blueprint/test-provider.xml with 100% similarity]

similarity index 61%
rename from openflowjava/openflow-protocol-impl/src/main/resources/org/opendaylight/blueprint/openflow-protocol-impl.xml
rename to openflowjava/openflow-protocol-impl/src/main/resources/OSGI-INF/blueprint/openflow-protocol-impl.xml
index c4ce514b7f4cb2886851b52ebd37a5456993d955..a635a84b2fca89aecf9b3aea7d95bb4586a56d99 100644 (file)
@@ -1,9 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
-           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
 
   <bean id="switchConnFactory" class="org.opendaylight.openflowjava.protocol.impl.core.SwitchConnectionProviderFactoryImpl"/>
 
-  <service ref="switchConnFactory" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProviderFactory"
-          odl:type="default"/>
-</blueprint>
\ No newline at end of file
+  <service ref="switchConnFactory" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProviderFactory"/>
+</blueprint>
similarity index 96%
rename from openflowjava/openflowjava-blueprint-config/src/main/resources/org/opendaylight/blueprint/openflowjava.xml
rename to openflowjava/openflowjava-blueprint-config/src/main/resources/OSGI-INF/blueprint/openflowjava.xml
index e1d3c000e375501d4fe6583f1b14778cc054a5d4..f54f1dca3779cc0b21765f02d5a54e08a32d9040 100644 (file)
@@ -2,8 +2,7 @@
 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
 
-  <reference id="switchConnectionProviderFactory" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProviderFactory"
-          odl:type="default"/>
+  <reference id="switchConnectionProviderFactory" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProviderFactory"/>
 
   <!-- Create OF switch connection provider on port 6653 (default) -->
   <odl:clustered-app-config id="defaultSwitchConnConfig" default-config-file-name="default-openflow-connection-config.xml"
@@ -31,4 +30,4 @@
   <service ref="legacySwitchConnProvider" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider"
           odl:type="openflow-switch-connection-provider-legacy-impl"/>
 
-</blueprint>
\ No newline at end of file
+</blueprint>