Update documentation
[integration.git] / test / postman / 08_Declare_Customer_Service_Subscription_Cloud.postman_collection.json
1 {
2   "info": {
3     "_postman_id": "4e86ffd4-736b-441d-8ff2-56a584a96573",
4     "name": "08_Declare_Customer_Service_Subscription_Cloud",
5     "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6   },
7   "item": [
8     {
9       "name": "List Customers",
10       "event": [
11         {
12           "listen": "test",
13           "script": {
14             "id": "5c0ee107-621b-4b01-9506-cd8628b01179",
15             "exec": [
16               "var customer_found = false;",
17               "if (pm.response.code === 404) {",
18               "    tests[pm.environment.get(\"customer_name\")+\" does not exists\"] = true;",
19               "}",
20               "else {",
21               "    if (pm.response.code === 200) {",
22               "        tests[\"Status code is 200\"] = pm.response.code === 200;",
23               "        }",
24               "    var jsonData = pm.response.json();",
25               "    for (var i = 0; i < jsonData.customer.length; i++) { ",
26               "       if (jsonData.customer[i][\"global-customer-id\"] === pm.environment.get(\"customer_name\")) {",
27               "           customer_found = true;",
28               "           pm.environment.set(\"auto_customer_id\", \"\"+jsonData.customer[i][\"global-customer-id\"]+\"\");",
29               "       }",
30               "    }",
31               "    if (customer_found === false) {",
32               "        tests[pm.environment.get(\"customer_name\")+\" does not exists\"] = true;",
33               "    }",
34               "    ",
35               "    else {",
36               "        tests[pm.environment.get(\"customer_name\")+\" already exists, we skip creation\"] = true;",
37               "        postman.setNextRequest(\"List Services from SDC catalog\");",
38               "    }",
39               "}"
40             ],
41             "type": "text/javascript"
42           }
43         }
44       ],
45       "request": {
46         "method": "GET",
47         "header": [
48           {
49             "key": "Authorization",
50             "value": "Basic QUFJOkFBSQ=="
51           },
52           {
53             "key": "X-FromAppId",
54             "value": "AAI"
55           },
56           {
57             "key": "Accept",
58             "value": "application/json"
59           },
60           {
61             "key": "Content-Type",
62             "value": "application/json"
63           },
64           {
65             "key": "X-TransactionId",
66             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
67           }
68         ],
69         "body": {
70           "mode": "raw",
71           "raw": ""
72         },
73         "url": {
74           "raw": "{{url-aai}}/aai/v16/business/customers",
75           "host": [
76             "{{url-aai}}"
77           ],
78           "path": [
79             "aai",
80             "v16",
81             "business",
82             "customers"
83           ]
84         }
85       },
86       "response": []
87     },
88     {
89       "name": "Declare a Customer",
90       "event": [
91         {
92           "listen": "test",
93           "script": {
94             "id": "3f8fbd67-36f6-4ae2-a2ab-d23f1f690133",
95             "exec": [
96               "pm.test(\"Status code is 201\", function () {",
97               "    pm.response.to.have.status(201);",
98               "});"
99             ],
100             "type": "text/javascript"
101           }
102         }
103       ],
104       "request": {
105         "method": "PUT",
106         "header": [
107           {
108             "key": "Authorization",
109             "value": "Basic QUFJOkFBSQ=="
110           },
111           {
112             "key": "X-FromAppId",
113             "value": "AAI"
114           },
115           {
116             "key": "Accept",
117             "value": "application/json"
118           },
119           {
120             "key": "Content-Type",
121             "value": "application/json"
122           },
123           {
124             "key": "X-TransactionId",
125             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
126           }
127         ],
128         "body": {
129           "mode": "raw",
130           "raw": "{\n    \"global-customer-id\": \"{{customer_name}}\",\n    \"subscriber-name\": \"{{customer_name}}\",\n    \"subscriber-type\": \"INFRA\"\n}"
131         },
132         "url": {
133           "raw": "{{url-aai}}/aai/v16/business/customers/customer/{{customer_name}}",
134           "host": [
135             "{{url-aai}}"
136           ],
137           "path": [
138             "aai",
139             "v16",
140             "business",
141             "customers",
142             "customer",
143             "{{customer_name}}"
144           ]
145         }
146       },
147       "response": []
148     },
149     {
150       "name": "Check customer creation",
151       "event": [
152         {
153           "listen": "test",
154           "script": {
155             "id": "e459dbcf-bf32-4aef-a9b1-5d1adfb525fc",
156             "exec": [
157               "pm.test(\"Status code is 200\", function () {",
158               "    pm.response.to.have.status(200);",
159               "});",
160               "",
161               "var jsonData = pm.response.json();",
162               "var customer_found = false;",
163               "for (var i = 0; i < jsonData.customer.length; i++) { ",
164               "   if (jsonData.customer[i][\"global-customer-id\"] === pm.environment.get(\"customer_name\")) {",
165               "       customer_found = true;",
166               "       pm.environment.set(\"auto_customer_id\", \"\"+jsonData.customer[i][\"global-customer-id\"]+\"\");",
167               "   }",
168               "}",
169               "tests[pm.environment.get(\"customer_name\")+\" found\"] = customer_found === true;"
170             ],
171             "type": "text/javascript"
172           }
173         }
174       ],
175       "request": {
176         "method": "GET",
177         "header": [
178           {
179             "key": "Authorization",
180             "value": "Basic QUFJOkFBSQ=="
181           },
182           {
183             "key": "X-FromAppId",
184             "value": "AAI"
185           },
186           {
187             "key": "Accept",
188             "value": "application/json"
189           },
190           {
191             "key": "Content-Type",
192             "value": "application/json"
193           },
194           {
195             "key": "X-TransactionId",
196             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
197           }
198         ],
199         "body": {
200           "mode": "raw",
201           "raw": ""
202         },
203         "url": {
204           "raw": "{{url-aai}}/aai/v16/business/customers",
205           "host": [
206             "{{url-aai}}"
207           ],
208           "path": [
209             "aai",
210             "v16",
211             "business",
212             "customers"
213           ]
214         }
215       },
216       "response": []
217     },
218     {
219       "name": "List Services from SDC catalog",
220       "event": [
221         {
222           "listen": "test",
223           "script": {
224             "id": "a496d4dc-e343-42d4-8377-6d18d3570c82",
225             "exec": [
226               "pm.test(\"Status code is 200\", function () {",
227               "    pm.response.to.have.status(200);",
228               "});",
229               "",
230               "var jsonData = pm.response.json();",
231               "var service_found = false;",
232               "for (var i = 0; i < jsonData.length; i++) { ",
233               "   if (jsonData[i].name === pm.environment.get(\"service\")) {",
234               "       service_found = true;",
235               "       pm.environment.set(\"auto_service_invariantUUID\", \"\"+jsonData[i].invariantUUID+\"\");",
236               "   }",
237               "}",
238               "",
239               "if (service_found === false) {",
240               "    tests[\"Service : \"+pm.environment.get(\"service\")+\" does not exist in SDC catalog, we stop the run\"] = true;",
241               "    postman.setNextRequest(null);",
242               "}",
243               "",
244               "else {",
245               "    tests[\"Service : \"+pm.environment.get(\"service\")+\" exists in SDC catalog, we can continue the run\"] = true;",
246               "}"
247             ],
248             "type": "text/javascript"
249           }
250         }
251       ],
252       "request": {
253         "method": "GET",
254         "header": [
255           {
256             "key": "Content-Type",
257             "value": "application/json"
258           },
259           {
260             "key": "Accept",
261             "value": "application/json"
262           },
263           {
264             "key": "X-TransactionId",
265             "value": "ONAP-Test"
266           },
267           {
268             "key": "USER_ID",
269             "value": "cs0008"
270           },
271           {
272             "key": "X-FromAppId",
273             "value": "ONAP-Test"
274           },
275           {
276             "key": "Authorization",
277             "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
278           },
279           {
280             "key": "x-ecomp-instanceid",
281             "value": "ONAP-Test"
282           }
283         ],
284         "body": {
285           "mode": "raw",
286           "raw": ""
287         },
288         "url": {
289           "raw": "{{url-sdc}}/sdc/v1/catalog/services",
290           "host": [
291             "{{url-sdc}}"
292           ],
293           "path": [
294             "sdc",
295             "v1",
296             "catalog",
297             "services"
298           ]
299         }
300       },
301       "response": []
302     },
303     {
304       "name": "Check Subscription in AAI",
305       "event": [
306         {
307           "listen": "test",
308           "script": {
309             "id": "654cc91a-920b-4b79-9177-15b622749cb4",
310             "exec": [
311               "var service_found = false;",
312               "if (pm.response.code === 404) {",
313               "    tests[pm.environment.get(\"service\")+\" does not exists in AAI\"] = true;",
314               "}",
315               "else {",
316               "    if (pm.response.code === 200) {",
317               "        tests[\"Status code is 200\"] = pm.response.code === 200;",
318               "        }",
319               "    var jsonData = pm.response.json();",
320               "    for (var i = 0; i < jsonData.service.length; i++) { ",
321               "       if (jsonData.service[i][\"service-description\"] === pm.environment.get(\"service\")) {",
322               "           service_found = true;",
323               "       }",
324               "    }",
325               "    ",
326               "    if (service_found === false) {",
327               "        tests[\"Service subscription : \"+pm.environment.get(\"service\")+\" does not exists in AAI\"] = true;",
328               "    }",
329               "    ",
330               "    else {",
331               "        tests[\"Service subscription : \"+pm.environment.get(\"service\")+\" already exists in AAI, we skip creation\"] = true;",
332               "        postman.setNextRequest(\"check cloud-region exists\");",
333               "    }",
334               "}"
335             ],
336             "type": "text/javascript"
337           }
338         }
339       ],
340       "request": {
341         "method": "GET",
342         "header": [
343           {
344             "key": "Accept",
345             "value": "application/json"
346           },
347           {
348             "key": "Content-Type",
349             "value": "application/json"
350           },
351           {
352             "key": "X-FromAppId",
353             "value": "AAI"
354           },
355           {
356             "key": "X-TransactionId",
357             "value": "get_aai_subscr"
358           },
359           {
360             "key": "Authorization",
361             "value": "Basic QUFJOkFBSQ=="
362           }
363         ],
364         "body": {
365           "mode": "raw",
366           "raw": ""
367         },
368         "url": {
369           "raw": "{{url-aai}}/aai/v16/service-design-and-creation/services",
370           "host": [
371             "{{url-aai}}"
372           ],
373           "path": [
374             "aai",
375             "v16",
376             "service-design-and-creation",
377             "services"
378           ]
379         }
380       },
381       "response": []
382     },
383     {
384       "name": "Declare subscription in AAI",
385       "event": [
386         {
387           "listen": "test",
388           "script": {
389             "id": "c82062d1-c394-47d8-ab3d-14f777c32971",
390             "exec": [
391               "pm.test(\"Status code is 201\", function () {",
392               "    pm.response.to.have.status(201);",
393               "});"
394             ],
395             "type": "text/javascript"
396           }
397         }
398       ],
399       "request": {
400         "method": "PUT",
401         "header": [
402           {
403             "key": "Authorization",
404             "value": "Basic QUFJOkFBSQ=="
405           },
406           {
407             "key": "X-FromAppId",
408             "value": "AAI"
409           },
410           {
411             "key": "Accept",
412             "value": "application/json"
413           },
414           {
415             "key": "X-TransactionId",
416             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
417           },
418           {
419             "key": "Content-Type",
420             "value": "application/json"
421           }
422         ],
423         "body": {
424           "mode": "raw",
425           "raw": "{\r\n\"service-id\": \"{{auto_service_invariantUUID}}\",\r\n\"service-description\": \"{{service}}\"\r\n}"
426         },
427         "url": {
428           "raw": "{{url-aai}}/aai/v16/service-design-and-creation/services/service/{{auto_service_invariantUUID}}",
429           "host": [
430             "{{url-aai}}"
431           ],
432           "path": [
433             "aai",
434             "v16",
435             "service-design-and-creation",
436             "services",
437             "service",
438             "{{auto_service_invariantUUID}}"
439           ]
440         }
441       },
442       "response": []
443     },
444     {
445       "name": "Check Subscription creation in AAI",
446       "event": [
447         {
448           "listen": "test",
449           "script": {
450             "id": "ddb1ab24-cbf4-4d50-a237-614143e66a66",
451             "exec": [
452               "pm.test(\"Status code is 200\", function () {",
453               "    pm.response.to.have.status(200);",
454               "});",
455               "var jsonData = pm.response.json();",
456               "var service_found = false;",
457               "for (var i = 0; i < jsonData.service.length; i++) { ",
458               "   if (jsonData.service[i][\"service-description\"] === pm.environment.get(\"service\")) {",
459               "       service_found = true;",
460               "       pm.environment.set(\"auto_service_resource_version\", \"\"+jsonData.service[i][\"resource-version\"]+\"\");",
461               "   }",
462               "}",
463               "tests[\"Service subscription : \"+pm.environment.get(\"service\")+\" found in AAI\"] = service_found === true;"
464             ],
465             "type": "text/javascript"
466           }
467         }
468       ],
469       "request": {
470         "method": "GET",
471         "header": [
472           {
473             "key": "Accept",
474             "value": "application/json"
475           },
476           {
477             "key": "Content-Type",
478             "value": "application/json"
479           },
480           {
481             "key": "X-FromAppId",
482             "value": "AAI"
483           },
484           {
485             "key": "X-TransactionId",
486             "value": "get_aai_subscr"
487           },
488           {
489             "key": "Authorization",
490             "value": "Basic QUFJOkFBSQ=="
491           }
492         ],
493         "body": {
494           "mode": "raw",
495           "raw": ""
496         },
497         "url": {
498           "raw": "{{url-aai}}/aai/v16/service-design-and-creation/services",
499           "host": [
500             "{{url-aai}}"
501           ],
502           "path": [
503             "aai",
504             "v16",
505             "service-design-and-creation",
506             "services"
507           ]
508         }
509       },
510       "response": []
511     },
512     {
513       "name": "check complex exists",
514       "event": [
515         {
516           "listen": "test",
517           "script": {
518             "id": "12df16bd-e361-45ec-8663-b8a404bb13ce",
519             "exec": [
520               "var complex_found = false;",
521               "if (pm.response.code === 404) {",
522               "    tests[pm.environment.get(\"complex_name\")+\" does not exists in AAI\"] = true;",
523               "}",
524               "else {",
525               "    if (pm.response.code === 200) {",
526               "        tests[\"Status code is 200\"] = pm.response.code === 200;",
527               "        }",
528               "var jsonData = pm.response.json();",
529               "for (var i = 0; i < jsonData[\"complex\"].length; i++) { ",
530               "   if (jsonData[\"complex\"][i][\"complex-name\"] === pm.environment.get(\"complex_name\")) {",
531               "       complex_found = true;",
532               "   }",
533               "}",
534               "",
535               "if (complex_found === false) {",
536               "    tests[pm.environment.get(\"complex_name\")+\" does not exist yet\"] = true;",
537               "}",
538               "else {",
539               "    tests[pm.environment.get(\"complex_name\")+\" already exists, we skip creation\"] = true;",
540               "    postman.setNextRequest(\"check cloud-region exists\");",
541               "}",
542               "}"
543             ],
544             "type": "text/javascript"
545           }
546         }
547       ],
548       "request": {
549         "method": "GET",
550         "header": [
551           {
552             "key": "Authorization",
553             "value": "Basic QUFJOkFBSQ=="
554           },
555           {
556             "key": "X-FromAppId",
557             "value": "AAI"
558           },
559           {
560             "key": "Accept",
561             "value": "application/json"
562           },
563           {
564             "key": "X-TransactionId",
565             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
566           }
567         ],
568         "body": {
569           "mode": "raw",
570           "raw": ""
571         },
572         "url": {
573           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/complexes",
574           "host": [
575             "{{url-aai}}"
576           ],
577           "path": [
578             "aai",
579             "v16",
580             "cloud-infrastructure",
581             "complexes"
582           ]
583         }
584       },
585       "response": []
586     },
587     {
588       "name": "create Complex",
589       "event": [
590         {
591           "listen": "test",
592           "script": {
593             "id": "c6021ddb-13b1-472b-acdd-55c4f550461f",
594             "exec": [
595               "pm.test(\"Status code is 201\", function () {",
596               "    pm.response.to.have.status(201);",
597               "});"
598             ],
599             "type": "text/javascript"
600           }
601         }
602       ],
603       "request": {
604         "method": "PUT",
605         "header": [
606           {
607             "key": "Authorization",
608             "value": "Basic QUFJOkFBSQ=="
609           },
610           {
611             "key": "X-FromAppId",
612             "value": "AAI"
613           },
614           {
615             "key": "Accept",
616             "value": "application/json"
617           },
618           {
619             "key": "X-TransactionId",
620             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
621           },
622           {
623             "key": "Content-Type",
624             "value": "application/json"
625           }
626         ],
627         "body": {
628           "mode": "raw",
629           "raw": "{\n    \"physical-location-id\": \"{{complex_name}}\",\n    \"data-center-code\": \"\",\n    \"complex-name\": \"{{complex_name}}\",\n    \"identity-url\": \"\",\n    \"physical-location-type\": \"\",\n    \"street1\": \"\",\n    \"street2\": \"\",\n    \"city\": \"\",\n    \"state\": \"\",\n    \"postal-code\": \"\",\n    \"country\": \"\",\n    \"region\": \"\",\n    \"latitude\": \"\",\n    \"longitude\": \"\",\n    \"elevation\": \"\",\n    \"lata\": \"\"\n}"
630         },
631         "url": {
632           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/complexes/complex/{{complex_name}}",
633           "host": [
634             "{{url-aai}}"
635           ],
636           "path": [
637             "aai",
638             "v16",
639             "cloud-infrastructure",
640             "complexes",
641             "complex",
642             "{{complex_name}}"
643           ]
644         }
645       },
646       "response": []
647     },
648     {
649       "name": "Check complex creation",
650       "event": [
651         {
652           "listen": "test",
653           "script": {
654             "id": "eed67b4e-d3b5-4ba7-a254-6e8d44e10be0",
655             "exec": [
656               "pm.test(\"Status code is 200\", function () {",
657               "    pm.response.to.have.status(200);",
658               "});",
659               "",
660               "var jsonData = pm.response.json();",
661               "var complex_found = false;",
662               "for (var i = 0; i < jsonData[\"complex\"].length; i++) { ",
663               "   if (jsonData[\"complex\"][i][\"complex-name\"] === pm.environment.get(\"complex_name\")) {",
664               "       complex_found = true;",
665               "   }",
666               "}",
667               "tests[\"Complex : \"+pm.environment.get(\"complex_name\")+\" found\"] = complex_found === true;",
668               ""
669             ],
670             "type": "text/javascript"
671           }
672         }
673       ],
674       "request": {
675         "method": "GET",
676         "header": [
677           {
678             "key": "Authorization",
679             "value": "Basic QUFJOkFBSQ=="
680           },
681           {
682             "key": "X-FromAppId",
683             "value": "AAI"
684           },
685           {
686             "key": "Accept",
687             "value": "application/json"
688           },
689           {
690             "key": "X-TransactionId",
691             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
692           }
693         ],
694         "body": {
695           "mode": "raw",
696           "raw": ""
697         },
698         "url": {
699           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/complexes",
700           "host": [
701             "{{url-aai}}"
702           ],
703           "path": [
704             "aai",
705             "v16",
706             "cloud-infrastructure",
707             "complexes"
708           ]
709         }
710       },
711       "response": []
712     },
713     {
714       "name": "check cloud-region exists",
715       "event": [
716         {
717           "listen": "test",
718           "script": {
719             "id": "705695aa-21b8-4b3f-9e00-4f46178f37d0",
720             "exec": [
721               "var region_found = false;",
722               "if (pm.response.code === 404) {",
723               "    tests[pm.environment.get(\"onap_cloud_region_id\")+\" does not exists in AAI\"] = true;",
724               "}",
725               "else {",
726               "    if (pm.response.code === 200) {",
727               "        tests[\"Status code is 200\"] = pm.response.code === 200;",
728               "        }",
729               "var jsonData = pm.response.json();",
730               "for (var i = 0; i < jsonData[\"cloud-region\"].length; i++) { ",
731               "   if ((jsonData[\"cloud-region\"][i][\"cloud-region-id\"] === pm.environment.get(\"onap_cloud_region_id\")) && (jsonData[\"cloud-region\"][i][\"cloud-owner\"] === pm.environment.get(\"cloud_owner_name\"))) {",
732               "       region_found = true;",
733               "   }",
734               "}",
735               "",
736               "if (region_found === false) {",
737               "    tests[pm.environment.get(\"onap_cloud_region_id\")+\" does not exist yet for cloudOwner \"+pm.environment.get(\"cloud_owner_name\")] = true;",
738               "}",
739               "else {",
740               "    tests[pm.environment.get(\"onap_cloud_region_id\")+\" already exists, we skip creation\"] = true;",
741               "    postman.setNextRequest(\"check tenant in cloud region\");",
742               "}",
743               "}"
744             ],
745             "type": "text/javascript"
746           }
747         }
748       ],
749       "request": {
750         "method": "GET",
751         "header": [
752           {
753             "key": "Authorization",
754             "value": "Basic QUFJOkFBSQ=="
755           },
756           {
757             "key": "X-FromAppId",
758             "value": "AAI"
759           },
760           {
761             "key": "Accept",
762             "value": "application/json"
763           },
764           {
765             "key": "X-TransactionId",
766             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
767           }
768         ],
769         "body": {
770           "mode": "raw",
771           "raw": ""
772         },
773         "url": {
774           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/cloud-regions",
775           "host": [
776             "{{url-aai}}"
777           ],
778           "path": [
779             "aai",
780             "v16",
781             "cloud-infrastructure",
782             "cloud-regions"
783           ]
784         }
785       },
786       "response": []
787     },
788     {
789       "name": "create cloud-region",
790       "event": [
791         {
792           "listen": "test",
793           "script": {
794             "id": "41f77bea-f6cd-4bd9-961d-b02f42751db0",
795             "exec": [
796               "pm.test(\"Status code is 201\", function () {",
797               "    pm.response.to.have.status(201);",
798               "});"
799             ],
800             "type": "text/javascript"
801           }
802         }
803       ],
804       "request": {
805         "method": "PUT",
806         "header": [
807           {
808             "key": "Authorization",
809             "value": "Basic QUFJOkFBSQ=="
810           },
811           {
812             "key": "X-FromAppId",
813             "value": "AAI"
814           },
815           {
816             "key": "Accept",
817             "value": "application/json"
818           },
819           {
820             "key": "X-TransactionId",
821             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
822           },
823           {
824             "key": "Content-Type",
825             "value": "application/json"
826           }
827         ],
828         "body": {
829           "mode": "raw",
830           "raw": "{\r\n    \"cloud-owner\": \"{{cloud_owner_name}}\",\r\n    \"cloud-region-id\": \"{{onap_cloud_region_id}}\",\r\n    \"cloud-type\": \"{{cloud_type}}\",\r\n    \"owner-defined-type\": \"\",\r\n    \"cloud-region-version\": \"{{cloud_region_version}}\",\r\n    \"cloud-zone\": \"\",\r\n    \"complex-name\": \"{{complex_name}}\",\r\n    \"identity-url\": \"WillBeUpdatedByMultiCloud\",\r\n    \"sriov-automation\": false,\r\n    \"cloud-extra-info\": \"{\\\"openstack-region-id\\\":\\\"{{openstack_region_id}}\\\"}\",\r\n    \"esr-system-info-list\": {\r\n    \t\"esr-system-info\": [\r\n            {\r\n            \"esr-system-info-id\": \"{{random_uuid}}\",\r\n            \"service-url\": \"{{keystone_url}}\",\r\n            \"user-name\": \"{{user_name}}\",\r\n            \"password\": \"{{keystone_password}}\",\r\n            \"system-type\": \"VIM\",\r\n            \"ssl-insecure\": true,\r\n            \"cloud-domain\": \"Default\",\r\n            \"default-tenant\": \"{{tenant_name}}\",\r\n            \"system-status\": \"active\"\r\n            }\r\n        ]\r\n    }\r\n}"
831         },
832         "url": {
833           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}",
834           "host": [
835             "{{url-aai}}"
836           ],
837           "path": [
838             "aai",
839             "v16",
840             "cloud-infrastructure",
841             "cloud-regions",
842             "cloud-region",
843             "{{cloud_owner_name}}",
844             "{{onap_cloud_region_id}}"
845           ]
846         }
847       },
848       "response": []
849     },
850     {
851       "name": "Check Cloud-region creation",
852       "event": [
853         {
854           "listen": "test",
855           "script": {
856             "id": "a386bb95-c0fa-49b2-9837-efcdc6b40a86",
857             "exec": [
858               "pm.test(\"Status code is 200\", function () {",
859               "    pm.response.to.have.status(200);",
860               "});",
861               "var jsonData = pm.response.json();",
862               "var region_found = false;",
863               "for (var i = 0; i < jsonData[\"cloud-region\"].length; i++) { ",
864               "   if (jsonData[\"cloud-region\"][i][\"cloud-region-id\"] === pm.environment.get(\"onap_cloud_region_id\")) {",
865               "       region_found = true;",
866               "   }",
867               "}",
868               "tests[\"Cloud-Region : \"+pm.environment.get(\"onap_cloud_region_id\")+\" found\"] = region_found === true;",
869               ""
870             ],
871             "type": "text/javascript"
872           }
873         }
874       ],
875       "request": {
876         "method": "GET",
877         "header": [
878           {
879             "key": "Authorization",
880             "value": "Basic QUFJOkFBSQ=="
881           },
882           {
883             "key": "X-FromAppId",
884             "value": "AAI"
885           },
886           {
887             "key": "Accept",
888             "value": "application/json"
889           },
890           {
891             "key": "X-TransactionId",
892             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
893           }
894         ],
895         "body": {
896           "mode": "raw",
897           "raw": ""
898         },
899         "url": {
900           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/cloud-regions",
901           "host": [
902             "{{url-aai}}"
903           ],
904           "path": [
905             "aai",
906             "v16",
907             "cloud-infrastructure",
908             "cloud-regions"
909           ]
910         }
911       },
912       "response": []
913     },
914     {
915       "name": "associate Cloud-region to a complex",
916       "event": [
917         {
918           "listen": "test",
919           "script": {
920             "id": "ad16fc86-7954-434f-bc45-25710ebeee57",
921             "exec": [
922               "tests[\"Status code is 200 : cloud-region associated to complex\"] = pm.response.code === 200;",
923               ""
924             ],
925             "type": "text/javascript"
926           }
927         }
928       ],
929       "request": {
930         "method": "PUT",
931         "header": [
932           {
933             "key": "Authorization",
934             "value": "Basic QUFJOkFBSQ=="
935           },
936           {
937             "key": "X-FromAppId",
938             "value": "AAI"
939           },
940           {
941             "key": "Accept",
942             "value": "application/json"
943           },
944           {
945             "key": "X-TransactionId",
946             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
947           },
948           {
949             "key": "Content-Type",
950             "value": "application/json"
951           }
952         ],
953         "body": {
954           "mode": "raw",
955           "raw": "{\n    \"related-to\": \"complex\",\n    \"related-link\": \"/aai/v16/cloud-infrastructure/complexes/complex/{{complex_name}}\",\n    \"relationship-data\": [\n        {\n        \"relationship-key\": \"complex.physical-location-id\",\n        \"relationship-value\": \"{{complex_name}}\"\n        }\n        ]\n    }"
956         },
957         "url": {
958           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/relationship-list/relationship",
959           "host": [
960             "{{url-aai}}"
961           ],
962           "path": [
963             "aai",
964             "v16",
965             "cloud-infrastructure",
966             "cloud-regions",
967             "cloud-region",
968             "{{cloud_owner_name}}",
969             "{{onap_cloud_region_id}}",
970             "relationship-list",
971             "relationship"
972           ]
973         }
974       },
975       "response": []
976     },
977     {
978       "name": "check availability-zone in cloud region",
979       "event": [
980         {
981           "listen": "test",
982           "script": {
983             "id": "4367f5c4-0bf0-4e09-bc58-9a8bd6578685",
984             "exec": [
985               "var availability_zone_found = false;",
986               "if (pm.response.code === 404) {",
987               "    tests[pm.environment.get(\"availability_zone_name\")+\" does not exists\"] = true;",
988               "}",
989               "else {",
990               "    if (pm.response.code === 200) {",
991               "        tests[\"Status code is 200\"] = pm.response.code === 200;",
992               "        }",
993               "    var jsonData = pm.response.json();",
994               "    for (var i = 0; i < jsonData[\"availability-zone\"].length; i++) { ",
995               "        if (jsonData[\"availability-zone\"][i][\"availability-zone-name\"] === pm.environment.get(\"availability_zone_name\")) {",
996               "            availability_zone_found = true;",
997               "        }",
998               "    }   ",
999               "    tests[\"Availability Zone : \"+pm.environment.get(\"availability_zone_name\")+\" found\"] = availability_zone_found === true;",
1000               "}",
1001               "",
1002               "",
1003               "",
1004               ""
1005             ],
1006             "type": "text/javascript"
1007           }
1008         }
1009       ],
1010       "request": {
1011         "method": "GET",
1012         "header": [
1013           {
1014             "key": "Authorization",
1015             "value": "Basic QUFJOkFBSQ=="
1016           },
1017           {
1018             "key": "X-FromAppId",
1019             "value": "AAI"
1020           },
1021           {
1022             "key": "Accept",
1023             "value": "application/json"
1024           },
1025           {
1026             "key": "X-TransactionId",
1027             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
1028           },
1029           {
1030             "key": "Content-Type",
1031             "value": "application/json"
1032           }
1033         ],
1034         "body": {
1035           "mode": "raw",
1036           "raw": ""
1037         },
1038         "url": {
1039           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/availability-zones",
1040           "host": [
1041             "{{url-aai}}"
1042           ],
1043           "path": [
1044             "aai",
1045             "v16",
1046             "cloud-infrastructure",
1047             "cloud-regions",
1048             "cloud-region",
1049             "{{cloud_owner_name}}",
1050             "{{onap_cloud_region_id}}",
1051             "availability-zones"
1052           ]
1053         }
1054       },
1055       "response": []
1056     },
1057     {
1058       "name": "Add availability-zone in cloud region",
1059       "event": [
1060         {
1061           "listen": "test",
1062           "script": {
1063             "id": "4d1eee0e-6afd-44e8-b1cc-269a1249232d",
1064             "exec": [
1065               "pm.test(\"Status code is 201\", function () {",
1066               "    pm.response.to.have.status(201);",
1067               "});"
1068             ],
1069             "type": "text/javascript"
1070           }
1071         }
1072       ],
1073       "request": {
1074         "method": "PUT",
1075         "header": [
1076           {
1077             "key": "Authorization",
1078             "value": "Basic QUFJOkFBSQ=="
1079           },
1080           {
1081             "key": "X-FromAppId",
1082             "value": "AAI"
1083           },
1084           {
1085             "key": "Accept",
1086             "value": "application/json"
1087           },
1088           {
1089             "key": "X-TransactionId",
1090             "value": "get_aai_subscr"
1091           },
1092           {
1093             "key": "Content-Type",
1094             "value": "application/json"
1095           }
1096         ],
1097         "body": {
1098           "mode": "raw",
1099           "raw": "{\n    \"availability-zone-name\": \"{{availability_zone_name}}\",\n    \"hypervisor-type\": \"{{hypervisor_type}}\"\n}"
1100         },
1101         "url": {
1102           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/availability-zones/availability-zone/{{availability_zone_name}}",
1103           "host": [
1104             "{{url-aai}}"
1105           ],
1106           "path": [
1107             "aai",
1108             "v16",
1109             "cloud-infrastructure",
1110             "cloud-regions",
1111             "cloud-region",
1112             "{{cloud_owner_name}}",
1113             "{{onap_cloud_region_id}}",
1114             "availability-zones",
1115             "availability-zone",
1116             "{{availability_zone_name}}"
1117           ]
1118         }
1119       },
1120       "response": []
1121     },
1122     {
1123       "name": "check tenant in cloud region",
1124       "event": [
1125         {
1126           "listen": "test",
1127           "script": {
1128             "id": "4367f5c4-0bf0-4e09-bc58-9a8bd6578685",
1129             "exec": [
1130               "var tenant_found = false;",
1131               "if (pm.response.code === 404) {",
1132               "    tests[pm.environment.get(\"tenant_name\")+\" does not exists in AAI\"] = true;",
1133               "}",
1134               "else {",
1135               "    if (pm.response.code === 200) {",
1136               "        tests[\"Status code is 200\"] = pm.response.code === 200;",
1137               "        }",
1138               "var jsonData = pm.response.json();",
1139               "",
1140               "if(jsonData.hasOwnProperty('tenant'))",
1141               "    {",
1142               "    for (var i = 0; i < jsonData.tenant.length; i++) ",
1143               "        { ",
1144               "        if (jsonData.tenant[i]['tenant-id'] === pm.environment.get(\"tenant_id\")) ",
1145               "            {",
1146               "            tenant_found = true;",
1147               "            }",
1148               "        }",
1149               "    if (tenant_found === true) ",
1150               "        {",
1151               "        tests[pm.environment.get(\"tenant_name\")+\" already exists, we skip creation\"] = true;",
1152               "        postman.setNextRequest(\"check customer-service-tenant relations\");",
1153               "        }",
1154               "",
1155               "if (tenant_found === false)",
1156               "    {",
1157               "    tests[pm.environment.get(\"tenant_name\")+\" does not exists\"] = true;",
1158               "    }",
1159               "}",
1160               "}"
1161             ],
1162             "type": "text/javascript"
1163           }
1164         }
1165       ],
1166       "request": {
1167         "method": "GET",
1168         "header": [
1169           {
1170             "key": "Authorization",
1171             "value": "Basic QUFJOkFBSQ=="
1172           },
1173           {
1174             "key": "X-FromAppId",
1175             "value": "AAI"
1176           },
1177           {
1178             "key": "Accept",
1179             "value": "application/json"
1180           },
1181           {
1182             "key": "X-TransactionId",
1183             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
1184           },
1185           {
1186             "key": "Content-Type",
1187             "value": "application/json"
1188           }
1189         ],
1190         "body": {
1191           "mode": "raw",
1192           "raw": ""
1193         },
1194         "url": {
1195           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/tenants",
1196           "host": [
1197             "{{url-aai}}"
1198           ],
1199           "path": [
1200             "aai",
1201             "v16",
1202             "cloud-infrastructure",
1203             "cloud-regions",
1204             "cloud-region",
1205             "{{cloud_owner_name}}",
1206             "{{onap_cloud_region_id}}",
1207             "tenants"
1208           ]
1209         }
1210       },
1211       "response": []
1212     },
1213     {
1214       "name": "add tenant to region",
1215       "event": [
1216         {
1217           "listen": "test",
1218           "script": {
1219             "id": "4d1eee0e-6afd-44e8-b1cc-269a1249232d",
1220             "exec": [
1221               "pm.test(\"Status code is 201\", function () {",
1222               "    pm.response.to.have.status(201);",
1223               "});"
1224             ],
1225             "type": "text/javascript"
1226           }
1227         }
1228       ],
1229       "request": {
1230         "method": "PUT",
1231         "header": [
1232           {
1233             "key": "Authorization",
1234             "value": "Basic QUFJOkFBSQ=="
1235           },
1236           {
1237             "key": "X-FromAppId",
1238             "value": "AAI"
1239           },
1240           {
1241             "key": "Accept",
1242             "value": "application/json"
1243           },
1244           {
1245             "key": "X-TransactionId",
1246             "value": "get_aai_subscr"
1247           },
1248           {
1249             "key": "Content-Type",
1250             "value": "application/json"
1251           }
1252         ],
1253         "body": {
1254           "mode": "raw",
1255           "raw": "{\n    \"tenant-id\": \"{{tenant_id}}\",\n    \"tenant-name\": \"{{tenant_name}}\"\n}"
1256         },
1257         "url": {
1258           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/tenants/tenant/{{tenant_id}}",
1259           "host": [
1260             "{{url-aai}}"
1261           ],
1262           "path": [
1263             "aai",
1264             "v16",
1265             "cloud-infrastructure",
1266             "cloud-regions",
1267             "cloud-region",
1268             "{{cloud_owner_name}}",
1269             "{{onap_cloud_region_id}}",
1270             "tenants",
1271             "tenant",
1272             "{{tenant_id}}"
1273           ]
1274         }
1275       },
1276       "response": []
1277     },
1278     {
1279       "name": "check tenant creation",
1280       "event": [
1281         {
1282           "listen": "test",
1283           "script": {
1284             "id": "716f0a8a-37b3-412f-8d7b-acef34597bee",
1285             "exec": [
1286               "pm.test(\"Status code is 200\", function () {",
1287               "    pm.response.to.have.status(200);",
1288               "});",
1289               "var jsonData = pm.response.json();",
1290               "var tenant_found = false;",
1291               "for (var i = 0; i < jsonData.tenant.length; i++) { ",
1292               "   if (jsonData.tenant[i][\"tenant-id\"] === pm.environment.get(\"tenant_id\")) {",
1293               "       tenant_found = true;",
1294               "   }",
1295               "}",
1296               "tests[pm.environment.get(\"tenant_name\")+\" found\"] = tenant_found === true;",
1297               ""
1298             ],
1299             "type": "text/javascript"
1300           }
1301         }
1302       ],
1303       "request": {
1304         "method": "GET",
1305         "header": [
1306           {
1307             "key": "Authorization",
1308             "value": "Basic QUFJOkFBSQ=="
1309           },
1310           {
1311             "key": "X-FromAppId",
1312             "value": "AAI"
1313           },
1314           {
1315             "key": "Accept",
1316             "value": "application/json"
1317           },
1318           {
1319             "key": "X-TransactionId",
1320             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
1321           },
1322           {
1323             "key": "Content-Type",
1324             "value": "application/json"
1325           }
1326         ],
1327         "body": {
1328           "mode": "raw",
1329           "raw": ""
1330         },
1331         "url": {
1332           "raw": "{{url-aai}}/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/tenants",
1333           "host": [
1334             "{{url-aai}}"
1335           ],
1336           "path": [
1337             "aai",
1338             "v16",
1339             "cloud-infrastructure",
1340             "cloud-regions",
1341             "cloud-region",
1342             "{{cloud_owner_name}}",
1343             "{{onap_cloud_region_id}}",
1344             "tenants"
1345           ]
1346         }
1347       },
1348       "response": []
1349     },
1350     {
1351       "name": "check customer-service-tenant relations",
1352       "event": [
1353         {
1354           "listen": "test",
1355           "script": {
1356             "id": "587ed4e3-e181-49c1-9f21-08d366a52587",
1357             "exec": [
1358               "var relation_found = false;",
1359               "if (pm.response.code === 404) {",
1360               "    tests[pm.environment.get(\"tenant_name\")+\" / \"+pm.environment.get(\"service\")+ \" relation does not exists\"] = true;",
1361               "}",
1362               "else {",
1363               "    if (pm.response.code === 200) {",
1364               "        tests[\"Status code is 200\"] = pm.response.code === 200;",
1365               "        }",
1366               "",
1367               "var jsonData = pm.response.json();",
1368               "for (var i = 0; i < jsonData[\"service-subscription\"].length; i++) { ",
1369               "   if (jsonData[\"service-subscription\"][i][\"service-type\"] === pm.environment.get(\"service\")) {",
1370               "       relation_found = true;",
1371               "   }",
1372               "}",
1373               "",
1374               "if (relation_found === false) {",
1375               "    tests[pm.environment.get(\"tenant_name\")+\" / \"+pm.environment.get(\"service\")+ \" relation does not exists\"] = true;",
1376               "}",
1377               "",
1378               "else {",
1379               "    tests[pm.environment.get(\"tenant_name\")+\" / \"+pm.environment.get(\"service\")+ \" already exists, we skip relation creation\"] = true;",
1380               "    postman.setNextRequest(\"check customer-service-tenant relation creation\");",
1381               "}",
1382               "}"
1383             ],
1384             "type": "text/javascript"
1385           }
1386         }
1387       ],
1388       "request": {
1389         "method": "GET",
1390         "header": [
1391           {
1392             "key": "Authorization",
1393             "value": "Basic QUFJOkFBSQ=="
1394           },
1395           {
1396             "key": "X-FromAppId",
1397             "value": "AAI"
1398           },
1399           {
1400             "key": "Accept",
1401             "value": "application/json"
1402           },
1403           {
1404             "key": "Content-Type",
1405             "value": "application/json"
1406           },
1407           {
1408             "key": "X-TransactionId",
1409             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
1410           }
1411         ],
1412         "body": {
1413           "mode": "raw",
1414           "raw": ""
1415         },
1416         "url": {
1417           "raw": "{{url-aai}}/aai/v16/business/customers/customer/{{customer_name}}/service-subscriptions?depth=all",
1418           "host": [
1419             "{{url-aai}}"
1420           ],
1421           "path": [
1422             "aai",
1423             "v16",
1424             "business",
1425             "customers",
1426             "customer",
1427             "{{customer_name}}",
1428             "service-subscriptions"
1429           ],
1430           "query": [
1431             {
1432               "key": "depth",
1433               "value": "all"
1434             }
1435           ]
1436         }
1437       },
1438       "response": []
1439     },
1440     {
1441       "name": "Add service to customer",
1442       "event": [
1443         {
1444           "listen": "test",
1445           "script": {
1446             "id": "9a9da50d-49ce-4f9e-ae18-6131dce516eb",
1447             "exec": [
1448               "pm.test(\"Status code is 201\", function () {",
1449               "    pm.response.to.have.status(201);",
1450               "});"
1451             ],
1452             "type": "text/javascript"
1453           }
1454         }
1455       ],
1456       "request": {
1457         "method": "PUT",
1458         "header": [
1459           {
1460             "key": "Authorization",
1461             "value": "Basic QUFJOkFBSQ=="
1462           },
1463           {
1464             "key": "X-FromAppId",
1465             "value": "AAI"
1466           },
1467           {
1468             "key": "Accept",
1469             "value": "application/json"
1470           },
1471           {
1472             "key": "Content-Type",
1473             "value": "application/json"
1474           },
1475           {
1476             "key": "X-TransactionId",
1477             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
1478           }
1479         ],
1480         "body": {
1481           "mode": "raw",
1482           "raw": "{\n    \"service-id\": \"{{auto_service_id}}\"\n}"
1483         },
1484         "url": {
1485           "raw": "{{url-aai}}/aai/v16/business/customers/customer/{{customer_name}}/service-subscriptions/service-subscription/{{service}}",
1486           "host": [
1487             "{{url-aai}}"
1488           ],
1489           "path": [
1490             "aai",
1491             "v16",
1492             "business",
1493             "customers",
1494             "customer",
1495             "{{customer_name}}",
1496             "service-subscriptions",
1497             "service-subscription",
1498             "{{service}}"
1499           ]
1500         }
1501       },
1502       "response": []
1503     },
1504     {
1505       "name": "Add tenant to service-customer",
1506       "event": [
1507         {
1508           "listen": "test",
1509           "script": {
1510             "id": "9a9da50d-49ce-4f9e-ae18-6131dce516eb",
1511             "exec": [
1512               "pm.test(\"Status code is 200\", function () {",
1513               "    pm.response.to.have.status(201);",
1514               "});"
1515             ],
1516             "type": "text/javascript"
1517           }
1518         }
1519       ],
1520       "request": {
1521         "method": "PUT",
1522         "header": [
1523           {
1524             "key": "Authorization",
1525             "value": "Basic QUFJOkFBSQ=="
1526           },
1527           {
1528             "key": "X-FromAppId",
1529             "value": "AAI"
1530           },
1531           {
1532             "key": "Accept",
1533             "value": "application/json"
1534           },
1535           {
1536             "key": "Content-Type",
1537             "value": "application/json"
1538           },
1539           {
1540             "key": "X-TransactionId",
1541             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
1542           }
1543         ],
1544         "body": {
1545           "mode": "raw",
1546           "raw": "{\n    \"related-to\": \"tenant\",\n    \"related-link\": \"/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/tenants/tenant/{{tenant_id}}\",\n    \"relationship-data\": [\n        {\n            \"relationship-key\": \"cloud-region.cloud-owner\",\n            \"relationship-value\": \"{{cloud_owner_name}}\"\n        },\n        {\n            \"relationship-key\": \"cloud-region.cloud-region-id\",\n            \"relationship-value\": \"{{onap_cloud_region_id}}\"\n        },\n        {\n            \"relationship-key\": \"tenant.tenant-id\",\n            \"relationship-value\": \"{{tenant_id}}\"\n        }\n    ],\n    \"related-to-property\": [\n        {\n            \"property-key\": \"tenant.tenant-name\",\n            \"property-value\": \"{{tenant_name}}\"\n        }\n    ]\n}"
1547         },
1548         "url": {
1549           "raw": "{{url-aai}}/aai/v16/business/customers/customer/{{customer_name}}/service-subscriptions/service-subscription/{{service}}/relationship-list/relationship",
1550           "host": [
1551             "{{url-aai}}"
1552           ],
1553           "path": [
1554             "aai",
1555             "v16",
1556             "business",
1557             "customers",
1558             "customer",
1559             "{{customer_name}}",
1560             "service-subscriptions",
1561             "service-subscription",
1562             "{{service}}",
1563             "relationship-list",
1564             "relationship"
1565           ]
1566         }
1567       },
1568       "response": []
1569     },
1570     {
1571       "name": "check customer-service-tenant relation creation",
1572       "event": [
1573         {
1574           "listen": "test",
1575           "script": {
1576             "id": "10e61ec5-243b-4ce6-b9b8-a29054df2504",
1577             "exec": [
1578               "tests[\"Status code is 200\"] = responseCode.code === 200;",
1579               "",
1580               "var jsonData = pm.response.json();",
1581               "var service_found = false;",
1582               "for (var i = 0; i < jsonData[\"service-subscription\"].length; i++) { ",
1583               "   if (jsonData[\"service-subscription\"][i][\"service-type\"] === pm.environment.get(\"service\")) {",
1584               "       service_found = true;",
1585               "   }",
1586               "}",
1587               "tests[\"Service subscription : \"+pm.environment.get(\"service\")+\" found for customer : \"+pm.environment.get(\"customer_name\")] = service_found === true;",
1588               ""
1589             ],
1590             "type": "text/javascript"
1591           }
1592         }
1593       ],
1594       "request": {
1595         "method": "GET",
1596         "header": [
1597           {
1598             "key": "Authorization",
1599             "value": "Basic QUFJOkFBSQ=="
1600           },
1601           {
1602             "key": "X-FromAppId",
1603             "value": "AAI"
1604           },
1605           {
1606             "key": "Accept",
1607             "value": "application/json"
1608           },
1609           {
1610             "key": "Content-Type",
1611             "value": "application/json"
1612           },
1613           {
1614             "key": "X-TransactionId",
1615             "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f"
1616           }
1617         ],
1618         "body": {
1619           "mode": "raw",
1620           "raw": ""
1621         },
1622         "url": {
1623           "raw": "{{url-aai}}/aai/v16/business/customers/customer/{{customer_name}}/service-subscriptions?depth=all",
1624           "host": [
1625             "{{url-aai}}"
1626           ],
1627           "path": [
1628             "aai",
1629             "v16",
1630             "business",
1631             "customers",
1632             "customer",
1633             "{{customer_name}}",
1634             "service-subscriptions"
1635           ],
1636           "query": [
1637             {
1638               "key": "depth",
1639               "value": "all"
1640             }
1641           ]
1642         }
1643       },
1644       "response": []
1645     }
1646   ]
1647 }