fix dmaap-listener startup and library
[sdnc/northbound.git] / asdcApi / model / src / main / yang / asdc-api-common.yang
1
2 module asdc-api-common {
3     yang-version "1";
4
5     // Use same namespace defined for file upload in 15.12
6     namespace "org:openecomp:sdnc:asdcapi:common";
7
8     prefix asdcapi;
9
10     organization
11         "OpenECOMP";
12
13     contact
14         "Dan Timoney";
15
16     description
17         "ASDC/SDN-C API common data";
18
19     revision 2017-02-01 {
20         description "Initial release";
21     }
22
23
24
25     // Groupings
26
27     grouping artifact-fields {
28         leaf artifact-name {
29             type string;
30             description "Name of artifact";
31         }
32
33         leaf artifact-version {
34             type string;
35             description "Version of artifact";
36         }
37     }
38
39     grouping asdc-api-response {
40         leaf asdc-api-response-code {
41             type string;
42             description "Code indicating success/failure";
43         }
44
45         leaf asdc-api-response-text {
46             type string;
47             description "Text indicating reason for failure";
48         }
49     }
50
51
52
53 }