Fixed vnfapi install issue
[sdnc/northbound.git] / generic-resource-api / provider / src / main / resources / initial / generic-resource-api-provider.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <snapshot>
4     <configuration>
5         <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
6             <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
7                 <module>
8
9                     <!-- This xmlns:prefix should match the namespace in the *-provider-impl.yang file
10                          The prefix: inside type should match the prefix of the yang file. -->
11                     <type xmlns:prefix="org:onap:sdnc:northbound:GENERIC-RESOURCE-API:provider:impl">
12                         prefix:GENERIC-RESOURCE-API-provider-impl
13                     </type>
14                     <name>GENERIC-RESOURCE-API-provider-impl</name>
15
16                     <!--  The following sections contain bindings to services defined in the
17                           *-provider-impl yang file. For example the rpc-registry is required
18                           because we have a dependency (or augmentation) named "rpc-registry"
19                           and which binds to the md-sa-binding-registry. If you remove those
20                           dependencies from the yang file then you can remove them from here. -->
21                     <rpc-registry>
22                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-rpc-registry</type>
23                         <name>binding-rpc-broker</name>
24                     </rpc-registry>
25
26                     <data-broker>
27                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">binding:binding-async-data-broker</type>
28                         <name>binding-data-broker</name>
29                     </data-broker>
30
31                      <notification-service>
32                         <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
33                             binding:binding-new-notification-publish-service
34                         </type>
35                         <name>binding-notification-broker</name>
36                     </notification-service>
37                 </module>
38
39             </modules>
40         </data>
41
42     </configuration>
43
44     <!--  Required capabilities are basically a listing of all modules that need to be imported before
45           our service can be resolved. Capabilities for dependencies defined above are implied which is
46           why we do not have define a required capability for the data broker, for example. -->
47     <required-capabilities>
48         <capability>org:onap:sdnc:northbound:GENERIC-RESOURCE-API:provider:impl?module=GENERIC-RESOURCE-API-provider-impl&amp;revision=2017-08-24</capability>
49     </required-capabilities>
50
51 </snapshot>