ORAN CMNotify Karaf Feature Development
[ccsdk/features.git] / sdnr / northbound / CMNotify / provider / src / main / resources / OSGI-INF / blueprint / impl-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
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.CMNotify.CMNotifyClient">
30         <argument ref="svcLogicService"/>
31     </bean>
32
33     <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
34                odl:type="default"/>
35
36     <reference id="notificationService"
37                interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"
38                odl:type="default"/>
39
40     <reference id="rpcRegistry" interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"
41                odl:type="default"/>
42
43     <bean id="provider" class="org.onap.ccsdk.features.sdnr.northbound.CMNotify.CMNotifyProvider">
44         <argument ref="dataBroker"/>
45         <argument ref="rpcRegistry"/>
46         <argument ref="notificationService"/>
47         <argument ref="client"/>
48     </bean>
49
50 </blueprint>