9cc6c39cac3effd3f547addf82a079385f165f77
[ccsdk/features.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2021 Wipro Limited.
7   ~ ================================================================================
8   ~ Licensed under the Apache License, Version 2.0 (the "License");
9   ~ you may not use this file except in compliance with the License.
10   ~ You may obtain a copy of the License at
11   ~
12   ~     http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~ Unless required by applicable law or agreed to in writing, software
15   ~ distributed under the License is distributed on an "AS IS" BASIS,
16   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~ See the License for the specific language governing permissions and
18   ~ limitations under the License.
19   ~ ============LICENSE_END=======================================================
20   ~
21   -->
22
23 <blueprint xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
24            xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" odl:use-default-for-reference-types="true">
25
26     <reference id="svcLogicService"
27                interface="org.onap.ccsdk.sli.core.sli.provider.SvcLogicService"/>
28
29     <bean id="client" class="org.onap.ccsdk.features.sdnr.northbound.ranSlice.RANSliceClient">
30         <argument ref="svcLogicService"/>
31     </bean>
32
33     <reference id="dataBroker"
34                interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
35
36     <reference id="domDataBroker"
37                interface="org.opendaylight.mdsal.dom.api.DOMDataBroker"/>
38
39     <reference id="notificationPublishService"
40                interface="org.opendaylight.mdsal.binding.api.NotificationPublishService" />
41
42     <reference id="rpcProviderRegistry"
43                interface="org.opendaylight.mdsal.binding.api.RpcProviderService" />
44
45     <bean id="provider" class="org.onap.ccsdk.features.sdnr.northbound.ranSlice.RANSliceProvider"
46         init-method="init" destroy-method="close">
47         <property name="dataBroker"  ref="dataBroker"/>
48         <property name="domDataBroker" ref="domDataBroker"/>
49         <property name="rpcProviderRegistry" ref="rpcProviderRegistry"/>
50         <property name="notificationPublishService" ref="notificationPublishService"/>
51         <property name="client" ref="client"/>
52     </bean>
53
54     <odl:rpc-implementation ref="provider"/>
55
56 </blueprint>