20a3ab2b5b53a90b4aa46452279d0fd99f16a7bf
[ccsdk/sli.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START=======================================================
4  * ONAP - CCSDK
5  * ================================================================================
6  * Copyright (C) 2018 Huawei Technologies Co., Ltd. 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 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
23            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
24            odl:use-default-for-reference-types="true">
25
26     <reference xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
27                id="restapiCallNodeProvider"
28                interface="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode"
29                ext:proxy-method="classes"/>
30
31     <reference xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
32                id="yangParserFactory"
33                interface="org.opendaylight.yangtools.yang.parser.api.YangParserFactory"
34                ext:proxy-method="classes"/>
35            
36
37     <bean id="restconfapiCallNodeProvider" class="org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode" >
38         <argument ref="restapiCallNodeProvider"/>
39         <argument ref="yangParserFactory"/>
40     </bean>
41
42     <bean id="restconfDiscoveryNodeProvider" class="org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode" >
43         <argument ref="restconfapiCallNodeProvider"/>
44     </bean>
45
46     <service ref="restconfapiCallNodeProvider">
47         <interfaces>
48             <value>org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode</value>
49         </interfaces>
50     </service>
51
52     <service ref="restconfDiscoveryNodeProvider">
53         <interfaces>
54             <value>org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode</value>
55         </interfaces>
56     </service>
57
58 </blueprint>