Merge of new rebased code
[appc.git] / appc-oam / appc-oam-bundle / src / main / resources / initial / appc-oam.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 *-oam-impl.yang
31                                                 file The prefix: inside type should match the prefix of the yang file. -->
32                                         <type xmlns:prefix="org:openecomp:appc:oam:impl">
33                                                 prefix:appc-oam-impl
34                                         </type>
35                                         <name>appc-oam-impl</name>
36
37                                         <!-- The following sections contain bindings to services defined in 
38                                                 the *-oam-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                         </modules>
64                 </data>
65
66         </configuration>
67
68         <!-- Required capabilities are basically a listing of all modules that need 
69                 to be imported before our service can be resolved. Capabilities for dependencies 
70                 defined above are implied which is why we do not have define a required capability 
71                 for the data broker, for example. -->
72         <required-capabilities>
73                 <capability>org:openecomp:appc:oam:impl?module=appc-oam-impl&amp;revision=2017-03-03
74                 </capability>
75         </required-capabilities>
76
77 </snapshot>