Remove no longer required service-properties 90/68290/2
authorClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Thu, 15 Feb 2018 09:59:07 +0000 (10:59 +0100)
committerClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Thu, 15 Feb 2018 11:00:28 +0000 (12:00 +0100)
for restart OSGI CSS service

Change-Id: I65c4810ca5da9bd357dbdabb3ed413649ba8fbb1
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
bgp/rib-impl/src/main/resources/org/opendaylight/blueprint/bgp-rib.xml
bgp/rib-spi/src/main/resources/org/opendaylight/blueprint/bgp-rib-spi.xml
bmp/bmp-impl/src/main/resources/org/opendaylight/blueprint/bgp-bmp.xml
pcep/topology/topology-provider/src/main/resources/org/opendaylight/blueprint/pcep-topology.xml

index b5bce64cb604e460eb05a69ca36ec15e1a782d78..751abb17ffbe6bfa16511bfc39af1abf2aa9fdd8 100644 (file)
           factory-method="instance" destroy-method="close"/>
 
   <service ref="BGPPeerRegistry" interface="org.opendaylight.protocol.bgp.rib.impl.spi.BGPPeerRegistry"
-          odl:type="default">
-    <!-- The following service properties specify the config system module and instance that correspond to
-         this OSGi service which enables the config system module to be restarted when this blueprint
-         container is restarted. -->
-    <service-properties>
-      <entry key="config-module-namespace" value="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl"/>
-      <entry key="config-module-name" value="strict-bgp-peer-registry"/>
-      <entry key="config-instance-name" value="global-bgp-peer-registry"/>
-    </service-properties>
-  </service>
+          odl:type="default"/>
 
   <bean id="BGPDispatcher" class="org.opendaylight.protocol.bgp.rib.impl.BGPDispatcherImpl"  destroy-method="close">
     <argument>
     <argument ref="BGPPeerRegistry"/>
   </bean>
 
-  <service ref="BGPDispatcher" interface="org.opendaylight.protocol.bgp.rib.impl.spi.BGPDispatcher">
-    <!-- The following service properties specify the config system module and instance that correspond to
-         this OSGi service which enables the config system module to be restarted when this blueprint
-         container is restarted. -->
-    <service-properties>
-      <entry key="config-module-namespace" value="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl"/>
-      <entry key="config-module-name" value="bgp-dispatcher-impl"/>
-      <entry key="config-instance-name" value="global-bgp-dispatcher"/>
-    </service-properties>
-  </service>
+  <service ref="BGPDispatcher" interface="org.opendaylight.protocol.bgp.rib.impl.spi.BGPDispatcher"/>
 
   <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker" odl:type="pingpong"/>
   <reference id="globalBgpExtensions" interface="org.opendaylight.protocol.bgp.rib.spi.RIBExtensionConsumerContext"/>
index d740067a9bcdb2dd399650bc4b205459cc203508..7e85d72e067ed659cc9604c8d81281690d7b63d7 100644 (file)
       <value>org.opendaylight.protocol.bgp.rib.spi.RIBExtensionProviderContext</value>
       <value>org.opendaylight.protocol.bgp.rib.spi.RIBExtensionConsumerContext</value>
     </interfaces>
-    <!-- The following service properties specify the config system module and instance that correspond to
-         this OSGi service which enables the config system module to be restarted when this blueprint
-         container is restarted. -->
-    <service-properties>
-      <entry key="config-module-namespace" value="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi"/>
-      <entry key="config-module-name" value="bgp-rib-extensions-impl"/>
-      <entry key="config-instance-name" value="global-rib-extensions"/>
-    </service-properties>
   </service>
 </blueprint>
\ No newline at end of file
index cd45ccdaca45a5a715aaac491ec12a1d5e5abde1..07a9dbcaa8593bc591689bdca8ca1e4f7bb24c2e 100644 (file)
     <argument ref="bmpSessionFactory"/>
   </bean>
 
-  <service ref="bmpDispatcher" interface="org.opendaylight.protocol.bmp.api.BmpDispatcher">
-    <!-- The following service properties specify the config system module and instance that correspond to
-         this OSGi service which enables the config system module to be restarted when this blueprint
-         container is restarted. -->
-    <service-properties>
-      <entry key="config-module-namespace" value="urn:opendaylight:params:xml:ns:yang:controller:bmp:impl"/>
-      <entry key="config-module-name" value="bmp-dispatcher-impl"/>
-      <entry key="config-instance-name" value="global-bmp-dispatcher"/>
-    </service-properties>
-  </service>
+  <service ref="bmpDispatcher" interface="org.opendaylight.protocol.bmp.api.BmpDispatcher"/>
 
   <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker" odl:type="default"/>
   <reference id="domPingPongDataBroker" interface="org.opendaylight.controller.md.sal.dom.api.DOMDataBroker" odl:type="pingpong"/>
index 0b136ed219b81cd08f11868d00b7e65ab6588d82..3e7ac4fce2f2f5eec330004a9da1ee01f1cecb31 100644 (file)
@@ -5,18 +5,8 @@
     <bean id="Stateful07TopologySessionListenerFactory"
           class="org.opendaylight.bgpcep.pcep.topology.provider.Stateful07TopologySessionListenerFactory"/>
     <service ref="Stateful07TopologySessionListenerFactory"
-             interface="org.opendaylight.bgpcep.pcep.topology.provider.TopologySessionListenerFactory">
-        <!-- The following service properties specify the config system module and instance that correspond to
-             this OSGi service which enables the config system module to be restarted when this blueprint
-             container is restarted. -->
-        <service-properties>
-            <entry key="config-module-namespace"
-                   value="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider"/>
-            <entry key="config-module-name" value="pcep-topology-stateful07"/>
-            <entry key="config-instance-name" value="global"/>
-        </service-properties>
-    </service>
-
+             interface="org.opendaylight.bgpcep.pcep.topology.provider.TopologySessionListenerFactory"/>
+    
     <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
                odl:type="pingpong"/>
     <reference id="rpcRegistry" interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>