1 package org.onap.simulator.presetGenerator.presets.aai;
3 public class PresetAAIGetL3NetworksByCloudRegionSpecificState extends AAIBaseGetL3NetworksByCloudRegionPreset {
4 private int stateNum = 1;
6 public PresetAAIGetL3NetworksByCloudRegionSpecificState(int stateNum) {
8 this.stateNum = stateNum;
11 public PresetAAIGetL3NetworksByCloudRegionSpecificState(String cloudOwner, String cloudRegionId, String tenantId) {
12 super(tenantId, null, cloudRegionId, cloudOwner, null);
16 public Object getResponseBody() {
23 private static final String STATE_1 = "{ "
25 + " \"l3-network\": { "
26 + " \"network-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861131\", "
27 + " \"network-name\": \"AUK51a_oam_calea_net_0\", "
28 + " \"network-type\": \"SR-IOV-PROVIDER2-0\", "
29 + " \"network-role\": \"oam_calea_net_0\", "
30 + " \"network-technology\": \"STANDARD-SR-IOV\", "
31 + " \"is-bound-to-vpn\": true, "
32 + " \"resource-version\": \"1540925016770\", "
33 + " \"orchestration-status\": \"Active\", "
34 + " \"model-invariant-id\": \"b9a9b549-0ee4-49fc-b4f2-5edc6701da68\", "
35 + " \"model-version-id\": \"77010093-df36-4dcb-8428-c3d02bf3f88d\", "
36 + " \"model-customization-id\": \"e5f33853-f84c-4cdd-99f2-93846957aa18\", "
37 + " \"physical-network-name\": \"sriovnet0\", "
38 + " \"is-provider-network\": true, "
39 + " \"is-shared-network\": true, "
40 + " \"is-external-network\": false, "
41 + " \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/ddd91e3d-7cd1-4010-958d-94c729937d2d/service-data/networks/network/dbd80094-df1a-4831-8699-a96949dbca5c/network-data/network-topology/\", "
42 + " \"relationship-list\": { "
43 + " \"relationship\": [{ "
44 + " \"related-to\": \"service-instance\", "
45 + " \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\", "
46 + " \"related-link\": \"/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/ddd91e3d-7cd1-4010-958d-94c729937d2d\", "
47 + " \"relationship-data\": [{ "
48 + " \"relationship-key\": \"customer.global-customer-id\", "
49 + " \"relationship-value\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\" "
51 + " \"relationship-key\": \"service-subscription.service-type\", "
52 + " \"relationship-value\": \"Emanuel\" "
54 + " \"relationship-key\": \"service-instance.service-instance-id\", "
55 + " \"relationship-value\": \"1c98917b-8255-43c6-98f1-7a2942e75ce1\" "
58 + " \"related-to-property\": [{ "
59 + " \"property-key\": \"service-instance.service-instance-name\", "
60 + " \"property-value\": \"AUK51a_oam_calea_net_service_0\" "
64 + " \"related-to\": \"tenant\", "
65 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
66 + " \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51\", "
67 + " \"relationship-data\": [{ "
68 + " \"relationship-key\": \"cloud-region.cloud-owner\", "
69 + " \"relationship-value\": \"att-nc\" "
71 + " \"relationship-key\": \"cloud-region.cloud-region-id\", "
72 + " \"relationship-value\": \"auk51a\" "
74 + " \"relationship-key\": \"tenant.tenant-id\", "
75 + " \"relationship-value\": \"b530fc990b6d4334bd45518bebca6a51\" "
78 + " \"related-to-property\": [{ "
79 + " \"property-key\": \"tenant.tenant-name\", "
80 + " \"property-value\": \"ecomp_ispt\" "
84 + " \"related-to\": \"cloud-region\", "
85 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
86 + " \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a\", "
87 + " \"relationship-data\": [{ "
88 + " \"relationship-key\": \"cloud-region.cloud-owner\", "
89 + " \"relationship-value\": \"att-nc\" "
91 + " \"relationship-key\": \"cloud-region.cloud-region-id\", "
92 + " \"relationship-value\": \"auk51a\" "
95 + " \"related-to-property\": [{ "
96 + " \"property-key\": \"cloud-region.owner-defined-type\", "
97 + " \"property-value\": \"lcp\" "
101 + " \"related-to\": \"vpn-binding\", "
102 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
103 + " \"related-link\": \"/aai/v14/network/vpn-bindings/vpn-binding/3e7834fb-a8e0-4243-a837-5352ccab4602\", "
104 + " \"relationship-data\": [{ "
105 + " \"relationship-key\": \"vpn-binding.vpn-id\", "
106 + " \"relationship-value\": \"3e7834fb-a8e0-4243-a837-5352ccab4602\" "
109 + " \"related-to-property\": [{ "
110 + " \"property-key\": \"vpn-binding.vpn-name\", "
111 + " \"property-value\": \"LPPVPN\" "
113 + " \"property-key\": \"vpn-binding.vpn-type\", "
114 + " \"property-value\": \"CUSTOMER\" "
122 + " \"l3-network\": { "
123 + " \"network-id\": \"b45cdb14-7a80-4ebd-b979-b1d7c7620851\", "
124 + " \"network-name\": \"AUK51a_oam_calea_net_1\", "
125 + " \"network-type\": \"SR-IOV-PROVIDER2-1\", "
126 + " \"network-role\": \"oam_calea_net_1\", "
127 + " \"network-technology\": \"STANDARD-SR-IOV\", "
128 + " \"is-bound-to-vpn\": true, "
129 + " \"resource-version\": \"1540925016770\", "
130 + " \"orchestration-status\": \"Active\", "
131 + " \"model-invariant-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861135\", "
132 + " \"model-version-id\": \"77010093-df36-4dcb-8428-c3d02bf3f88d\", "
133 + " \"model-customization-id\": \"3b45cdb14-7a80-4ebd-b979-b1d7c7620851\", "
134 + " \"physical-network-name\": \"sriovnet1\", "
135 + " \"is-provider-network\": true, "
136 + " \"is-shared-network\": true, "
137 + " \"is-external-network\": false, "
138 + " \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/ee1b756e-3c9c-4ee0-974b-6218f377b20d/service-data/networks/network/fa1d9589-478d-41ea-96e6-39714ddc6aa5/network-data/network-topology/\", "
139 + " \"relationship-list\": { "
140 + " \"relationship\": [{ "
141 + " \"related-to\": \"service-instance\", "
142 + " \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\", "
143 + " \"related-link\": \"/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/ee1b756e-3c9c-4ee0-974b-6218f377b20d\", "
144 + " \"relationship-data\": [{ "
145 + " \"relationship-key\": \"customer.global-customer-id\", "
146 + " \"relationship-value\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\" "
148 + " \"relationship-key\": \"service-subscription.service-type\", "
149 + " \"relationship-value\": \"Emanuel\" "
151 + " \"relationship-key\": \"service-instance.service-instance-id\", "
152 + " \"relationship-value\": \"fc21e453-7ff4-438e-bc69-df1f9474b00a\" "
155 + " \"related-to-property\": [{ "
156 + " \"property-key\": \"service-instance.service-instance-name\", "
157 + " \"property-value\": \"AUK51a_oam_calea_net_service_1\" "
161 + " \"related-to\": \"tenant\", "
162 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
163 + " \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51\", "
164 + " \"relationship-data\": [{ "
165 + " \"relationship-key\": \"cloud-region.cloud-owner\", "
166 + " \"relationship-value\": \"att-nc\" "
168 + " \"relationship-key\": \"cloud-region.cloud-region-id\", "
169 + " \"relationship-value\": \"auk51a\" "
171 + " \"relationship-key\": \"tenant.tenant-id\", "
172 + " \"relationship-value\": \"b530fc990b6d4334bd45518bebca6a51\" "
175 + " \"related-to-property\": [{ "
176 + " \"property-key\": \"tenant.tenant-name\", "
177 + " \"property-value\": \"ecomp_ispt\" "
181 + " \"related-to\": \"cloud-region\", "
182 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
183 + " \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a\", "
184 + " \"relationship-data\": [{ "
185 + " \"relationship-key\": \"cloud-region.cloud-owner\", "
186 + " \"relationship-value\": \"att-nc\" "
188 + " \"relationship-key\": \"cloud-region.cloud-region-id\", "
189 + " \"relationship-value\": \"auk51a\" "
192 + " \"related-to-property\": [{ "
193 + " \"property-key\": \"cloud-region.owner-defined-type\", "
194 + " \"property-value\": \"lcp\" "
198 + " \"related-to\": \"vpn-binding\", "
199 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
200 + " \"related-link\": \"/aai/v14/network/vpn-bindings/vpn-binding/3e7834fb-a8e0-4243-a837-5352ccab4602\", "
201 + " \"relationship-data\": [{ "
202 + " \"relationship-key\": \"vpn-binding.vpn-id\", "
203 + " \"relationship-value\": \"3e7834fb-a8e0-4243-a837-5352ccab4602\" "
206 + " \"related-to-property\": [{ "
207 + " \"property-key\": \"vpn-binding.vpn-name\", "
208 + " \"property-value\": \"LPPVPN\" "
210 + " \"property-key\": \"vpn-binding.vpn-type\", "
211 + " \"property-value\": \"CUSTOMER\" "
219 + " \"l3-network\": { "
220 + " \"network-id\": \"10a74149-c9d7-4918-bbcf-d5fb9b1799ce\", "
221 + " \"network-name\": \"AUK51a_oam_calea_net_2\", "
222 + " \"network-type\": \"SR-IOV-PROVIDER2-2\", "
223 + " \"network-role\": \"oam_calea_net_2\", "
224 + " \"network-technology\": \"STANDARD-SR-IOV\", "
225 + " \"is-bound-to-vpn\": true, "
226 + " \"resource-version\": \"1540925016770\", "
227 + " \"orchestration-status\": \"Active\", "
228 + " \"model-invariant-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861135\", "
229 + " \"model-version-id\": \"77010093-df36-4dcb-8428-c3d02bf3f88d\", "
230 + " \"model-customization-id\": \"10a74149-c9d7-4918-bbcf-d5fb9b1799ce\", "
231 + " \"physical-network-name\": \"sriovnet2\", "
232 + " \"is-provider-network\": true, "
233 + " \"is-shared-network\": true, "
234 + " \"is-external-network\": false, "
235 + " \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/315ccdb4-5a11-499f-95dc-25ae4be37dad/service-data/networks/network/2d4f97f5-702a-4707-b9e5-aa9d3e35deeb/network-data/network-topology/\", "
236 + " \"relationship-list\": { "
237 + " \"relationship\": [{ "
238 + " \"related-to\": \"service-instance\", "
239 + " \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\", "
240 + " \"related-link\": \"/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/315ccdb4-5a11-499f-95dc-25ae4be37dad\", "
241 + " \"relationship-data\": [{ "
242 + " \"relationship-key\": \"customer.global-customer-id\", "
243 + " \"relationship-value\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\" "
245 + " \"relationship-key\": \"service-subscription.service-type\", "
246 + " \"relationship-value\": \"Emanuel\" "
248 + " \"relationship-key\": \"service-instance.service-instance-id\", "
249 + " \"relationship-value\": \"b28d8a84-7d93-4b56-b525-c239c1e780a4\" "
252 + " \"related-to-property\": [{ "
253 + " \"property-key\": \"service-instance.service-instance-name\", "
254 + " \"property-value\": \"AUK51a_oam_calea_net_service_2\" "
258 + " \"related-to\": \"tenant\", "
259 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
260 + " \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51\", "
261 + " \"relationship-data\": [{ "
262 + " \"relationship-key\": \"cloud-region.cloud-owner\", "
263 + " \"relationship-value\": \"att-nc\" "
265 + " \"relationship-key\": \"cloud-region.cloud-region-id\", "
266 + " \"relationship-value\": \"auk51a\" "
268 + " \"relationship-key\": \"tenant.tenant-id\", "
269 + " \"relationship-value\": \"b530fc990b6d4334bd45518bebca6a51\" "
272 + " \"related-to-property\": [{ "
273 + " \"property-key\": \"tenant.tenant-name\", "
274 + " \"property-value\": \"ecomp_ispt\" "
278 + " \"related-to\": \"cloud-region\", "
279 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
280 + " \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a\", "
281 + " \"relationship-data\": [{ "
282 + " \"relationship-key\": \"cloud-region.cloud-owner\", "
283 + " \"relationship-value\": \"att-nc\" "
285 + " \"relationship-key\": \"cloud-region.cloud-region-id\", "
286 + " \"relationship-value\": \"auk51a\" "
289 + " \"related-to-property\": [{ "
290 + " \"property-key\": \"cloud-region.owner-defined-type\", "
291 + " \"property-value\": \"lcp\" "
295 + " \"related-to\": \"vpn-binding\", "
296 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
297 + " \"related-link\": \"/aai/v14/network/vpn-bindings/vpn-binding/3e7834fb-a8e0-4243-a837-5352ccab4602\", "
298 + " \"relationship-data\": [{ "
299 + " \"relationship-key\": \"vpn-binding.vpn-id\", "
300 + " \"relationship-value\": \"3e7834fb-a8e0-4243-a837-5352ccab4602\" "
303 + " \"related-to-property\": [{ "
304 + " \"property-key\": \"vpn-binding.vpn-name\", "
305 + " \"property-value\": \"LPPVPN\" "
307 + " \"property-key\": \"vpn-binding.vpn-type\", "
308 + " \"property-value\": \"CUSTOMER\" "
316 + " \"l3-network\": { "
317 + " \"network-id\": \"95380967-0f1c-41e9-a47f-9baa3f90860c\", "
318 + " \"network-name\": \"AUK51a_oam_calea_net_3\", "
319 + " \"network-type\": \"SR-IOV-PROVIDER2-3\", "
320 + " \"network-role\": \"oam_calea_net_3\", "
321 + " \"network-technology\": \"STANDARD-SR-IOV\", "
322 + " \"is-bound-to-vpn\": true, "
323 + " \"resource-version\": \"1540925016770\", "
324 + " \"orchestration-status\": \"Active\", "
325 + " \"model-invariant-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861135\", "
326 + " \"model-version-id\": \"77010093-df36-4dcb-8428-c3d02bf3f88d\", "
327 + " \"model-customization-id\": \"95380967-0f1c-41e9-a47f-9baa3f90860c\", "
328 + " \"physical-network-name\": \"sriovnet3\", "
329 + " \"is-provider-network\": true, "
330 + " \"is-shared-network\": true, "
331 + " \"is-external-network\": false, "
332 + " \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/c44ad6cc-639a-4c6b-a327-583afd656a0d/service-data/networks/network/cf18fbb3-ddcb-4774-bd30-e0e895c0e35e/network-data/network-topology/\", "
333 + " \"relationship-list\": { "
334 + " \"relationship\": [{ "
335 + " \"related-to\": \"service-instance\", "
336 + " \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\", "
337 + " \"related-link\": \"/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/c44ad6cc-639a-4c6b-a327-583afd656a0d\", "
338 + " \"relationship-data\": [{ "
339 + " \"relationship-key\": \"customer.global-customer-id\", "
340 + " \"relationship-value\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\" "
342 + " \"relationship-key\": \"service-subscription.service-type\", "
343 + " \"relationship-value\": \"Emanuel\" "
345 + " \"relationship-key\": \"service-instance.service-instance-id\", "
346 + " \"relationship-value\": \"f09bbb55-8942-4621-892f-4690a8e5570a\" "
349 + " \"related-to-property\": [{ "
350 + " \"property-key\": \"service-instance.service-instance-name\", "
351 + " \"property-value\": \"AUK51a_oam_calea_net_service_3\" "
355 + " \"related-to\": \"tenant\", "
356 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
357 + " \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51\", "
358 + " \"relationship-data\": [{ "
359 + " \"relationship-key\": \"cloud-region.cloud-owner\", "
360 + " \"relationship-value\": \"att-nc\" "
362 + " \"relationship-key\": \"cloud-region.cloud-region-id\", "
363 + " \"relationship-value\": \"auk51a\" "
365 + " \"relationship-key\": \"tenant.tenant-id\", "
366 + " \"relationship-value\": \"b530fc990b6d4334bd45518bebca6a51\" "
369 + " \"related-to-property\": [{ "
370 + " \"property-key\": \"tenant.tenant-name\", "
371 + " \"property-value\": \"ecomp_ispt\" "
375 + " \"related-to\": \"cloud-region\", "
376 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
377 + " \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a\", "
378 + " \"relationship-data\": [{ "
379 + " \"relationship-key\": \"cloud-region.cloud-owner\", "
380 + " \"relationship-value\": \"att-nc\" "
382 + " \"relationship-key\": \"cloud-region.cloud-region-id\", "
383 + " \"relationship-value\": \"auk51a\" "
386 + " \"related-to-property\": [{ "
387 + " \"property-key\": \"cloud-region.owner-defined-type\", "
388 + " \"property-value\": \"lcp\" "
392 + " \"related-to\": \"vpn-binding\", "
393 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
394 + " \"related-link\": \"/aai/v14/network/vpn-bindings/vpn-binding/3e7834fb-a8e0-4243-a837-5352ccab4602\", "
395 + " \"relationship-data\": [{ "
396 + " \"relationship-key\": \"vpn-binding.vpn-id\", "
397 + " \"relationship-value\": \"3e7834fb-a8e0-4243-a837-5352ccab4602\" "
400 + " \"related-to-property\": [{ "
401 + " \"property-key\": \"vpn-binding.vpn-name\", "
402 + " \"property-value\": \"LPPVPN\" "
404 + " \"property-key\": \"vpn-binding.vpn-type\", "
405 + " \"property-value\": \"CUSTOMER\" "
413 + " \"l3-network\": { "
414 + " \"network-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861135\", "
415 + " \"network-name\": \"AUK51a_oam_calea_net_0\", "
416 + " \"network-type\": \"SR-IOV-PROVIDER2-0\", "
417 + " \"network-technology\": \"STANDARD-SR-IOV\", "
418 + " \"is-bound-to-vpn\": true, "
419 + " \"resource-version\": \"1540925016770\", "
420 + " \"orchestration-status\": \"Active\", "
421 + " \"model-invariant-id\": \"3b3308d4-0cd3-43e4-9a7b-d1925c861135\", "
422 + " \"model-version-id\": \"77010093-df36-4dcb-8428-c3d02bf3f88d\", "
423 + " \"model-customization-id\": \"95380967-0f1c-41e9-a47f-9baa3f90860c\", "
424 + " \"physical-network-name\": \"sriovnet0\", "
425 + " \"is-provider-network\": true, "
426 + " \"is-shared-network\": true, "
427 + " \"is-external-network\": false, "
428 + " \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/74141179-b5b9-4383-aab4-45f5b9f70127/service-data/networks/network/62cecd1b-f4bf-4e16-add9-2b6f5181e595/network-data/network-topology/\", "
429 + " \"relationship-list\": { "
430 + " \"relationship\": [{ "
431 + " \"related-to\": \"service-instance\", "
432 + " \"relationship-label\": \"org.onap.relationships.inventory.ComposedOf\", "
433 + " \"related-link\": \"/aai/v14/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/74141179-b5b9-4383-aab4-45f5b9f70127\", "
434 + " \"relationship-data\": [{ "
435 + " \"relationship-key\": \"customer.global-customer-id\", "
436 + " \"relationship-value\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\" "
438 + " \"relationship-key\": \"service-subscription.service-type\", "
439 + " \"relationship-value\": \"Emanuel\" "
441 + " \"relationship-key\": \"service-instance.service-instance-id\", "
442 + " \"relationship-value\": \"1c98917b-8255-43c6-98f1-7a2942e75ce1\" "
445 + " \"related-to-property\": [{ "
446 + " \"property-key\": \"service-instance.service-instance-name\", "
447 + " \"property-value\": \"AUK51a_oam_calea_net_service_0\" "
451 + " \"related-to\": \"tenant\", "
452 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
453 + " \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a/tenants/tenant/b530fc990b6d4334bd45518bebca6a51\", "
454 + " \"relationship-data\": [{ "
455 + " \"relationship-key\": \"cloud-region.cloud-owner\", "
456 + " \"relationship-value\": \"att-nc\" "
458 + " \"relationship-key\": \"cloud-region.cloud-region-id\", "
459 + " \"relationship-value\": \"auk51a\" "
461 + " \"relationship-key\": \"tenant.tenant-id\", "
462 + " \"relationship-value\": \"b530fc990b6d4334bd45518bebca6a51\" "
465 + " \"related-to-property\": [{ "
466 + " \"property-key\": \"tenant.tenant-name\", "
467 + " \"property-value\": \"ecomp_ispt\" "
471 + " \"related-to\": \"cloud-region\", "
472 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
473 + " \"related-link\": \"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/att-nc/auk51a\", "
474 + " \"relationship-data\": [{ "
475 + " \"relationship-key\": \"cloud-region.cloud-owner\", "
476 + " \"relationship-value\": \"att-nc\" "
478 + " \"relationship-key\": \"cloud-region.cloud-region-id\", "
479 + " \"relationship-value\": \"auk51a\" "
482 + " \"related-to-property\": [{ "
483 + " \"property-key\": \"cloud-region.owner-defined-type\", "
484 + " \"property-value\": \"lcp\" "
488 + " \"related-to\": \"vpn-binding\", "
489 + " \"relationship-label\": \"org.onap.relationships.inventory.Uses\", "
490 + " \"related-link\": \"/aai/v14/network/vpn-bindings/vpn-binding/3e7834fb-a8e0-4243-a837-5352ccab4602\", "
491 + " \"relationship-data\": [{ "
492 + " \"relationship-key\": \"vpn-binding.vpn-id\", "
493 + " \"relationship-value\": \"3e7834fb-a8e0-4243-a837-5352ccab4602\" "
496 + " \"related-to-property\": [{ "
497 + " \"property-key\": \"vpn-binding.vpn-name\", "
498 + " \"property-value\": \"LPPVPN\" "
500 + " \"property-key\": \"vpn-binding.vpn-type\", "
501 + " \"property-value\": \"CUSTOMER\" "
512 private static final String STATE_2 = "{\"results\": [" +
513 " {\"l3-network\": {" +
514 " \"network-id\": \"CC-l3network_1\"," +
515 " \"is-bound-to-vpn\": false," +
516 " \"resource-version\": \"1556206041065\"," +
517 " \"is-provider-network\": false," +
518 " \"is-shared-network\": false," +
519 " \"is-external-network\": false," +
520 " \"relationship-list\": {\"relationship\": [ {" +
521 " \"related-to\": \"tenant\"," +
522 " \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
523 " \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528T1\"," +
524 " \"relationship-data\": [" +
526 " \"relationship-key\": \"cloud-region.cloud-owner\"," +
527 " \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
530 " \"relationship-key\": \"cloud-region.cloud-region-id\"," +
531 " \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
534 " \"relationship-key\": \"tenant.tenant-id\"," +
535 " \"relationship-value\": \"tenant-id-CC-ANAI-528T1\"" +
538 " \"related-to-property\": [ {" +
539 " \"property-key\": \"tenant.tenant-name\"," +
540 " \"property-value\": \"tenant-name-CC-ANAI-528T1\"" +
544 " {\"l3-network\": {" +
545 " \"network-id\": \"CC-l3network_3\"," +
546 " \"network-name\": \"DLLSTXRNDS3\"," +
547 " \"network-role\": \"Backup\"," +
548 " \"is-bound-to-vpn\": true," +
549 " \"resource-version\": \"1556139217403\"," +
550 " \"is-provider-network\": false," +
551 " \"is-shared-network\": false," +
552 " \"is-external-network\": false," +
553 " \"relationship-list\": {\"relationship\": [" +
555 " \"related-to\": \"tenant\"," +
556 " \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
557 " \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528T1\"," +
558 " \"relationship-data\": [" +
560 " \"relationship-key\": \"cloud-region.cloud-owner\"," +
561 " \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
564 " \"relationship-key\": \"cloud-region.cloud-region-id\"," +
565 " \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
568 " \"relationship-key\": \"tenant.tenant-id\"," +
569 " \"relationship-value\": \"tenant-id-CC-ANAI-528T1\"" +
572 " \"related-to-property\": [ {" +
573 " \"property-key\": \"tenant.tenant-name\"," +
574 " \"property-value\": \"tenant-name-CC-ANAI-528T1\"" +
578 " \"related-to\": \"tenant\"," +
579 " \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
580 " \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528-T2\"," +
581 " \"relationship-data\": [" +
583 " \"relationship-key\": \"cloud-region.cloud-owner\"," +
584 " \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
587 " \"relationship-key\": \"cloud-region.cloud-region-id\"," +
588 " \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
591 " \"relationship-key\": \"tenant.tenant-id\"," +
592 " \"relationship-value\": \"tenant-id-CC-ANAI-528-T2\"" +
595 " \"related-to-property\": [ {" +
596 " \"property-key\": \"tenant.tenant-name\"," +
597 " \"property-value\": \"tenant-name-CC-ANAI-528T2\"" +
601 " \"related-to\": \"tenant\"," +
602 " \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
603 " \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528T3\"," +
604 " \"relationship-data\": [" +
606 " \"relationship-key\": \"cloud-region.cloud-owner\"," +
607 " \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
610 " \"relationship-key\": \"cloud-region.cloud-region-id\"," +
611 " \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
614 " \"relationship-key\": \"tenant.tenant-id\"," +
615 " \"relationship-value\": \"tenant-id-CC-ANAI-528T3\"" +
618 " \"related-to-property\": [ {" +
619 " \"property-key\": \"tenant.tenant-name\"," +
620 " \"property-value\": \"tenant-name-CC-ANAI-528T3\"" +
625 " {\"l3-network\": {" +
626 " \"network-id\": \"l3network2-550-as988q\"," +
627 " \"network-name\": \"CHICGIL01VDBE01_SubIntNtwk043\"," +
628 " \"network-type\": \"K6VD\"," +
629 " \"network-role\": \"X92XE0j\"," +
630 " \"network-technology\": \"ZYbPEnCjX6Oqd\"," +
631 " \"neutron-network-id\": \"fpFvDje\"," +
632 " \"is-bound-to-vpn\": false," +
633 " \"service-id\": \"NJnzYaRlz0Test\"," +
634 " \"network-role-instance\": 162," +
635 " \"resource-version\": \"1556823012443\"," +
636 " \"orchestration-status\": \"active\"," +
637 " \"heat-stack-id\": \"0GmDeg\"," +
638 " \"mso-catalog-key\": \"la5ylhZ5g0D\"," +
639 " \"contrail-network-fqdn\": \"EaeexDk47\"," +
640 " \"model-customization-id\": \"wgmn6PrJ5\"," +
641 " \"widget-model-id\": \"e0yNr\"," +
642 " \"widget-model-version\": \"yKpry3J0VVLn\"," +
643 " \"physical-network-name\": \"wq6OKbZMTY\"," +
644 " \"is-provider-network\": false," +
645 " \"is-shared-network\": false," +
646 " \"is-external-network\": false," +
647 " \"selflink\": \"9xtMu4EPuTi\"," +
648 " \"operational-status\": \"W8aj\"," +
649 " \"is-trunked\": true," +
650 " \"relationship-list\": {\"relationship\": [" +
652 " \"related-to\": \"tenant\"," +
653 " \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
654 " \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528T1\"," +
655 " \"relationship-data\": [" +
657 " \"relationship-key\": \"cloud-region.cloud-owner\"," +
658 " \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
661 " \"relationship-key\": \"cloud-region.cloud-region-id\"," +
662 " \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
665 " \"relationship-key\": \"tenant.tenant-id\"," +
666 " \"relationship-value\": \"tenant-id-CC-ANAI-528T1\"" +
669 " \"related-to-property\": [ {" +
670 " \"property-key\": \"tenant.tenant-name\"," +
671 " \"property-value\": \"tenant-name-CC-ANAI-528T1\"" +
675 " \"related-to\": \"configuration\"," +
676 " \"relationship-label\": \"org.onap.relationships.inventory.PartOf\"," +
677 " \"related-link\": \"/aai/v17/network/configurations/configuration/configuration2-550-as988q\"," +
678 " \"relationship-data\": [ {" +
679 " \"relationship-key\": \"configuration.configuration-id\"," +
680 " \"relationship-value\": \"configuration2-550-as988q\"" +
684 " \"related-to\": \"configuration\"," +
685 " \"relationship-label\": \"org.onap.relationships.inventory.PartOf\"," +
686 " \"related-link\": \"/aai/v17/network/configurations/configuration/configuration1-550-as988q\"," +
687 " \"relationship-data\": [ {" +
688 " \"relationship-key\": \"configuration.configuration-id\"," +
689 " \"relationship-value\": \"configuration1-550-as988q\"" +
693 " \"related-to\": \"vpn-binding\"," +
694 " \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
695 " \"related-link\": \"/aai/v17/network/vpn-bindings/vpn-binding/VPNbinding3-550-as988q\"," +
696 " \"relationship-data\": [ {" +
697 " \"relationship-key\": \"vpn-binding.vpn-id\"," +
698 " \"relationship-value\": \"VPNbinding3-550-as988q\"" +
700 " \"related-to-property\": [" +
702 " \"property-key\": \"vpn-binding.vpn-name\"," +
703 " \"property-value\": \"SZ2A5L_VPNTest\"" +
706 " \"property-key\": \"vpn-binding.vpn-type\"," +
707 " \"property-value\": \"1903e94v\"" +
713 " {\"l3-network\": {" +
714 " \"network-id\": \"CC-l3network_2\"," +
715 " \"network-name\": \"DLLSTXRNDS2\"," +
716 " \"network-role\": \"Primary\"," +
717 " \"is-bound-to-vpn\": true," +
718 " \"resource-version\": \"1556136783141\"," +
719 " \"is-provider-network\": true," +
720 " \"is-shared-network\": true," +
721 " \"is-external-network\": true," +
722 " \"relationship-list\": {\"relationship\": [" +
724 " \"related-to\": \"tenant\"," +
725 " \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
726 " \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528T1\"," +
727 " \"relationship-data\": [" +
729 " \"relationship-key\": \"cloud-region.cloud-owner\"," +
730 " \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
733 " \"relationship-key\": \"cloud-region.cloud-region-id\"," +
734 " \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
737 " \"relationship-key\": \"tenant.tenant-id\"," +
738 " \"relationship-value\": \"tenant-id-CC-ANAI-528T1\"" +
741 " \"related-to-property\": [ {" +
742 " \"property-key\": \"tenant.tenant-name\"," +
743 " \"property-value\": \"tenant-name-CC-ANAI-528T1\"" +
747 " \"related-to\": \"tenant\"," +
748 " \"relationship-label\": \"org.onap.relationships.inventory.Uses\"," +
749 " \"related-link\": \"/aai/v17/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-CC-ANAI-528/cloud-region-id-CC-ANAI-528/tenants/tenant/tenant-id-CC-ANAI-528-T2\"," +
750 " \"relationship-data\": [" +
752 " \"relationship-key\": \"cloud-region.cloud-owner\"," +
753 " \"relationship-value\": \"cloud-owner-CC-ANAI-528\"" +
756 " \"relationship-key\": \"cloud-region.cloud-region-id\"," +
757 " \"relationship-value\": \"cloud-region-id-CC-ANAI-528\"" +
760 " \"relationship-key\": \"tenant.tenant-id\"," +
761 " \"relationship-value\": \"tenant-id-CC-ANAI-528-T2\"" +
764 " \"related-to-property\": [ {" +
765 " \"property-key\": \"tenant.tenant-name\"," +
766 " \"property-value\": \"tenant-name-CC-ANAI-528T2\"" +