Rename autowire.xml 27/100127/2
authorSangwook Ha <sangwook.ha@verizon.com>
Tue, 15 Mar 2022 00:00:03 +0000 (17:00 -0700)
committerSangwook Ha <sangwook.ha@verizon.com>
Thu, 31 Mar 2022 22:36:55 +0000 (22:36 +0000)
Rename autowire.xml to use the module name for consistency with
other Blueprint XML files.

Change-Id: Icb69c6cedcaa5abe9bb5559ad102b13bfeba7cbc
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
applications/arbitratorreconciliation/impl/src/main/resources/OSGI-INF/blueprint/arbitratorreconciliation.xml [new file with mode: 0644]
applications/arbitratorreconciliation/impl/src/main/resources/OSGI-INF/blueprint/autowire.xml [deleted file]
applications/device-ownership-service/src/main/resources/OSGI-INF/blueprint/autowire.xml [deleted file]
applications/device-ownership-service/src/main/resources/OSGI-INF/blueprint/device-ownership-service.xml [new file with mode: 0644]
applications/reconciliation-framework/src/main/resources/OSGI-INF/blueprint/autowire.xml [deleted file]
applications/reconciliation-framework/src/main/resources/OSGI-INF/blueprint/reconciliation-framework.xml [new file with mode: 0644]
applications/topology-manager/src/main/resources/blueprint/autowire.xml [deleted file]
applications/topology-manager/src/main/resources/blueprint/topology-manager.xml [new file with mode: 0644]

diff --git a/applications/arbitratorreconciliation/impl/src/main/resources/OSGI-INF/blueprint/arbitratorreconciliation.xml b/applications/arbitratorreconciliation/impl/src/main/resources/OSGI-INF/blueprint/arbitratorreconciliation.xml
new file mode 100644 (file)
index 0000000..a492063
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+  <bean id="arbitratorReconciliationManagerImpl"
+        class="org.opendaylight.openflowplugin.applications.arbitratorreconciliation.impl.ArbitratorReconciliationManagerImpl"
+        init-method="start"
+        destroy-method="close">
+    <argument ref="reconciliationManager"/>
+    <argument ref="rpcProviderService"/>
+    <argument ref="rpcConsumerRegistry"/>
+    <argument ref="upgradeState"/>
+  </bean>
+
+  <reference id="reconciliationManager"
+             interface="org.opendaylight.openflowplugin.applications.reconciliation.ReconciliationManager"/>
+  <reference id="rpcProviderService"
+             interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
+  <reference id="rpcConsumerRegistry"
+             interface="org.opendaylight.mdsal.binding.api.RpcConsumerRegistry"/>
+  <reference id="upgradeState"
+             interface="org.opendaylight.serviceutils.upgrade.UpgradeState"/>
+</blueprint>
diff --git a/applications/arbitratorreconciliation/impl/src/main/resources/OSGI-INF/blueprint/autowire.xml b/applications/arbitratorreconciliation/impl/src/main/resources/OSGI-INF/blueprint/autowire.xml
deleted file mode 100644 (file)
index 83c323e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
-    <bean id="arbitratorReconciliationManagerImpl" class="org.opendaylight.openflowplugin.applications.arbitratorreconciliation.impl.ArbitratorReconciliationManagerImpl" init-method="start" destroy-method="close">
-        <argument ref="reconciliationManager"/>
-        <argument ref="rpcProviderService"/>
-        <argument ref="rpcConsumerRegistry"/>
-        <argument ref="upgradeState"/>
-    </bean>
-    <reference id="rpcConsumerRegistry" interface="org.opendaylight.mdsal.binding.api.RpcConsumerRegistry"/>
-    <reference id="rpcProviderService" interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
-    <reference id="reconciliationManager" interface="org.opendaylight.openflowplugin.applications.reconciliation.ReconciliationManager"/>
-    <reference id="upgradeState" interface="org.opendaylight.serviceutils.upgrade.UpgradeState"/>
-</blueprint>
diff --git a/applications/device-ownership-service/src/main/resources/OSGI-INF/blueprint/autowire.xml b/applications/device-ownership-service/src/main/resources/OSGI-INF/blueprint/autowire.xml
deleted file mode 100644 (file)
index b0d7acd..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
-    <bean id="deviceOwnershipServiceImpl" class="org.opendaylight.openflowplugin.applications.deviceownershipservice.impl.DeviceOwnershipServiceImpl" init-method="start" destroy-method="close">
-        <argument ref="entityOwnershipService"/>
-    </bean>
-    <reference id="entityOwnershipService" interface="org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService"/>
-    <service ref="deviceOwnershipServiceImpl" interface="org.opendaylight.openflowplugin.applications.deviceownershipservice.DeviceOwnershipService"/>
-</blueprint>
diff --git a/applications/device-ownership-service/src/main/resources/OSGI-INF/blueprint/device-ownership-service.xml b/applications/device-ownership-service/src/main/resources/OSGI-INF/blueprint/device-ownership-service.xml
new file mode 100644 (file)
index 0000000..6af955d
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+  <bean id="deviceOwnershipServiceImpl"
+        class="org.opendaylight.openflowplugin.applications.deviceownershipservice.impl.DeviceOwnershipServiceImpl"
+        init-method="start"
+        destroy-method="close">
+    <argument ref="entityOwnershipService"/>
+  </bean>
+  <service ref="deviceOwnershipServiceImpl"
+           interface="org.opendaylight.openflowplugin.applications.deviceownershipservice.DeviceOwnershipService"/>
+
+  <reference id="entityOwnershipService"
+             interface="org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService"/>
+</blueprint>
diff --git a/applications/reconciliation-framework/src/main/resources/OSGI-INF/blueprint/autowire.xml b/applications/reconciliation-framework/src/main/resources/OSGI-INF/blueprint/autowire.xml
deleted file mode 100644 (file)
index 2f582f3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
-    <bean id="reconciliationManagerImpl" class="org.opendaylight.openflowplugin.applications.reconciliation.impl.ReconciliationManagerImpl" init-method="start" destroy-method="close">
-        <argument ref="mastershipChangeServiceManager"/>
-    </bean>
-    <reference id="mastershipChangeServiceManager" interface="org.opendaylight.openflowplugin.api.openflow.mastership.MastershipChangeServiceManager"/>
-    <service ref="reconciliationManagerImpl" interface="org.opendaylight.openflowplugin.applications.reconciliation.ReconciliationManager"/>
-</blueprint>
diff --git a/applications/reconciliation-framework/src/main/resources/OSGI-INF/blueprint/reconciliation-framework.xml b/applications/reconciliation-framework/src/main/resources/OSGI-INF/blueprint/reconciliation-framework.xml
new file mode 100644 (file)
index 0000000..92e2ede
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+  <bean id="reconciliationManagerImpl"
+        class="org.opendaylight.openflowplugin.applications.reconciliation.impl.ReconciliationManagerImpl"
+        init-method="start"
+        destroy-method="close">
+    <argument ref="mastershipChangeServiceManager"/>
+  </bean>
+  <service ref="reconciliationManagerImpl"
+           interface="org.opendaylight.openflowplugin.applications.reconciliation.ReconciliationManager"/>
+
+  <reference id="mastershipChangeServiceManager"
+             interface="org.opendaylight.openflowplugin.api.openflow.mastership.MastershipChangeServiceManager"/>
+</blueprint>
diff --git a/applications/topology-manager/src/main/resources/blueprint/autowire.xml b/applications/topology-manager/src/main/resources/blueprint/autowire.xml
deleted file mode 100644 (file)
index 8a35171..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
-    <bean id="flowCapableTopologyProvider" class="org.opendaylight.openflowplugin.applications.topology.manager.FlowCapableTopologyProvider" init-method="start" destroy-method="close">
-        <argument ref="dataBroker"/>
-        <argument ref="notificationService"/>
-        <argument ref="operationProcessor"/>
-        <argument ref="clusterSingletonServiceProvider"/>
-    </bean>
-    <bean id="nodeChangeListenerImpl" class="org.opendaylight.openflowplugin.applications.topology.manager.NodeChangeListenerImpl" destroy-method="close">
-        <argument ref="dataBroker"/>
-        <argument ref="operationProcessor"/>
-    </bean>
-    <bean id="operationProcessor" class="org.opendaylight.openflowplugin.applications.topology.manager.OperationProcessor" init-method="start" destroy-method="close">
-        <argument ref="dataBroker"/>
-    </bean>
-    <bean id="terminationPointChangeListenerImpl" class="org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl" destroy-method="close">
-        <argument ref="dataBroker"/>
-        <argument ref="operationProcessor"/>
-    </bean>
-    <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
-    <reference id="notificationService" interface="org.opendaylight.mdsal.binding.api.NotificationService"/>
-    <reference id="clusterSingletonServiceProvider" interface="org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider"/>
-</blueprint>
diff --git a/applications/topology-manager/src/main/resources/blueprint/topology-manager.xml b/applications/topology-manager/src/main/resources/blueprint/topology-manager.xml
new file mode 100644 (file)
index 0000000..39b6fe0
--- /dev/null
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+  <bean id="flowCapableTopologyProvider"
+        class="org.opendaylight.openflowplugin.applications.topology.manager.FlowCapableTopologyProvider"
+        init-method="start"
+        destroy-method="close">
+    <argument ref="dataBroker"/>
+    <argument ref="notificationService"/>
+    <argument ref="operationProcessor"/>
+    <argument ref="clusterSingletonServiceProvider"/>
+  </bean>
+
+  <bean id="nodeChangeListenerImpl"
+        class="org.opendaylight.openflowplugin.applications.topology.manager.NodeChangeListenerImpl"
+        destroy-method="close">
+    <argument ref="dataBroker"/>
+    <argument ref="operationProcessor"/>
+  </bean>
+
+  <bean id="terminationPointChangeListenerImpl"
+        class="org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl"
+        destroy-method="close">
+    <argument ref="dataBroker"/>
+    <argument ref="operationProcessor"/>
+  </bean>
+
+  <bean id="operationProcessor"
+        class="org.opendaylight.openflowplugin.applications.topology.manager.OperationProcessor"
+        init-method="start"
+        destroy-method="close">
+    <argument ref="dataBroker"/>
+  </bean>
+
+  <reference id="dataBroker"
+             interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
+  <reference id="notificationService"
+             interface="org.opendaylight.mdsal.binding.api.NotificationService"/>
+  <reference id="clusterSingletonServiceProvider"
+             interface="org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider"/>
+</blueprint>