aboutsummaryrefslogtreecommitdiffstats
path: root/grToolkit/provider/src/main/resources/OSGI-INF/blueprint/GrToolkit.xml
blob: 5a4492c5628602f14bfa365f280861628b3935ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?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="dataBroker"
               interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
               odl:type="default" />

    <reference id="notificationService"
               interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"
               odl:type="default" />

    <reference id="rpcRegistry"
               interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"
               odl:type="default" />

    <reference id="dbLib"
               interface="org.onap.ccsdk.sli.core.dblib.DbLibService" />

    <reference id="configDatastore" interface="org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface"
               odl:type="distributed-config"/>

    <bean id="provider" class="org.onap.ccsdk.sli.plugins.grtoolkit.GrToolkitProvider">
        <argument ref="dataBroker" />
        <argument ref="notificationService" />
        <argument ref="rpcRegistry" />
        <argument ref="dbLib" />
        <argument ref="configDatastore" />
    </bean>

    <odl:rpc-implementation ref="provider"/>
</blueprint>