Moving all files to root directory
[appc.git] / appc-provider / appc-provider-bundle / src / main / resources / initial / appc-provider.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   openECOMP : APP-C
5   ================================================================================
6   Copyright (C) 2017 AT&T Intellectual Property. All rights
7                                                 reserved.
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12   
13        http://www.apache.org/licenses/LICENSE-2.0
14   
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20   ============LICENSE_END=========================================================
21   -->
22
23 <!-- vi: set et smarttab sw=4 tabstop=4: -->
24 <snapshot>
25         <configuration>
26                 <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
27                         <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
28                                 <module>
29
30                                         <!-- This xmlns:prefix should match the namespace in the *-provider-impl.yang 
31                                                 file The prefix: inside type should match the prefix of the yang file. -->
32                                         <type xmlns:prefix="org:openecomp:appc:provider:impl">
33                                                 prefix:appc-provider-impl
34                                         </type>
35                                         <name>appc-provider-impl</name>
36
37                                         <!-- The following sections contain bindings to services defined in 
38                                                 the *-provider-impl yang file. For example the rpc-registry is required because 
39                                                 we have a dependency (or augmentation) named "rpc-registry" and which binds 
40                                                 to the md-sa-binding-registry. If you remove those dependencies from the 
41                                                 yang file then you can remove them from here. -->
42                                         <rpc-registry>
43                                                 <type
44                                                         xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
45                                                 <name>binding-rpc-broker</name>
46                                         </rpc-registry>
47
48                                         <data-broker>
49                                                 <type
50                                                         xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
51                                                 <name>binding-data-broker</name>
52                                         </data-broker>
53
54                                         <notification-service>
55                                                 <type
56                                                         xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">
57                                                         binding:binding-notification-service
58                                                 </type>
59                                                 <name>binding-notification-broker</name>
60                                         </notification-service>
61                                 </module>
62
63                                 <module>
64
65                                         <!-- This xmlns:prefix should match the namespace in the *-provider-impl.yang
66                                                 file The prefix: inside type should match the prefix of the yang file. -->
67                                         <type xmlns:prefix="org:openecomp:appc:provider:lcm:impl">
68                                                 prefix:appc-provider-lcm-impl
69                                         </type>
70                                         <name>appc-provider-lcm-impl</name>
71
72                                         <!-- The following sections contain bindings to services defined in
73                                                 the *-provider-impl yang file. For example the rpc-registry is required because
74                                                 we have a dependency (or augmentation) named "rpc-registry" and which binds
75                                                 to the md-sa-binding-registry. If you remove those dependencies from the
76                                                 yang file then you can remove them from here. -->
77                                         <rpc-registry>
78                                                 <type
79                                                                 xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
80                                                 <name>binding-rpc-broker</name>
81                                         </rpc-registry>
82
83                                         <data-broker>
84                                                 <type
85                                                                 xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
86                                                 <name>binding-data-broker</name>
87                                         </data-broker>
88
89                                         <notification-service>
90                                                 <type
91                                                                 xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">
92                                                         binding:binding-notification-service
93                                                 </type>
94                                                 <name>binding-notification-broker</name>
95                                         </notification-service>
96                                 </module>
97
98
99                         </modules>
100                 </data>
101
102         </configuration>
103
104         <!-- Required capabilities are basically a listing of all modules that need 
105                 to be imported before our service can be resolved. Capabilities for dependencies 
106                 defined above are implied which is why we do not have define a required capability 
107                 for the data broker, for example. -->
108         <!-- <required-capabilities> -->
109         <!-- <capability>appc:training:sample:provider:impl?module=sample-provider-impl&amp;revision=2014-05-23</capability> -->
110         <!-- </required-capabilities> -->
111         <required-capabilities>
112                 <capability>org:openecomp:appc:provider:impl?module=appc-provider-impl&amp;revision=2014-05-23
113                 </capability>
114                 <capability>org:openecomp:appc:provider:lcm:impl?module=appc-provider-lcm-impl&amp;revision=2016-01-08
115                 </capability>
116         </required-capabilities>
117
118 </snapshot>