Add cloud-region and nf-role as an optional search criteria
[vid.git] / vid-app-common / src / test / resources / payload_jsons / changeManagement / vnfs-fromServiceInstance-filterByCloudRegion.json
1 {
2    "results": [
3       {
4       "id": "1165906024",
5       "node-type": "service-instance",
6       "url": "/aai/v17/business/customers/customer/globalCustomerId1-360-as988q/service-subscriptions/service-subscription/TEST1-360/service-instances/service-instance/serviceInstanceID1-360-as988q",
7       "properties":       {
8          "service-instance-id": "serviceInstanceID1-360-as988q",
9          "service-instance-name": "EUd8Test",
10          "service-type": "xBoJHJbWTest",
11          "service-role": "sc7OWTest",
12          "environment-context": "O7OVp5Test",
13          "workload-context": "VmnxNeJIgWq7HTest",
14          "model-invariant-id": "modelInvariantValue2-360-as988q",
15          "model-version-id": "modelVersionKey2-360-as988q",
16          "widget-model-id": "HT7KA2FoRKH3cTest",
17          "widget-model-version": "CsGp5Test",
18          "bandwidth-total": "1Yijkk1Test",
19          "vhn-portal-url": "40PzTest",
20          "service-instance-location-id": "zcAaHJTAt5Hj8Test",
21          "resource-version": "1563819746503",
22          "selflink": "mZP2EVvwwHnlTest",
23          "orchestration-status": "6QvhzNgLudLBTest"
24       },
25       "related-to":       [
26                   {
27             "id": "848404488",
28             "relationship-label": "org.onap.relationships.inventory.ComposedOf",
29             "node-type": "generic-vnf",
30             "url": "/aai/v17/network/generic-vnfs/generic-vnf/test-gvnf2-360-as988q"
31          },
32                   {
33             "id": "890142720",
34             "relationship-label": "org.onap.relationships.inventory.ComposedOf",
35             "node-type": "generic-vnf",
36             "url": "/aai/v17/network/generic-vnfs/generic-vnf/test-gvnf1-360-as988q"
37          },
38                   {
39             "id": "439140528",
40             "relationship-label": "org.onap.relationships.inventory.BelongsTo",
41             "node-type": "service-subscription",
42             "url": "/aai/v17/business/customers/customer/globalCustomerId1-360-as988q/service-subscriptions/service-subscription/TEST1-360"
43          }
44       ]
45    },
46       {
47       "id": "439132336",
48       "node-type": "model-ver",
49       "url": "/aai/v17/service-design-and-creation/models/model/modelInvariantValue2-360-as988q/model-vers/model-ver/modelVersionKey2-360-as988q",
50       "properties":       {
51          "model-version-id": "modelVersionKey2-360-as988q",
52          "model-name": "vnfc8",
53          "model-version": "1.1",
54          "resource-version": "1563819746176"
55       },
56       "related-to": [      {
57          "id": "908283976",
58          "relationship-label": "org.onap.relationships.inventory.BelongsTo",
59          "node-type": "model",
60          "url": "/aai/v17/service-design-and-creation/models/model/modelInvariantValue2-360-as988q"
61       }]
62    },
63       {
64       "id": "908283976",
65       "node-type": "model",
66       "url": "/aai/v17/service-design-and-creation/models/model/modelInvariantValue2-360-as988q",
67       "properties":       {
68          "model-invariant-id": "modelInvariantValue2-360-as988q",
69          "model-type": "widget3",
70          "resource-version": "1563819745871"
71       },
72       "related-to": [      {
73          "id": "439132336",
74          "relationship-label": "org.onap.relationships.inventory.BelongsTo",
75          "node-type": "model-ver",
76          "url": "/aai/v17/service-design-and-creation/models/model/modelInvariantValue2-360-as988q/model-vers/model-ver/modelVersionKey2-360-as988q"
77       }]
78    },
79       {
80       "id": "890142720",
81       "node-type": "generic-vnf",
82       "url": "/aai/v17/network/generic-vnfs/generic-vnf/test-gvnf1-360-as988q",
83       "properties":       {
84          "vnf-id": "test-gvnf1-360-as988q",
85          "vnf-name": "test-name-gvnf-360",
86          "vnf-type": "SW",
87          "service-id": "d7bb0a21-66f2-4e6d-87d9-9ef3ced63ae4",
88          "equipment-role": "UCPE",
89          "orchestration-status": "created",
90          "ipv4-oam-address": "12.80.1.18",
91          "nm-lan-v6-address": "2001:1890:e00e:fffe::33c4",
92          "in-maint": false,
93          "is-closed-loop-disabled": false,
94          "resource-version": "1563819747496",
95          "model-invariant-id": "modelInvariantValue-360-as988q",
96          "model-version-id": "modelVersionKey-360-as988q",
97          "nf-role": "test360"
98       },
99       "related-to":       [
100                   {
101             "id": "1165906024",
102             "relationship-label": "org.onap.relationships.inventory.ComposedOf",
103             "node-type": "service-instance",
104             "url": "/aai/v17/business/customers/customer/globalCustomerId1-360-as988q/service-subscriptions/service-subscription/TEST1-360/service-instances/service-instance/serviceInstanceID1-360-as988q"
105          },
106                   {
107             "id": "848400392",
108             "relationship-label": "tosca.relationships.HostedOn",
109             "node-type": "vserver",
110             "url": "/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloudOwnerKeyValue1-360-as988q/cloudRegionIdKeyValue1-360-as988q/tenants/tenant/tenantID1-360-as988q/vservers/vserver/vserver1-360-test-as988q"
111          }
112       ]
113    },
114       {
115       "id": "1054167104",
116       "node-type": "model-ver",
117       "url": "/aai/v17/service-design-and-creation/models/model/modelInvariantValue-360-as988q/model-vers/model-ver/modelVersionKey-360-as988q",
118       "properties":       {
119          "model-version-id": "modelVersionKey-360-as988q",
120          "model-name": "vnfc8",
121          "model-version": "1.1",
122          "resource-version": "1563819745556"
123       },
124       "related-to": [      {
125          "id": "1054163008",
126          "relationship-label": "org.onap.relationships.inventory.BelongsTo",
127          "node-type": "model",
128          "url": "/aai/v17/service-design-and-creation/models/model/modelInvariantValue-360-as988q"
129       }]
130    },
131       {
132       "id": "1054163008",
133       "node-type": "model",
134       "url": "/aai/v17/service-design-and-creation/models/model/modelInvariantValue-360-as988q",
135       "properties":       {
136          "model-invariant-id": "modelInvariantValue-360-as988q",
137          "model-type": "service",
138          "resource-version": "1563819745252"
139       },
140       "related-to": [      {
141          "id": "1054167104",
142          "relationship-label": "org.onap.relationships.inventory.BelongsTo",
143          "node-type": "model-ver",
144          "url": "/aai/v17/service-design-and-creation/models/model/modelInvariantValue-360-as988q/model-vers/model-ver/modelVersionKey-360-as988q"
145       }]
146    },
147       {
148       "id": "521560160",
149       "node-type": "tenant",
150       "url": "/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloudOwnerKeyValue1-360-as988q/cloudRegionIdKeyValue1-360-as988q/tenants/tenant/tenantID1-360-as988q",
151       "properties":       {
152          "tenant-id": "tenantID1-360-as988q",
153          "tenant-name": "tenant-name1-360-as988q",
154          "resource-version": "1563819744626"
155       },
156       "related-to":       [
157                   {
158             "id": "848400392",
159             "relationship-label": "org.onap.relationships.inventory.BelongsTo",
160             "node-type": "vserver",
161             "url": "/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloudOwnerKeyValue1-360-as988q/cloudRegionIdKeyValue1-360-as988q/tenants/tenant/tenantID1-360-as988q/vservers/vserver/vserver1-360-test-as988q"
162          },
163                   {
164             "id": "1165901928",
165             "relationship-label": "org.onap.relationships.inventory.BelongsTo",
166             "node-type": "cloud-region",
167             "url": "/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloudOwnerKeyValue1-360-as988q/cloudRegionIdKeyValue1-360-as988q"
168          }
169       ]
170    },
171       {
172       "id": "1165901928",
173       "node-type": "cloud-region",
174       "url": "/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloudOwnerKeyValue1-360-as988q/cloudRegionIdKeyValue1-360-as988q",
175       "properties":       {
176          "cloud-owner": "cloudOwnerKeyValue1-360-as988q",
177          "cloud-region-id": "cloudRegionIdKeyValue1-360-as988q",
178          "resource-version": "1563819744324",
179          "orchestration-disabled": false,
180          "in-maint": false
181       },
182       "related-to": [      {
183          "id": "521560160",
184          "relationship-label": "org.onap.relationships.inventory.BelongsTo",
185          "node-type": "tenant",
186          "url": "/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloudOwnerKeyValue1-360-as988q/cloudRegionIdKeyValue1-360-as988q/tenants/tenant/tenantID1-360-as988q"
187       }]
188    }
189 ]}