3 "_postman_id": "dcfc4671-1cb4-453a-8fef-97a0ba533daa",
4 "name": "06_Onboard_Service",
5 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
9 "name": "check service exists and get infos",
14 "id": "4f27b99e-23ac-4e7c-a1dc-c42ad63d6f65",
16 "pm.test(\"Status code is 200\", function () {",
17 " pm.response.to.have.status(200);",
20 "var jsonData = pm.response.json();",
21 "var service_found = false;",
22 "for (var i = 0; i < jsonData.length; i++) { ",
23 " if (jsonData[i].name === pm.environment.get(\"service\")) {",
24 " service_found = true;",
25 " pm.environment.set(\"auto_service_uuid\", \"\"+jsonData[i].uuid+\"\");",
26 " pm.environment.set(\"auto_service_invariant_uuid\", \"\"+jsonData[i].invariantUUID+\"\");",
29 "if (service_found === false) {",
30 " tests[pm.environment.get(\"service\")+\" does not exist yet, we continue the run\"] = true;",
34 " tests[pm.environment.get(\"service\")+\" already exists, stop the run\"] = false;",
35 " postman.setNextRequest(null);",
38 "type": "text/javascript"
46 "key": "Content-Type",
47 "value": "application/json"
51 "value": "application/json"
54 "key": "X-TransactionId",
66 "key": "Authorization",
67 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
70 "key": "x-ecomp-instanceid",
79 "raw": "{{url-sdc}}/sdc/v1/catalog/services",
94 "name": "Declare an aLaCarte Service",
99 "id": "e6118e78-e476-4049-8e81-f81b53ba625a",
101 "pm.test(\"Status code is 201\", function () {",
102 " pm.response.to.have.status(201);",
105 "var jsonData = pm.response.json();",
106 "pm.environment.set(\"auto_service_invariant_uuid\", \"\"+jsonData[\"invariantUUID\"]+\"\");",
107 "pm.environment.set(\"auto_service_uuid\", \"\"+jsonData[\"uuid\"]+\"\");",
108 "pm.environment.set(\"auto_service_unique_id\", \"\"+jsonData[\"uniqueId\"]+\"\");",
110 "tests[\"Service status is : \"+jsonData.lifecycleState] = jsonData.lifecycleState === \"NOT_CERTIFIED_CHECKOUT\";"
112 "type": "text/javascript"
120 "key": "Content-Type",
121 "value": "application/json"
125 "value": "application/json"
128 "key": "X-TransactionId",
136 "key": "X-FromAppId",
140 "key": "Authorization",
141 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
144 "key": "x-ecomp-instanceid",
150 "raw": "{\r\n\t\"artifacts\": {},\r\n\t\"toscaArtifacts\": {},\r\n\t\"contactId\": \"cs0008\",\r\n\t\"categories\": [{\r\n\t\t\"name\": \"Network Service\",\r\n\t\t\"normalizedName\": \"network service\",\r\n\t\t\"uniqueId\": \"serviceNewCategory.network service\",\r\n\t\t\"icons\": [\"network_l_1-3\"],\r\n\t\t\"subcategories\": null,\r\n\t\t\"version\": null,\r\n\t\t\"ownerId\": null,\r\n\t\t\"empty\": false,\r\n\t\t\"type\": null\r\n\t}],\r\n\t\"description\": \"Service {{service}}\",\r\n\t\"icon\": \"defaulticon\",\r\n\t\"componentInstancesProperties\": {},\r\n\t\"componentInstancesAttributes\": {},\r\n\t\"name\": \"{{service}}\",\r\n\t\"tags\": [\"{{service}}\"],\r\n\t\"capabilities\": {},\r\n\t\"requirements\": {},\r\n\t\"deploymentArtifacts\": {},\r\n\t\"componentType\": \"SERVICE\",\r\n\t\"projectCode\": \"123456\",\r\n\t\"componentInstances\": [],\r\n\t\"properties\": [],\r\n\t\"attributes\": [],\r\n\t\"forwardingPaths\": {},\r\n\t\"ecompGeneratedNaming\": true,\r\n\t\"serviceApiArtifacts\": {},\r\n\t\"instantiationType\": \"A-la-carte\",\r\n\t\"environmentContext\": \"General_Revenue-Bearing\"\r\n}"
153 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services",
170 "name": "check VF exists and get uuid",
175 "id": "87b90661-aefb-4ec9-94fc-fb5277f8c283",
177 "pm.test(\"Status code is 200\", function () {",
178 " pm.response.to.have.status(200);",
181 "var jsonData = pm.response.json();",
182 "var vf_found = false;",
183 "if (jsonData.name === pm.environment.get(\"vf_name\")) {",
185 " pm.environment.set(\"auto_vf_uuid\", \"\"+jsonData.uuid+\"\");",
186 " pm.environment.set(\"auto_vf_invariant_uuid\", \"\"+jsonData.invariantUUID+\"\");",
190 "if (vf_found === false) {",
191 " tests[\"VF \"+pm.environment.get(\"vf_name\")+\" does not exists, we stop the run\"] = false;",
192 " postman.setNextRequest(null);",
197 " tests[\"VF \"+pm.environment.get(\"vf_name\")+\" exists, we continue the run\"] = true;",
200 "type": "text/javascript"
208 "key": "Content-Type",
209 "value": "application/json"
213 "value": "application/json"
216 "key": "X-TransactionId",
224 "key": "X-FromAppId",
228 "key": "Authorization",
229 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
232 "key": "x-ecomp-instanceid",
241 "raw": "{{url-sdc}}/sdc/v1/catalog/resources/{{auto_vf_uuid}}/metadata",
258 "name": "Get VF uniqueId",
263 "id": "16c73747-c973-40d9-ba3f-6061199386ec",
265 "pm.test(\"Status code is 200\", function () {",
266 " pm.response.to.have.status(200);",
268 "var jsonData = pm.response.json();",
269 "var vf_found = false;",
270 "for (var i = 0; i < jsonData.resources.length; i++) { ",
271 " if (jsonData.resources[i].name === pm.environment.get(\"vf_name\")) {",
273 " pm.environment.set(\"auto_vf_unique_id\", \"\"+jsonData.resources[i].uniqueId+\"\");",
278 "type": "text/javascript"
286 "key": "Content-Type",
287 "value": "application/json"
291 "value": "application/json"
294 "key": "X-TransactionId",
302 "key": "X-FromAppId",
306 "key": "Authorization",
307 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
310 "key": "x-ecomp-instanceid",
319 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/screen?excludeTypes=VFCMT&excludeTypes=Configuration",
332 "key": "excludeTypes",
336 "key": "excludeTypes",
337 "value": "Configuration"
345 "name": "Add VF to Service",
350 "id": "897b4588-b2e6-4af6-b469-09ae6ea3b797",
352 "pm.test(\"Status code is 201\", function () {",
353 " pm.response.to.have.status(201);",
355 "var jsonData = pm.response.json();",
356 "pm.environment.set(\"auto_vf_customization_uuid\", \"\"+jsonData.customizationUUID+\"\");",
357 "pm.environment.set(\"auto_vf_name_for_model\", \"\"+jsonData.name+\"\");",
361 "type": "text/javascript"
369 "key": "Content-Type",
370 "value": "application/json"
374 "value": "application/json"
377 "key": "X-TransactionId",
385 "key": "X-FromAppId",
389 "key": "Authorization",
390 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
393 "key": "x-ecomp-instanceid",
399 "raw": "{\r\n\t\"name\": \"{{vf_name}}\",\r\n\t\"componentVersion\": \"1.0\",\r\n\t\"posY\": 100,\r\n\t\"posX\": 200,\r\n\t\"uniqueId\": \"{{auto_vf_unique_id}}\",\r\n\t\"originType\": \"VF\",\r\n\t\"componentUid\": \"{{auto_vf_unique_id}}\",\r\n\t\"icon\": \"defaulticon\"\r\n}\r\n"
402 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services/{{auto_service_unique_id}}/resourceInstance",
413 "{{auto_service_unique_id}}",
421 "name": "Get Generic Neutron Virtual Link infos",
426 "id": "8bc90be4-f039-44cb-af75-7f3addd63bdd",
428 "var vl_found = false;",
429 "if (pm.response.code === 404) {",
430 " tests[pm.environment.get(\"virtual_link_type\")+\" does not exists\"] = true;",
433 " if (pm.response.code === 200) {",
434 " tests[\"Status code is 200\"] = pm.response.code === 200;",
436 " var jsonData = pm.response.json();",
437 " for (var i = 0; i < jsonData.length; i++) { ",
438 " if (jsonData[i].name === pm.environment.get(\"virtual_link_type\")) {",
440 " pm.environment.set(\"auto_virtual_link_uuid\", \"\"+jsonData[i].uuid+\"\");",
441 " pm.environment.set(\"auto_virtual_link_invariant_uuid\", \"\"+jsonData[i].invariantUUID+\"\");",
444 " if (vl_found === false) {",
445 " tests[pm.environment.get(\"virtual_link_type\")+\" does not exists, we stop the run\"] = false;",
446 " postman.setNextRequest(null);",
450 " tests[pm.environment.get(\"virtual_link_type\")+\" exists, we continue the run\"] = true;",
454 "type": "text/javascript"
462 "key": "Content-Type",
463 "value": "application/json"
467 "value": "application/json"
470 "key": "X-TransactionId",
478 "key": "X-FromAppId",
482 "key": "Authorization",
483 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
486 "key": "x-ecomp-instanceid",
495 "raw": "{{url-sdc}}/sdc/v1/catalog/resources?resourceType=VL",
507 "key": "resourceType",
516 "name": "Get Generic Neutron Virtual Link uniqueId",
521 "id": "d906fb7e-04f9-445e-be5a-9644520171e1",
523 "pm.test(\"Status code is 200\", function () {",
524 " pm.response.to.have.status(200);",
527 "var jsonData = pm.response.json();",
528 "var vl_found = false;",
529 "for (var i = 0; i < jsonData.resources.length; i++) { ",
530 " if (jsonData.resources[i].name === pm.environment.get(\"virtual_link_type\")) {",
532 " pm.environment.set(\"auto_virtual_link_unique_id\", \"\"+jsonData.resources[i].uniqueId+\"\");",
533 " tests[\"Virtual Link : \"+pm.environment.get(\"virtual_link_type\")+\" found in SDC catalog with uniqueId = \"+pm.environment.get(\"auto_virtual_link_unique_id\")] = true;",
538 "type": "text/javascript"
546 "key": "Content-Type",
547 "value": "application/json"
551 "value": "application/json"
554 "key": "X-TransactionId",
562 "key": "X-FromAppId",
566 "key": "Authorization",
567 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
570 "key": "x-ecomp-instanceid",
579 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/screen?excludeTypes=VFCMT&excludeTypes=Configuration",
592 "key": "excludeTypes",
596 "key": "excludeTypes",
597 "value": "Configuration"
605 "name": "Add a Generic Neutron VirtualLink to Service",
610 "id": "0f07c2d5-49a1-4bf8-a3b5-6502674821af",
612 "pm.test(\"Status code is 201\", function () {",
613 " pm.response.to.have.status(201);",
616 "var jsonData = pm.response.json();",
617 "pm.environment.set(\"auto_virtual_link_customization_uuid\", \"\"+jsonData.customizationUUID+\"\");",
618 "pm.environment.set(\"auto_virtual_link_name_for_model\", \"\"+jsonData.name+\"\");",
622 "type": "text/javascript"
630 "key": "Content-Type",
631 "value": "application/json"
635 "value": "application/json"
638 "key": "X-TransactionId",
646 "key": "X-FromAppId",
650 "key": "Authorization",
651 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
654 "key": "x-ecomp-instanceid",
660 "raw": "{\r\n\t\"name\": \"{{virtual_link_type}}\",\r\n\t\"componentVersion\": \"1.0\",\r\n\t\"posY\": 200,\r\n\t\"posX\": 300,\r\n\t\"uniqueId\": \"{{auto_virtual_link_unique_id}}\",\r\n\t\"originType\": \"VL\",\r\n\t\"componentUid\": \"{{auto_virtual_link_unique_id}}\",\r\n\t\"icon\": \"defaulticon\"\r\n}\r\n"
663 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services/{{auto_service_unique_id}}/resourceInstance",
674 "{{auto_service_unique_id}}",
682 "name": "Submit for testing",
687 "id": "f3215da0-5a6c-474c-9cc2-6733b36f1347",
689 "pm.test(\"Status code is 200\", function () {",
690 " pm.response.to.have.status(200);",
693 "var jsonData = pm.response.json();",
695 "tests[\"Service status is : \"+jsonData.lifecycleState] = jsonData.lifecycleState === \"READY_FOR_CERTIFICATION\";",
698 "type": "text/javascript"
706 "key": "Content-Type",
707 "value": "application/json"
711 "value": "application/json"
714 "key": "X-TransactionId",
722 "key": "X-FromAppId",
726 "key": "Authorization",
727 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
730 "key": "x-ecomp-instanceid",
736 "raw": "{\"userRemarks\":\"please test\"}"
739 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services/{{auto_service_unique_id}}/lifecycleState/certificationRequest",
750 "{{auto_service_unique_id}}",
752 "certificationRequest"
759 "name": "Start Certification",
764 "id": "e9143951-e32e-4d93-b970-20b54ea64fd4",
766 "pm.test(\"Status code is 200\", function () {",
767 " pm.response.to.have.status(200);",
770 "var jsonData = pm.response.json();",
771 "tests[\"Service status is : \"+jsonData.lifecycleState] = jsonData.lifecycleState === \"CERTIFICATION_IN_PROGRESS\";"
773 "type": "text/javascript"
781 "key": "Content-Type",
782 "value": "application/json"
786 "value": "application/json"
789 "key": "X-TransactionId",
797 "key": "X-FromAppId",
801 "key": "Authorization",
802 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
805 "key": "x-ecomp-instanceid",
814 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services/{{auto_service_unique_id}}/lifecycleState/startCertification",
825 "{{auto_service_unique_id}}",
839 "id": "2ca11efa-040f-4927-b30f-e58912f0db83",
841 "pm.test(\"Status code is 200\", function () {",
842 " pm.response.to.have.status(200);",
845 "var jsonData = pm.response.json();",
847 "tests[\"Service status is : \"+jsonData.lifecycleState] = jsonData.lifecycleState === \"CERTIFIED\";",
849 "pm.environment.set(\"auto_service_new_unique_id\", \"\"+jsonData.uniqueId+\"\");",
852 "type": "text/javascript"
860 "key": "Content-Type",
861 "value": "application/json"
865 "value": "application/json"
868 "key": "X-TransactionId",
876 "key": "X-FromAppId",
880 "key": "Authorization",
881 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
884 "key": "x-ecomp-instanceid",
890 "raw": "{\"userRemarks\":\"ok\"}"
893 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services/{{auto_service_unique_id}}/lifecycleState/certify",
904 "{{auto_service_unique_id}}",
913 "name": "Get Service infos by uniqueID to get new_service_unique_id",
918 "id": "cecdbf68-2176-4dc1-8321-6285d57a2e8f",
920 "pm.test(\"Status code is 200\", function () {",
921 " pm.response.to.have.status(200);",
924 "var jsonData = pm.response.json();",
925 "pm.environment.set(\"auto_service_new_unique_id\", \"\"+jsonData[\"metadata\"][\"allVersions\"][\"1.0\"]+\"\");",
928 "type": "text/javascript"
936 "key": "Content-Type",
937 "value": "application/json"
941 "value": "application/json"
944 "key": "X-TransactionId",
952 "key": "X-FromAppId",
956 "key": "Authorization",
957 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
960 "key": "x-ecomp-instanceid",
969 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services/{{auto_service_unique_id}}/filteredDataByParams?include=metadata",
980 "{{auto_service_unique_id}}",
981 "filteredDataByParams"
994 "name": "Approve distribution",
999 "id": "ef5105ec-e9ea-454a-954a-3398364ecb89",
1001 "pm.test(\"Status code is 200\", function () {",
1002 " pm.response.to.have.status(200);",
1005 "var jsonData = pm.response.json();",
1007 "tests[\"Distribution status is : \"+jsonData.distributionStatus] = jsonData.distributionStatus === \"DISTRIBUTION_APPROVED\";",
1010 "type": "text/javascript"
1018 "key": "Content-Type",
1019 "value": "application/json"
1023 "value": "application/json"
1026 "key": "X-TransactionId",
1027 "value": "ONAP-Test"
1034 "key": "X-FromAppId",
1035 "value": "ONAP-Test"
1038 "key": "Authorization",
1039 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
1042 "key": "x-ecomp-instanceid",
1043 "value": "ONAP-Test"
1048 "raw": "{\"userRemarks\":\"ok\"}"
1051 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services/{{auto_service_new_unique_id}}/distribution-state/approve",
1062 "{{auto_service_new_unique_id}}",
1063 "distribution-state",
1071 "name": "Distribute service",
1076 "id": "cf7fe737-3858-4235-88b8-73640775d871",
1078 "pm.test(\"Status code is 200\", function () {",
1079 " pm.response.to.have.status(200);",
1082 "var jsonData = pm.response.json();",
1084 "tests[\"Distribution status is : \"+jsonData.distributionStatus] = jsonData.distributionStatus === \"DISTRIBUTED\";",
1086 "pm.environment.set(\"auto_vf_module_model_name\", \"\"+jsonData.componentInstances[0].groupInstances[0].groupName+\"\");",
1087 "pm.environment.set(\"auto_vf_module_model_customization_name\", \"\"+jsonData.componentInstances[0].groupInstances[0].groupName+\"\");",
1088 "pm.environment.set(\"auto_vf_module_model_uuid\", \"\"+jsonData.componentInstances[0].groupInstances[0].groupUUID+\"\");",
1089 "pm.environment.set(\"auto_vf_module_model_invariant_uuid\", \"\"+jsonData.componentInstances[0].groupInstances[0].invariantUUID+\"\");",
1090 "pm.environment.set(\"auto_vf_module_model_customization_uuid\", \"\"+jsonData.componentInstances[0].groupInstances[0].customizationUUID+\"\");",
1091 "pm.environment.set(\"auto_virtual_link_model_customization_uuid\", \"\"+jsonData.componentInstances[1].customizationUUID+\"\");"
1093 "type": "text/javascript"
1101 "key": "Content-Type",
1102 "value": "application/json"
1106 "value": "application/json"
1109 "key": "X-TransactionId",
1110 "value": "ONAP-Test"
1117 "key": "X-FromAppId",
1118 "value": "ONAP-Test"
1121 "key": "Authorization",
1122 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU="
1125 "key": "x-ecomp-instanceid",
1126 "value": "ONAP-Test"
1134 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services/{{auto_service_new_unique_id}}/distribution/PROD/activate",
1145 "{{auto_service_new_unique_id}}",
1155 "name": "check distribution",
1160 "id": "401f90b3-649f-4f3f-a2bd-ef996a54e47b",
1162 "pm.test(\"Status code is 200\", function () {",
1163 " pm.response.to.have.status(200);",
1166 "var jsonData = pm.response.json();",
1167 "var distrib_done = false;",
1168 "for (var i = 0; i < jsonData.distributionStatusOfServiceList.length; i++) { ",
1169 " if (jsonData.distributionStatusOfServiceList[i].deployementStatus === \"Distributed\") {",
1170 " distrib_done = true;",
1171 " pm.environment.set(\"auto_distribution_id\", \"\"+jsonData.distributionStatusOfServiceList[i].distributionID+\"\");",
1175 "if (distrib_done === false) {",
1176 " tests[pm.environment.get(\"service\")+\" not distributed, we stop the run\"] = false;",
1177 " postman.setNextRequest(null);",
1181 " tests[pm.environment.get(\"service\")+\" distributed\"] = true;",
1184 "type": "text/javascript"
1192 "key": "Content-Type",
1193 "value": "application/json"
1197 "value": "application/json"
1200 "key": "X-TransactionId",
1201 "value": "ONAP-Test"
1208 "key": "X-FromAppId",
1209 "value": "ONAP-Test"
1212 "key": "Authorization",
1213 "value": "Basic YmVlcDpib29w"
1216 "key": "x-ecomp-instanceid",
1217 "value": "ONAP-Test"
1225 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services/{{auto_service_uuid}}/distribution",
1236 "{{auto_service_uuid}}",
1244 "name": "check distribution fully completed after 60s",
1249 "id": "86932912-3b35-409d-bdbf-003550969f10",
1251 "tests[\"Status code is 200\"] = responseCode.code === 200;",
1253 "var jsonData = pm.response.json();",
1254 "var distrib_SO = false;",
1255 "var distrib_AAI = false;",
1256 "var distrib_SDNC = false;",
1257 "var distrib_MultiCloud = false;",
1258 "var distrib_CDS = false;",
1259 "var distrib_policy = false;",
1261 "for (var i = 0; i < jsonData.distributionStatusList.length; i++) { ",
1262 " if ((jsonData.distributionStatusList[i].omfComponentID === \"SO-COpenSource-Env11\") && (jsonData.distributionStatusList[i].status === \"DOWNLOAD_OK\"))",
1264 " distrib_SO = true;",
1266 " if ((jsonData.distributionStatusList[i].omfComponentID === \"aai-ml\") && (jsonData.distributionStatusList[i].status === \"DOWNLOAD_OK\"))",
1268 " distrib_AAI = true;",
1270 " if ((jsonData.distributionStatusList[i].omfComponentID === \"sdc-COpenSource-Env11-sdnc-dockero\") && (jsonData.distributionStatusList[i].status === \"DOWNLOAD_OK\"))",
1272 " distrib_SDNC = true;",
1274 " if ((jsonData.distributionStatusList[i].omfComponentID === \"multicloud-k8s-id\") && (jsonData.distributionStatusList[i].status === \"DOWNLOAD_OK\"))",
1276 " distrib_MultiCloud = true;",
1278 " if ((jsonData.distributionStatusList[i].omfComponentID === \"cds\") && (jsonData.distributionStatusList[i].status === \"DOWNLOAD_OK\"))",
1280 " distrib_CDS = true;",
1282 " if ((jsonData.distributionStatusList[i].omfComponentID === \"policy-id\") && (jsonData.distributionStatusList[i].status === \"DOWNLOAD_OK\"))",
1284 " distrib_policy = true;",
1289 "if (distrib_SO === false) {",
1290 " tests[pm.globals.get(\"service\")+\" not distributed to SO\"] = false;",
1294 " tests[pm.environment.get(\"service\")+\" distributed to SO\"] = true;",
1297 "if (distrib_AAI === false) {",
1298 " tests[pm.environment.get(\"service\")+\" not distributed to AAI\"] = false;",
1302 " tests[pm.environment.get(\"service\")+\" distributed to AAI\"] = true;",
1305 "if (distrib_SDNC === false) {",
1306 " tests[pm.environment.get(\"service\")+\" not distributed to SDNC\"] = false;",
1310 " tests[pm.environment.get(\"service\")+\" distributed to SDNC\"] = true;",
1312 "if (distrib_MultiCloud === false) {",
1313 " tests[pm.environment.get(\"service\")+\" not distributed to MultiCloud\"] = false;",
1317 " tests[pm.environment.get(\"service\")+\" distributed to MultiCloud\"] = true;",
1319 "if (distrib_CDS === false) {",
1320 " tests[pm.environment.get(\"service\")+\" not distributed to CDS\"] = false;",
1324 " tests[pm.environment.get(\"service\")+\" distributed to CDS\"] = true;",
1326 "if (distrib_policy === false) {",
1327 " tests[pm.environment.get(\"service\")+\" not distributed to Policy\"] = false;",
1331 " tests[pm.environment.get(\"service\")+\" distributed to Policy\"] = true;",
1335 "type": "text/javascript"
1339 "listen": "prerequest",
1341 "id": "9a1093c2-5c2d-47f6-892e-1a049cff8931",
1343 " var date = new Date();",
1344 " var curDate = null;",
1346 " curDate = new Date();",
1348 " while (curDate - date < 10000);"
1350 "type": "text/javascript"
1358 "key": "Content-Type",
1359 "value": "application/json"
1363 "value": "application/json"
1366 "key": "X-TransactionId",
1367 "value": "ONAP-Test"
1374 "key": "X-FromAppId",
1375 "value": "ONAP-Test"
1378 "key": "Authorization",
1379 "value": "Basic YmVlcDpib29w"
1382 "key": "x-ecomp-instanceid",
1383 "value": "ONAP-Test"
1391 "raw": "{{url-sdc2}}/sdc1/feProxy/rest/v1/catalog/services/distribution/{{auto_distribution_id}}",
1403 "{{auto_distribution_id}}"