Fix dataBroker is null in northbound-routes 85/53885/1
authorShawn Lin <x.shawn.lin@gmail.com>
Mon, 27 Mar 2017 08:52:03 +0000 (16:52 +0800)
committerShawn Lin <x.shawn.lin@gmail.com>
Mon, 27 Mar 2017 08:52:03 +0000 (16:52 +0800)
Change-Id: I19050750b15174f9592aa701f3fc0a854ae0aff4
Signed-off-by: Shawn Lin <x.shawn.lin@gmail.com>
alto-core/standard-northbound-routes/costmap/impl/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml
alto-core/standard-northbound-routes/endpointcost/impl/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml
alto-core/standard-northbound-routes/endpointproperty/impl/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml
alto-core/standard-northbound-routes/networkmap/impl/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml

index f77c0ada5e35e62f1afb1f03f5352c91a1d2dc93..e387c4aaf6fb9705d729da3f3dfd68837aee704f 100644 (file)
@@ -12,9 +12,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   odl:use-default-for-reference-types="true">
   <odl:rpc-service id='altoModelCostmapService'
     interface='org.opendaylight.yang.gen.v1.urn.opendaylight.alto.service.model.costmap.rev151021.AltoModelCostmapService' />
+  <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/>
   <bean id="provider"
     class="org.opendaylight.alto.core.northbound.route.costmap.impl.AltoNorthboundRouteCostmap"
     init-method="init" destroy-method="close">
     <property name='mapService' ref='altoModelCostmapService' />
+    <property name="dataBroker" ref="dataBroker" />
   </bean>
 </blueprint>
index 19b750d418cebc44d214d8529d57f1fb474d6d9f..48d8b04ae9258051ceeea58c450c112d7e9e1764 100644 (file)
@@ -12,9 +12,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   odl:use-default-for-reference-types="true">
   <odl:rpc-service id='altoModelEndpointcostService'
     interface='org.opendaylight.yang.gen.v1.urn.opendaylight.alto.service.model.endpointcost.rev151021.AltoModelEndpointcostService' />
+  <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/>
   <bean id="provider"
     class="org.opendaylight.alto.core.northbound.route.endpointcost.impl.AltoNorthboundRouteEndpointcost"
     init-method="init" destroy-method="close">
     <property name='mapService' ref='altoModelEndpointcostService' />
+    <property name="dataBroker" ref="dataBroker" />
   </bean>
 </blueprint>
index 1fe21e5f07f7fc021e5098b42b66d6360876c51b..4b9fc8649c145d8732fd1fd64638c842592ecd78 100644 (file)
@@ -12,9 +12,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   odl:use-default-for-reference-types="true">
   <odl:rpc-service id='altoModelEndpointpropertyService'
     interface='org.opendaylight.yang.gen.v1.urn.opendaylight.alto.service.model.endpointproperty.rev151021.AltoModelEndpointpropertyService' />
+  <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/>
   <bean id="provider"
     class="org.opendaylight.alto.core.northbound.route.endpointproperty.impl.AltoNorthboundRouteEndpointproperty"
     init-method="init" destroy-method="close">
     <property name='mapService' ref='altoModelEndpointpropertyService' />
+    <property name="dataBroker" ref="dataBroker" />
   </bean>
 </blueprint>
index f274612614d7f0605095af7cdc34bea8358e7860..b248b4c92470b1ebe00f237bb01c989590e23ca9 100644 (file)
@@ -12,9 +12,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   odl:use-default-for-reference-types="true">
   <odl:rpc-service id='altoModelNetworkmapService'
     interface='org.opendaylight.yang.gen.v1.urn.opendaylight.alto.service.model.networkmap.rev151021.AltoModelNetworkmapService' />
+  <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/>
   <bean id="provider"
     class="org.opendaylight.alto.core.northbound.route.networkmap.impl.AltoNorthboundRouteNetworkmap"
     init-method="init" destroy-method="close">
     <property name='mapService' ref='altoModelNetworkmapService' />
+    <property name="dataBroker" ref="dataBroker" />
   </bean>
 </blueprint>