72147364fda04071cfe4072a4e4b3c2ce9d9ef53
[ccsdk/features.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
7   ~ All rights reserved.
8   ~ ================================================================================
9   ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
10   ~ ================================================================================
11   ~ Licensed under the Apache License, Version 2.0 (the "License");
12   ~ you may not use this file except in compliance with the License.
13   ~ You may obtain a copy of the License at
14   ~
15   ~     http://www.apache.org/licenses/LICENSE-2.0
16   ~
17   ~ Unless required by applicable law or agreed to in writing, software
18   ~ distributed under the License is distributed on an "AS IS" BASIS,
19   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20   ~ See the License for the specific language governing permissions and
21   ~ limitations under the License.
22   ~ ============LICENSE_END=======================================================
23   ~
24   -->
25
26 <blueprint xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
27            xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" odl:use-default-for-reference-types="true">
28
29     <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"
30                odl:type="default"/>
31
32     <reference id="notificationPublishService"
33                interface="org.opendaylight.mdsal.binding.api.NotificationPublishService"
34                odl:type="default"/>
35
36     <reference id="mountPointService"
37                interface="org.opendaylight.mdsal.binding.api.MountPointService"
38                odl:type="default"/>
39
40     <reference id="rpcProviderRegistry"
41                interface="org.opendaylight.mdsal.binding.api.RpcProviderService"
42                odl:type="default"/>
43
44     <reference id="clusterSingletonService"
45                interface="org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider"/>
46
47     <reference id="iEntityDataProvider"
48                availability="mandatory" activation="eager"
49                interface="org.onap.ccsdk.features.sdnr.wt.dataprovider.model.IEntityDataProvider"/>
50
51     <bean id="netconfNodeStateService" class="org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.impl.NetconfNodeStateServiceImpl" init-method="init" destroy-method="destroy" scope="singleton">
52         <property name="dataBroker" ref="dataBroker"/>
53         <property name="rpcProviderRegistry" ref="rpcProviderRegistry"/>
54         <property name="notificationPublishService" ref="notificationPublishService"/>
55         <property name="mountPointService" ref="mountPointService"/>
56         <property name="clusterSingletonService" ref="clusterSingletonService"/>
57         <property name="entityDataProvider" ref="iEntityDataProvider"/>
58     </bean>
59
60     <service id="registerNetconfNodeStateService"
61              interface="org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfNodeStateService"
62              ref="netconfNodeStateService"/>
63
64 </blueprint>