Code changes for Neon
[ccsdk/sli/plugins.git] / restconf-client / provider / src / main / resources / OSGI-INF / blueprint / restconf-client-blueprint.xml
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     <bean id="restconfapiCallNodeProvider" class="org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode" >
32         <argument ref="restapiCallNodeProvider"/>
33     </bean>
34
35     <bean id="restconfDiscoveryNodeProvider" class="org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode" >
36         <argument ref="restconfapiCallNodeProvider"/>
37     </bean>
38
39     <service ref="restconfapiCallNodeProvider">
40         <interfaces>
41             <value>org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode</value>
42         </interfaces>
43     </service>
44
45     <service ref="restconfDiscoveryNodeProvider">
46         <interfaces>
47             <value>org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode</value>
48         </interfaces>
49     </service>
50
51 </blueprint>