aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/so-components/service-instance-list-schema-dublin-moco.json
blob: f3b16dfe8c93230f0fe85a8d5b6eede5b47ebf63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[ {
  "request" : {
    "method" : "get",
    "uri" : "/aai/v14/nodes/service-instances/",
    "headers" : {
      "Authorization" : "Basic QUFJOkFBSQ==",
      "X-FromAppId" : "ONAP CLI",
      "Accept" : "application/json",
      "X-TransactionId" : "req-0bee3e0a-fa8a-43b4-965c-a1e91fd0dd8b",
      "Content-Type" : "application/json"
    },
    "json" : null
  },
  "response" : {
    "status" : 200,
    "json" : {
      "service-instance" : [ {
        "service-instance-id" : "11efdfa0-b4ef-43ac-901d-5f4195ad0c50",
        "service-instance-name" : "vlb_si_ewm_1",
        "environment-context" : "General_Revenue-Bearing",
        "workload-context" : "Production",
        "model-invariant-id" : "a1786c0b-c864-4202-a79d-babeb2af2924",
        "model-version-id" : "1d71f3c1-863c-48ca-92ce-3c1cb6cc5a06",
        "resource-version" : "1556780580114",
        "orchestration-status" : "Active",
        "relationship-list" : {
          "relationship" : [ {
            "related-to" : "project",
            "relationship-label" : "org.onap.relationships.inventory.Uses",
            "related-link" : "/aai/v14/business/projects/project/Project-Demonstration",
            "relationship-data" : [ {
              "relationship-key" : "project.project-name",
              "relationship-value" : "Project-Demonstration"
            } ]
          }, {
            "related-to" : "owning-entity",
            "relationship-label" : "org.onap.relationships.inventory.BelongsTo",
            "related-link" : "/aai/v14/business/owning-entities/owning-entity/35945688-7855-421e-a235-290e65b6eb13",
            "relationship-data" : [ {
              "relationship-key" : "owning-entity.owning-entity-id",
              "relationship-value" : "35945688-7855-421e-a235-290e65b6eb13"
            } ]
          }, {
            "related-to" : "generic-vnf",
            "relationship-label" : "org.onap.relationships.inventory.ComposedOf",
            "related-link" : "/aai/v14/network/generic-vnfs/generic-vnf/10cc4a6e-05d4-47de-94a3-f9e6fa88272e",
            "relationship-data" : [ {
              "relationship-key" : "generic-vnf.vnf-id",
              "relationship-value" : "10cc4a6e-05d4-47de-94a3-f9e6fa88272e"
            } ],
            "related-to-property" : [ {
              "property-key" : "generic-vnf.vnf-name",
              "property-value" : "vlb_vnf_ewm_1"
            } ]
          } ]
        }
      }, {
        "service-instance-id" : "1a221a01-1f49-475c-90c1-bcc161bf3046",
        "service-instance-name" : "test-instance",
        "environment-context" : "General_Revenue-Bearing",
        "workload-context" : "Production",
        "model-invariant-id" : "db2affd2-28b5-486f-9193-70698675e6fb",
        "model-version-id" : "a4c5c1ef-6d78-4fd3-907d-bfe51d0e5bda",
        "resource-version" : "1557173769891",
        "orchestration-status" : "Active",
        "relationship-list" : {
          "relationship" : [ {
            "related-to" : "project",
            "relationship-label" : "org.onap.relationships.inventory.Uses",
            "related-link" : "/aai/v14/business/projects/project/Project-Demonstration",
            "relationship-data" : [ {
              "relationship-key" : "project.project-name",
              "relationship-value" : "Project-Demonstration"
            } ]
          }, {
            "related-to" : "owning-entity",
            "relationship-label" : "org.onap.relationships.inventory.BelongsTo",
            "related-link" : "/aai/v14/business/owning-entities/owning-entity/35945688-7855-421e-a235-290e65b6eb13",
            "relationship-data" : [ {
              "relationship-key" : "owning-entity.owning-entity-id",
              "relationship-value" : "35945688-7855-421e-a235-290e65b6eb13"
            } ]
          }, {
            "related-to" : "generic-vnf",
            "relationship-label" : "org.onap.relationships.inventory.ComposedOf",
            "related-link" : "/aai/v14/network/generic-vnfs/generic-vnf/082db047-3a89-4bf4-8236-63d6ad77cf2a",
            "relationship-data" : [ {
              "relationship-key" : "generic-vnf.vnf-id",
              "relationship-value" : "082db047-3a89-4bf4-8236-63d6ad77cf2a"
            } ],
            "related-to-property" : [ {
              "property-key" : "generic-vnf.vnf-name",
              "property-value" : "vfw-hpa-vnf"
            } ]
          } ]
        }
      }, {
        "service-instance-id" : "d1eec0a8-394a-4ac2-a315-24c324139fb6",
        "service-instance-name" : "test",
        "environment-context" : "General_Revenue-Bearing",
        "workload-context" : "Production",
        "model-invariant-id" : "cc7d51eb-d8c1-478d-a6b2-8aebd87ee682",
        "model-version-id" : "411e4ce9-e316-4df1-a3d9-4a717d8aafdb",
        "resource-version" : "1556906296686",
        "orchestration-status" : "Active",
        "relationship-list" : {
          "relationship" : [ {
            "related-to" : "project",
            "relationship-label" : "org.onap.relationships.inventory.Uses",
            "related-link" : "/aai/v14/business/projects/project/Project-Demonstration",
            "relationship-data" : [ {
              "relationship-key" : "project.project-name",
              "relationship-value" : "Project-Demonstration"
            } ]
          }, {
            "related-to" : "owning-entity",
            "relationship-label" : "org.onap.relationships.inventory.BelongsTo",
            "related-link" : "/aai/v14/business/owning-entities/owning-entity/35945688-7855-421e-a235-290e65b6eb13",
            "relationship-data" : [ {
              "relationship-key" : "owning-entity.owning-entity-id",
              "relationship-value" : "35945688-7855-421e-a235-290e65b6eb13"
            } ]
          }, {
            "related-to" : "generic-vnf",
            "relationship-label" : "org.onap.relationships.inventory.ComposedOf",
            "related-link" : "/aai/v14/network/generic-vnfs/generic-vnf/ab0516f2-c8ba-4a2e-8d6e-f6d7a4cd89a0",
            "relationship-data" : [ {
              "relationship-key" : "generic-vnf.vnf-id",
              "relationship-value" : "ab0516f2-c8ba-4a2e-8d6e-f6d7a4cd89a0"
            } ],
            "related-to-property" : [ {
              "property-key" : "generic-vnf.vnf-name",
              "property-value" : "vfw-hpa-vnf"
            } ]
          }, {
            "related-to" : "generic-vnf",
            "relationship-label" : "org.onap.relationships.inventory.ComposedOf",
            "related-link" : "/aai/v14/network/generic-vnfs/generic-vnf/6ed28cda-43ba-49b6-8237-78d6c19acbc7",
            "relationship-data" : [ {
              "relationship-key" : "generic-vnf.vnf-id",
              "relationship-value" : "6ed28cda-43ba-49b6-8237-78d6c19acbc7"
            } ],
            "related-to-property" : [ {
              "property-key" : "generic-vnf.vnf-name",
              "property-value" : "vnf-2"
            } ]
          } ]
        }
      } ]
    }
  }
} ]