aboutsummaryrefslogtreecommitdiffstats
path: root/optical-service/provider/src/main/resources/org/opendaylight/blueprint/optical-service-blueprint.xml
blob: b7338eb7487a36a7bd0a4eed3b08b68b84e94e40 (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
<?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.sdnc.northbound.OpticalServiceClient">
        <argument ref="svcLogicService" />
    </bean>

    <reference id="dataBroker"
               interface="org.opendaylight.mdsal.binding.api.DataBroker" />

    <reference id="notificationService"
               interface="org.opendaylight.mdsal.binding.api.NotificationPublishService" />

    <reference id="rpcRegistry"
               interface="org.opendaylight.mdsal.binding.api.RpcProviderService" />

    <bean id="provider" class="org.onap.sdnc.northbound.OpticalServiceProvider">
        <argument ref="dataBroker" />
        <argument ref="notificationService" />
        <argument ref="rpcRegistry" />
        <argument ref="client" />
    </bean>

</blueprint>