Add blueprint wiring for restconf connector
[netconf.git] / restconf / sal-rest-connector-config / src / main / resources / initial / 10-restconf-service.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Brocade Communications Systems, Inc. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8
9 NOTE: This file is deprecated as wiring is now done via blueprint. This file is kept for backwards
10       compatibility and runtime modifications will not be honored.
11 -->
12 <snapshot>
13   <configuration>
14     <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
15       <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
16         <module>
17           <type xmlns:rest="urn:opendaylight:params:xml:ns:yang:controller:sal:restconf:service">rest:json-restconf-service-impl</type>
18           <name>json-restconf-service-impl</name>
19         </module>
20       </modules>
21
22       <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
23         <service>
24           <type xmlns:rest="urn:opendaylight:params:xml:ns:yang:controller:sal:restconf:service">rest:json-restconf-service</type>
25           <instance>
26             <name>json-restconf-service</name>
27             <provider>
28               /modules/module[type='json-restconf-service-impl'][name='json-restconf-service-impl']
29             </provider>
30           </instance>
31         </service>
32       </services>
33     </data>
34   </configuration>
35   <required-capabilities>
36     <capability>urn:opendaylight:params:xml:ns:yang:controller:sal:restconf:service?module=sal-restconf-service&amp;revision=2015-07-08</capability>
37     <capability>urn:opendaylight:params:xml:ns:yang:controller:md:sal:rest:connector?module=opendaylight-rest-connector&amp;revision=2014-07-24</capability>
38   </required-capabilities>
39 </snapshot>