aboutsummaryrefslogtreecommitdiffstats
path: root/asdcApi/provider/src/main/resources/org/opendaylight/blueprint/asdc-blueprint.xml
diff options
context:
space:
mode:
authorRyan Goulding <ryandgoulding@gmail.com>2017-09-07 12:10:08 -0400
committerRyan Goulding <ryandgoulding@gmail.com>2017-09-07 14:26:03 -0400
commit8881ebb497e9f35e5ea9d19923fd926db56e8f12 (patch)
treefbf0998d26cd0d6b159e60c699476428387259e3 /asdcApi/provider/src/main/resources/org/opendaylight/blueprint/asdc-blueprint.xml
parent6ece0d9a4466984c4f03852336bae09a7cd1dc8d (diff)
Fix SDNC service registration
This change converts AsdcApiProvider and AsdcApiSliClient to utilize Aries Blueprint for service instantiation instead of the ODL Config Subsystem. Change-Id: I5eaebe4c6e5b33fc8beb20b2cfe9acb6e8b6d808 Issue-Id: SDNC-54 Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Diffstat (limited to 'asdcApi/provider/src/main/resources/org/opendaylight/blueprint/asdc-blueprint.xml')
-rw-r--r--asdcApi/provider/src/main/resources/org/opendaylight/blueprint/asdc-blueprint.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/asdcApi/provider/src/main/resources/org/opendaylight/blueprint/asdc-blueprint.xml b/asdcApi/provider/src/main/resources/org/opendaylight/blueprint/asdc-blueprint.xml
new file mode 100644
index 00000000..6229db1f
--- /dev/null
+++ b/asdcApi/provider/src/main/resources/org/opendaylight/blueprint/asdc-blueprint.xml
@@ -0,0 +1,32 @@
+<?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"
+ odl:use-default-for-reference-types="true">
+
+ <reference id="svcLogicService"
+ interface="org.onap.ccsdk.sli.core.sli.provider.SvcLogicService" />
+
+ <bean id="client" class="org.onap.ccsdk.sli.northbound.asdcapi.AsdcApiSliClient">
+ <argument ref="svcLogicService" />
+ </bean>
+
+ <reference id="dataBroker"
+ interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
+ odl:type="default" />
+
+ <reference id="notificationService"
+ interface="org.opendaylight.controller.sal.binding.api.NotificationProviderService"
+ odl:type="default" />
+
+ <reference id="rpcRegistry"
+ interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"
+ odl:type="default" />
+
+ <bean id="provider" class="org.onap.ccsdk.sli.northbound.asdcapi.AsdcApiProvider">
+ <argument ref="dataBroker" />
+ <argument ref="notificationService" />
+ <argument ref="rpcRegistry" />
+ <argument ref="client" />
+ </bean>
+
+</blueprint> \ No newline at end of file