faa53d2f7e1b96b5ec9c1a91cb63b3cee7f3fd70
[integration.git] / test / postman / 08_Declare_Customer_Service_Subscription_Cloud.postman_collection.json
1 {
2         "variables": [],
3         "info": {
4                 "name": "08_Declare_Customer_Service_Subscription_Cloud",
5                 "_postman_id": "ea6f17c2-1abd-62ff-a260-17fad1bdf6b8",
6                 "description": "",
7                 "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
8         },
9         "item": [
10                 {
11                         "name": "List Customers",
12                         "event": [
13                                 {
14                                         "listen": "test",
15                                         "script": {
16                                                 "type": "text/javascript",
17                                                 "exec": [
18                                                         "var customer_found = false;",
19                                                         "if (responseCode.code === 404) {",
20                                                         "    tests[postman.getGlobalVariable(\"customer_name\")+\" does not exists\"] = true;",
21                                                         "}",
22                                                         "else {",
23                                                         "    if (responseCode.code === 200) {",
24                                                         "        tests[\"Status code is 200\"] = responseCode.code === 200;",
25                                                         "        }",
26                                                         "    var jsonData = JSON.parse(responseBody);",
27                                                         "    for (var i = 0; i < jsonData.customer.length; i++) { ",
28                                                         "       if (jsonData.customer[i][\"global-customer-id\"] === postman.getGlobalVariable(\"customer_name\")) {",
29                                                         "           customer_found = true;",
30                                                         "           postman.setGlobalVariable(\"auto_customer_id\", \"\"+jsonData.customer[i][\"global-customer-id\"]+\"\");",
31                                                         "       }",
32                                                         "    }",
33                                                         "    if (customer_found === false) {",
34                                                         "        tests[postman.getGlobalVariable(\"customer_name\")+\" does not exists\"] = true;",
35                                                         "    }",
36                                                         "    ",
37                                                         "    else {",
38                                                         "        tests[postman.getGlobalVariable(\"customer_name\")+\" already exists, we skip creation\"] = true;",
39                                                         "        postman.setNextRequest(\"List Services from SDC catalog\");",
40                                                         "    }",
41                                                         "}"
42                                                 ]
43                                         }
44                                 }
45                         ],
46                         "request": {
47                                 "url": "{{url-aai}}/aai/v14/business/customers",
48                                 "method": "GET",
49                                 "header": [
50                                         {
51                                                 "key": "Authorization",
52                                                 "value": "Basic QUFJOkFBSQ==",
53                                                 "description": ""
54                                         },
55                                         {
56                                                 "key": "X-FromAppId",
57                                                 "value": "AAI",
58                                                 "description": ""
59                                         },
60                                         {
61                                                 "key": "Accept",
62                                                 "value": "application/json",
63                                                 "description": ""
64                                         },
65                                         {
66                                                 "key": "Content-Type",
67                                                 "value": "application/json",
68                                                 "description": ""
69                                         },
70                                         {
71                                                 "key": "X-TransactionId",
72                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
73                                                 "description": ""
74                                         }
75                                 ],
76                                 "body": {
77                                         "mode": "raw",
78                                         "raw": "{\r\n    \"global-customer-id\": \"Chouchen22\",\r\n    \"subscriber-name\": \"Chouchen22\",\r\n    \"subscriber-type\": \"INFRA\"\r\n}"
79                                 },
80                                 "description": ""
81                         },
82                         "response": []
83                 },
84                 {
85                         "name": "Declare a Customer",
86                         "event": [
87                                 {
88                                         "listen": "test",
89                                         "script": {
90                                                 "type": "text/javascript",
91                                                 "exec": [
92                                                         "tests[\"Status code is 201\"] = responseCode.code === 201;"
93                                                 ]
94                                         }
95                                 }
96                         ],
97                         "request": {
98                                 "url": "{{url-aai}}/aai/v14/business/customers/customer/{{customer_name}}",
99                                 "method": "PUT",
100                                 "header": [
101                                         {
102                                                 "key": "Authorization",
103                                                 "value": "Basic QUFJOkFBSQ==",
104                                                 "description": ""
105                                         },
106                                         {
107                                                 "key": "X-FromAppId",
108                                                 "value": "AAI",
109                                                 "description": ""
110                                         },
111                                         {
112                                                 "key": "Accept",
113                                                 "value": "application/json",
114                                                 "description": ""
115                                         },
116                                         {
117                                                 "key": "Content-Type",
118                                                 "value": "application/json",
119                                                 "description": ""
120                                         },
121                                         {
122                                                 "key": "X-TransactionId",
123                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
124                                                 "description": ""
125                                         }
126                                 ],
127                                 "body": {
128                                         "mode": "raw",
129                                         "raw": "{\n    \"global-customer-id\": \"{{customer_name}}\",\n    \"subscriber-name\": \"{{customer_name}}\",\n    \"subscriber-type\": \"INFRA\"\n}"
130                                 },
131                                 "description": ""
132                         },
133                         "response": []
134                 },
135                 {
136                         "name": "Check customer creation",
137                         "event": [
138                                 {
139                                         "listen": "test",
140                                         "script": {
141                                                 "type": "text/javascript",
142                                                 "exec": [
143                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;",
144                                                         "",
145                                                         "var jsonData = JSON.parse(responseBody);",
146                                                         "var customer_found = false;",
147                                                         "for (var i = 0; i < jsonData.customer.length; i++) { ",
148                                                         "   if (jsonData.customer[i][\"global-customer-id\"] === postman.getGlobalVariable(\"customer_name\")) {",
149                                                         "       customer_found = true;",
150                                                         "       postman.setGlobalVariable(\"auto_customer_id\", \"\"+jsonData.customer[i][\"global-customer-id\"]+\"\");",
151                                                         "   }",
152                                                         "}",
153                                                         "tests[postman.getGlobalVariable(\"customer_name\")+\" found\"] = customer_found === true;"
154                                                 ]
155                                         }
156                                 }
157                         ],
158                         "request": {
159                                 "url": "{{url-aai}}/aai/v14/business/customers",
160                                 "method": "GET",
161                                 "header": [
162                                         {
163                                                 "key": "Authorization",
164                                                 "value": "Basic QUFJOkFBSQ==",
165                                                 "description": ""
166                                         },
167                                         {
168                                                 "key": "X-FromAppId",
169                                                 "value": "AAI",
170                                                 "description": ""
171                                         },
172                                         {
173                                                 "key": "Accept",
174                                                 "value": "application/json",
175                                                 "description": ""
176                                         },
177                                         {
178                                                 "key": "Content-Type",
179                                                 "value": "application/json",
180                                                 "description": ""
181                                         },
182                                         {
183                                                 "key": "X-TransactionId",
184                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
185                                                 "description": ""
186                                         }
187                                 ],
188                                 "body": {
189                                         "mode": "raw",
190                                         "raw": "{\r\n    \"global-customer-id\": \"Chouchen22\",\r\n    \"subscriber-name\": \"Chouchen22\",\r\n    \"subscriber-type\": \"INFRA\"\r\n}"
191                                 },
192                                 "description": ""
193                         },
194                         "response": []
195                 },
196                 {
197                         "name": "List Services from SDC catalog",
198                         "event": [
199                                 {
200                                         "listen": "test",
201                                         "script": {
202                                                 "type": "text/javascript",
203                                                 "exec": [
204                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;",
205                                                         "",
206                                                         "var jsonData = JSON.parse(responseBody);",
207                                                         "var service_found = false;",
208                                                         "for (var i = 0; i < jsonData.length; i++) { ",
209                                                         "   if (jsonData[i][\"name\"] === postman.getGlobalVariable(\"service\")) {",
210                                                         "       service_found = true;",
211                                                         "       postman.setGlobalVariable(\"auto_service_invariantUUID\", \"\"+jsonData[i][\"invariantUUID\"]+\"\");",
212                                                         "   }",
213                                                         "}",
214                                                         "",
215                                                         "if (service_found === false) {",
216                                                         "    tests[postman.getGlobalVariable(\"service\")+\" does not exists\"] = true;",
217                                                         "    postman.setNextRequest(null);",
218                                                         "}",
219                                                         "",
220                                                         "else {",
221                                                         "    tests[postman.getGlobalVariable(\"service\")+\" exists, we continue the run\"] = true;",
222                                                         "}"
223                                                 ]
224                                         }
225                                 }
226                         ],
227                         "request": {
228                                 "url": "{{url-sdc}}/sdc/v1/catalog/services",
229                                 "method": "GET",
230                                 "header": [
231                                         {
232                                                 "key": "Content-Type",
233                                                 "value": "application/json",
234                                                 "description": ""
235                                         },
236                                         {
237                                                 "key": "Accept",
238                                                 "value": "application/json",
239                                                 "description": ""
240                                         },
241                                         {
242                                                 "key": "X-TransactionId",
243                                                 "value": "ONAP-Test",
244                                                 "description": ""
245                                         },
246                                         {
247                                                 "key": "USER_ID",
248                                                 "value": "cs0008",
249                                                 "description": ""
250                                         },
251                                         {
252                                                 "key": "X-FromAppId",
253                                                 "value": "ONAP-Test",
254                                                 "description": ""
255                                         },
256                                         {
257                                                 "key": "Authorization",
258                                                 "value": "Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=",
259                                                 "description": ""
260                                         },
261                                         {
262                                                 "key": "x-ecomp-instanceid",
263                                                 "value": "ONAP-Test",
264                                                 "description": ""
265                                         }
266                                 ],
267                                 "body": {
268                                         "mode": "raw",
269                                         "raw": "{\"contactId\": \"cs0008\", \"vendorRelease\": \"1.0\", \"requirements\": {}, \"artifacts\": {}, \"capabilities\": {}, \"componentInstancesProperties\": {}, \"deploymentArtifacts\": {}, \"icon\": \"defaulticon\", \"vendorName\": \"test-api-license-model\", \"description\": \"vendor software product\", \"tags\": [\"test-vsp\"], \"groups\": [], \"properties\": [], \"categories\": [{\"subcategories\": [{\"normalizedName\": \"abstract\", \"name\": \"Abstract\", \"uniqueId\": \"resourceNewCategory.generic.abstract\", \"icons\": [\"icon\"]}], \"normalizedName\": \"generic\", \"name\": \"Generic\", \"uniqueId\": \"resourceNewCategory.generic\"}], \"name\": \"test-vsp\", \"toscaArtifacts\": {}, \"csarUUID\": \"F3CD5189C2DF45B4B1CFA6D6E45FD613\", \"resourceType\": \"VF\", \"csarVersion\": \"1.0\", \"componentType\": \"RESOURCE\", \"componentInstancesAttributes\": {}, \"attributes\": [], \"componentInstances\": []}"
270                                 },
271                                 "description": ""
272                         },
273                         "response": []
274                 },
275                 {
276                         "name": "Check Subscription in AAI",
277                         "event": [
278                                 {
279                                         "listen": "test",
280                                         "script": {
281                                                 "type": "text/javascript",
282                                                 "exec": [
283                                                         "var service_found = false;",
284                                                         "if (responseCode.code === 404) {",
285                                                         "    tests[postman.getGlobalVariable(\"service\")+\" does not exists in AAI\"] = true;",
286                                                         "}",
287                                                         "else {",
288                                                         "    if (responseCode.code === 200) {",
289                                                         "        tests[\"Status code is 200\"] = responseCode.code === 200;",
290                                                         "        }",
291                                                         "    var jsonData = JSON.parse(responseBody);",
292                                                         "    for (var i = 0; i < jsonData.service.length; i++) { ",
293                                                         "       if (jsonData.service[i][\"service-description\"] === postman.getGlobalVariable(\"service\")) {",
294                                                         "           service_found = true;",
295                                                         "       }",
296                                                         "    }",
297                                                         "    ",
298                                                         "    if (service_found === false) {",
299                                                         "        tests[postman.getGlobalVariable(\"service\")+\" does not exists in AAI\"] = true;",
300                                                         "    }",
301                                                         "    ",
302                                                         "    else {",
303                                                         "        tests[postman.getGlobalVariable(\"service\")+\" already exists in AAI, we skip creation\"] = true;",
304                                                         "        postman.setNextRequest(\"check cloud-region exists\");",
305                                                         "    }",
306                                                         "}"
307                                                 ]
308                                         }
309                                 }
310                         ],
311                         "request": {
312                                 "url": "{{url-aai}}/aai/v14/service-design-and-creation/services",
313                                 "method": "GET",
314                                 "header": [
315                                         {
316                                                 "key": "Accept",
317                                                 "value": "application/json",
318                                                 "description": ""
319                                         },
320                                         {
321                                                 "key": "Content-Type",
322                                                 "value": "application/json",
323                                                 "description": ""
324                                         },
325                                         {
326                                                 "key": "X-FromAppId",
327                                                 "value": "AAI",
328                                                 "description": ""
329                                         },
330                                         {
331                                                 "key": "X-TransactionId",
332                                                 "value": "get_aai_subscr",
333                                                 "description": ""
334                                         },
335                                         {
336                                                 "key": "Authorization",
337                                                 "value": "Basic QUFJOkFBSQ==",
338                                                 "description": ""
339                                         }
340                                 ],
341                                 "body": {
342                                         "mode": "raw",
343                                         "raw": ""
344                                 },
345                                 "description": ""
346                         },
347                         "response": []
348                 },
349                 {
350                         "name": "Declare subscription in AAI",
351                         "request": {
352                                 "url": "{{url-aai}}/aai/v14/service-design-and-creation/services/service/{{auto_service_invariantUUID}}",
353                                 "method": "PUT",
354                                 "header": [
355                                         {
356                                                 "key": "Authorization",
357                                                 "value": "Basic QUFJOkFBSQ==",
358                                                 "description": ""
359                                         },
360                                         {
361                                                 "key": "X-FromAppId",
362                                                 "value": "AAI",
363                                                 "description": ""
364                                         },
365                                         {
366                                                 "key": "Accept",
367                                                 "value": "application/json",
368                                                 "description": ""
369                                         },
370                                         {
371                                                 "key": "X-TransactionId",
372                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
373                                                 "description": ""
374                                         },
375                                         {
376                                                 "key": "Content-Type",
377                                                 "value": "application/json",
378                                                 "description": ""
379                                         }
380                                 ],
381                                 "body": {
382                                         "mode": "raw",
383                                         "raw": "{\r\n\"service-id\": \"{{auto_service_invariantUUID}}\",\r\n\"service-description\": \"{{service}}\"\r\n}"
384                                 },
385                                 "description": ""
386                         },
387                         "response": []
388                 },
389                 {
390                         "name": "Check Subscription creation in AAI",
391                         "event": [
392                                 {
393                                         "listen": "test",
394                                         "script": {
395                                                 "type": "text/javascript",
396                                                 "exec": [
397                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;",
398                                                         "",
399                                                         "var jsonData = JSON.parse(responseBody);",
400                                                         "var service_found = false;",
401                                                         "for (var i = 0; i < jsonData.service.length; i++) { ",
402                                                         "   if (jsonData.service[i][\"service-description\"] === postman.getGlobalVariable(\"service\")) {",
403                                                         "       service_found = true;",
404                                                         "       postman.setGlobalVariable(\"auto_service_resource_version\", \"\"+jsonData.service[i][\"resource-version\"]+\"\");",
405                                                         "   }",
406                                                         "}",
407                                                         "tests[postman.getGlobalVariable(\"service\")+\" found\"] = service_found === true;"
408                                                 ]
409                                         }
410                                 }
411                         ],
412                         "request": {
413                                 "url": "{{url-aai}}/aai/v14/service-design-and-creation/services",
414                                 "method": "GET",
415                                 "header": [
416                                         {
417                                                 "key": "Accept",
418                                                 "value": "application/json",
419                                                 "description": ""
420                                         },
421                                         {
422                                                 "key": "Content-Type",
423                                                 "value": "application/json",
424                                                 "description": ""
425                                         },
426                                         {
427                                                 "key": "X-FromAppId",
428                                                 "value": "AAI",
429                                                 "description": ""
430                                         },
431                                         {
432                                                 "key": "X-TransactionId",
433                                                 "value": "get_aai_subscr",
434                                                 "description": ""
435                                         },
436                                         {
437                                                 "key": "Authorization",
438                                                 "value": "Basic QUFJOkFBSQ==",
439                                                 "description": ""
440                                         }
441                                 ],
442                                 "body": {
443                                         "mode": "raw",
444                                         "raw": ""
445                                 },
446                                 "description": ""
447                         },
448                         "response": []
449                 },
450                 {
451                         "name": "check complex exists",
452                         "event": [
453                                 {
454                                         "listen": "test",
455                                         "script": {
456                                                 "type": "text/javascript",
457                                                 "exec": [
458                                                         "var complex_found = false;",
459                                                         "if (responseCode.code === 404) {",
460                                                         "    tests[postman.getGlobalVariable(\"complex_name\")+\" does not exists in AAI\"] = true;",
461                                                         "}",
462                                                         "else {",
463                                                         "    if (responseCode.code === 200) {",
464                                                         "        tests[\"Status code is 200\"] = responseCode.code === 200;",
465                                                         "        }",
466                                                         "var jsonData = JSON.parse(responseBody);",
467                                                         "for (var i = 0; i < jsonData[\"complex\"].length; i++) { ",
468                                                         "   if (jsonData[\"complex\"][i][\"complex-name\"] === postman.getGlobalVariable(\"complex_name\")) {",
469                                                         "       complex_found = true;",
470                                                         "   }",
471                                                         "}",
472                                                         "",
473                                                         "if (complex_found === false) {",
474                                                         "    tests[postman.getGlobalVariable(\"complex_name\")+\" does not exists\"] = true;",
475                                                         "}",
476                                                         "else {",
477                                                         "    tests[postman.getGlobalVariable(\"complex_name\")+\" already exists, we skip creation\"] = true;",
478                                                         "    postman.setNextRequest(\"check cloud-region exists\");",
479                                                         "}",
480                                                         "}"
481                                                 ]
482                                         }
483                                 }
484                         ],
485                         "request": {
486                                 "url": "{{url-aai}}/aai/v14/cloud-infrastructure/complexes",
487                                 "method": "GET",
488                                 "header": [
489                                         {
490                                                 "key": "Authorization",
491                                                 "value": "Basic QUFJOkFBSQ==",
492                                                 "description": ""
493                                         },
494                                         {
495                                                 "key": "X-FromAppId",
496                                                 "value": "AAI",
497                                                 "description": ""
498                                         },
499                                         {
500                                                 "key": "Accept",
501                                                 "value": "application/json",
502                                                 "description": ""
503                                         },
504                                         {
505                                                 "key": "X-TransactionId",
506                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
507                                                 "description": ""
508                                         }
509                                 ],
510                                 "body": {},
511                                 "description": ""
512                         },
513                         "response": []
514                 },
515                 {
516                         "name": "create Complex",
517                         "event": [
518                                 {
519                                         "listen": "test",
520                                         "script": {
521                                                 "type": "text/javascript",
522                                                 "exec": [
523                                                         "tests[\"Status code is 201\"] = responseCode.code === 201;"
524                                                 ]
525                                         }
526                                 }
527                         ],
528                         "request": {
529                                 "url": "{{url-aai}}/aai/v14/cloud-infrastructure/complexes/complex/{{complex_name}}",
530                                 "method": "PUT",
531                                 "header": [
532                                         {
533                                                 "key": "Authorization",
534                                                 "value": "Basic QUFJOkFBSQ==",
535                                                 "description": ""
536                                         },
537                                         {
538                                                 "key": "X-FromAppId",
539                                                 "value": "AAI",
540                                                 "description": ""
541                                         },
542                                         {
543                                                 "key": "Accept",
544                                                 "value": "application/json",
545                                                 "description": ""
546                                         },
547                                         {
548                                                 "key": "X-TransactionId",
549                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
550                                                 "description": ""
551                                         },
552                                         {
553                                                 "key": "Content-Type",
554                                                 "value": "application/json",
555                                                 "description": ""
556                                         }
557                                 ],
558                                 "body": {
559                                         "mode": "raw",
560                                         "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}"
561                                 },
562                                 "description": ""
563                         },
564                         "response": []
565                 },
566                 {
567                         "name": "Check complex creation",
568                         "event": [
569                                 {
570                                         "listen": "test",
571                                         "script": {
572                                                 "type": "text/javascript",
573                                                 "exec": [
574                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;",
575                                                         "",
576                                                         "var jsonData = JSON.parse(responseBody);",
577                                                         "var complex_found = false;",
578                                                         "for (var i = 0; i < jsonData[\"complex\"].length; i++) { ",
579                                                         "   if (jsonData[\"complex\"][i][\"complex-name\"] === postman.getGlobalVariable(\"complex_name\")) {",
580                                                         "       complex_found = true;",
581                                                         "   }",
582                                                         "}",
583                                                         "tests[postman.getGlobalVariable(\"complex_name\")+\" found\"] = complex_found === true;",
584                                                         ""
585                                                 ]
586                                         }
587                                 }
588                         ],
589                         "request": {
590                                 "url": "{{url-aai}}/aai/v14/cloud-infrastructure/complexes",
591                                 "method": "GET",
592                                 "header": [
593                                         {
594                                                 "key": "Authorization",
595                                                 "value": "Basic QUFJOkFBSQ==",
596                                                 "description": ""
597                                         },
598                                         {
599                                                 "key": "X-FromAppId",
600                                                 "value": "AAI",
601                                                 "description": ""
602                                         },
603                                         {
604                                                 "key": "Accept",
605                                                 "value": "application/json",
606                                                 "description": ""
607                                         },
608                                         {
609                                                 "key": "X-TransactionId",
610                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
611                                                 "description": ""
612                                         }
613                                 ],
614                                 "body": {},
615                                 "description": ""
616                         },
617                         "response": []
618                 },
619                 {
620                         "name": "check cloud-region exists",
621                         "event": [
622                                 {
623                                         "listen": "test",
624                                         "script": {
625                                                 "type": "text/javascript",
626                                                 "exec": [
627                                                         "var region_found = false;",
628                                                         "if (responseCode.code === 404) {",
629                                                         "    tests[postman.getGlobalVariable(\"onap_cloud_region_id\")+\" does not exists in AAI\"] = true;",
630                                                         "}",
631                                                         "else {",
632                                                         "    if (responseCode.code === 200) {",
633                                                         "        tests[\"Status code is 200\"] = responseCode.code === 200;",
634                                                         "        }",
635                                                         "var jsonData = JSON.parse(responseBody);",
636                                                         "for (var i = 0; i < jsonData[\"cloud-region\"].length; i++) { ",
637                                                         "   if (jsonData[\"cloud-region\"][i][\"cloud-region-id\"] === postman.getGlobalVariable(\"onap_cloud_region_id\")) {",
638                                                         "       region_found = true;",
639                                                         "   }",
640                                                         "}",
641                                                         "",
642                                                         "if (region_found === false) {",
643                                                         "    tests[postman.getGlobalVariable(\"onap_cloud_region_id\")+\" does not exists\"] = true;",
644                                                         "}",
645                                                         "else {",
646                                                         "    tests[postman.getGlobalVariable(\"onap_cloud_region_id\")+\" already exists, we skip creation\"] = true;",
647                                                         "    postman.setNextRequest(\"check tenant in cloud region\");",
648                                                         "}",
649                                                         "}"
650                                                 ]
651                                         }
652                                 }
653                         ],
654                         "request": {
655                                 "url": "{{url-aai}}/aai/v14/cloud-infrastructure/cloud-regions",
656                                 "method": "GET",
657                                 "header": [
658                                         {
659                                                 "key": "Authorization",
660                                                 "value": "Basic QUFJOkFBSQ==",
661                                                 "description": ""
662                                         },
663                                         {
664                                                 "key": "X-FromAppId",
665                                                 "value": "AAI",
666                                                 "description": ""
667                                         },
668                                         {
669                                                 "key": "Accept",
670                                                 "value": "application/json",
671                                                 "description": ""
672                                         },
673                                         {
674                                                 "key": "X-TransactionId",
675                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
676                                                 "description": ""
677                                         }
678                                 ],
679                                 "body": {},
680                                 "description": ""
681                         },
682                         "response": []
683                 },
684                 {
685                         "name": "create CloudOwner/RegionOne cloud-region",
686                         "event": [
687                                 {
688                                         "listen": "test",
689                                         "script": {
690                                                 "type": "text/javascript",
691                                                 "exec": [
692                                                         "tests[\"Status code is 201\"] = responseCode.code === 201;"
693                                                 ]
694                                         }
695                                 }
696                         ],
697                         "request": {
698                                 "url": "{{url-aai}}/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}",
699                                 "method": "PUT",
700                                 "header": [
701                                         {
702                                                 "key": "Authorization",
703                                                 "value": "Basic QUFJOkFBSQ==",
704                                                 "description": ""
705                                         },
706                                         {
707                                                 "key": "X-FromAppId",
708                                                 "value": "AAI",
709                                                 "description": ""
710                                         },
711                                         {
712                                                 "key": "Accept",
713                                                 "value": "application/json",
714                                                 "description": ""
715                                         },
716                                         {
717                                                 "key": "X-TransactionId",
718                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
719                                                 "description": ""
720                                         },
721                                         {
722                                                 "key": "Content-Type",
723                                                 "value": "application/json",
724                                                 "description": ""
725                                         }
726                                 ],
727                                 "body": {
728                                         "mode": "raw",
729                                         "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}"
730                                 },
731                                 "description": ""
732                         },
733                         "response": []
734                 },
735                 {
736                         "name": "Check Cloud-region creation",
737                         "event": [
738                                 {
739                                         "listen": "test",
740                                         "script": {
741                                                 "type": "text/javascript",
742                                                 "exec": [
743                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;",
744                                                         "",
745                                                         "var jsonData = JSON.parse(responseBody);",
746                                                         "var region_found = false;",
747                                                         "for (var i = 0; i < jsonData[\"cloud-region\"].length; i++) { ",
748                                                         "   if (jsonData[\"cloud-region\"][i][\"cloud-region-id\"] === postman.getGlobalVariable(\"onap_cloud_region_id\")) {",
749                                                         "       region_found = true;",
750                                                         "   }",
751                                                         "}",
752                                                         "tests[postman.getGlobalVariable(\"onap_cloud_region_id\")+\" found\"] = region_found === true;",
753                                                         ""
754                                                 ]
755                                         }
756                                 }
757                         ],
758                         "request": {
759                                 "url": "{{url-aai}}/aai/v14/cloud-infrastructure/cloud-regions",
760                                 "method": "GET",
761                                 "header": [
762                                         {
763                                                 "key": "Authorization",
764                                                 "value": "Basic QUFJOkFBSQ==",
765                                                 "description": ""
766                                         },
767                                         {
768                                                 "key": "X-FromAppId",
769                                                 "value": "AAI",
770                                                 "description": ""
771                                         },
772                                         {
773                                                 "key": "Accept",
774                                                 "value": "application/json",
775                                                 "description": ""
776                                         },
777                                         {
778                                                 "key": "X-TransactionId",
779                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
780                                                 "description": ""
781                                         }
782                                 ],
783                                 "body": {},
784                                 "description": ""
785                         },
786                         "response": []
787                 },
788                 {
789                         "name": "associate Cloud-region to a complex",
790                         "event": [
791                                 {
792                                         "listen": "test",
793                                         "script": {
794                                                 "type": "text/javascript",
795                                                 "exec": [
796                                                         "tests[\"Status code is 200 : cloud-region associated to a complex\"] = responseCode.code === 200;",
797                                                         ""
798                                                 ]
799                                         }
800                                 }
801                         ],
802                         "request": {
803                                 "url": "{{url-aai}}/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/relationship-list/relationship",
804                                 "method": "PUT",
805                                 "header": [
806                                         {
807                                                 "key": "Authorization",
808                                                 "value": "Basic QUFJOkFBSQ==",
809                                                 "description": ""
810                                         },
811                                         {
812                                                 "key": "X-FromAppId",
813                                                 "value": "AAI",
814                                                 "description": ""
815                                         },
816                                         {
817                                                 "key": "Accept",
818                                                 "value": "application/json",
819                                                 "description": ""
820                                         },
821                                         {
822                                                 "key": "X-TransactionId",
823                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
824                                                 "description": ""
825                                         },
826                                         {
827                                                 "key": "Content-Type",
828                                                 "value": "application/json",
829                                                 "description": ""
830                                         }
831                                 ],
832                                 "body": {
833                                         "mode": "raw",
834                                         "raw": "{\n    \"related-to\": \"complex\",\n    \"related-link\": \"/aai/v13/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    }"
835                                 },
836                                 "description": ""
837                         },
838                         "response": []
839                 },
840                 {
841                         "name": "check tenant in cloud region",
842                         "event": [
843                                 {
844                                         "listen": "test",
845                                         "script": {
846                                                 "type": "text/javascript",
847                                                 "exec": [
848                                                         "var tenant_found = false;",
849                                                         "if (responseCode.code === 404) {",
850                                                         "    tests[postman.getGlobalVariable(\"tenant_name\")+\" does not exists in AAI\"] = true;",
851                                                         "}",
852                                                         "else {",
853                                                         "    if (responseCode.code === 200) {",
854                                                         "        tests[\"Status code is 200\"] = responseCode.code === 200;",
855                                                         "        }",
856                                                         "var jsonData = JSON.parse(responseBody);",
857                                                         "",
858                                                         "if(jsonData.hasOwnProperty('tenant'))",
859                                                         "    {",
860                                                         "    for (var i = 0; i < jsonData.tenant.length; i++) ",
861                                                         "        { ",
862                                                         "        if (jsonData.tenant[i]['tenant-id'] === postman.getGlobalVariable(\"tenant_id\")) ",
863                                                         "            {",
864                                                         "            tenant_found = true;",
865                                                         "            }",
866                                                         "        }",
867                                                         "    if (tenant_found === true) ",
868                                                         "        {",
869                                                         "        tests[postman.getGlobalVariable(\"tenant_name\")+\" already exists, we skip creation\"] = true;",
870                                                         "        postman.setNextRequest(\"check customer-service-tenant relations\");",
871                                                         "        }",
872                                                         "",
873                                                         "if (tenant_found === false)",
874                                                         "    {",
875                                                         "    tests[postman.getGlobalVariable(\"tenant_name\")+\" does not exists\"] = true;",
876                                                         "    }",
877                                                         "}",
878                                                         "}"
879                                                 ]
880                                         }
881                                 }
882                         ],
883                         "request": {
884                                 "url": "{{url-aai}}/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/tenants",
885                                 "method": "GET",
886                                 "header": [
887                                         {
888                                                 "key": "Authorization",
889                                                 "value": "Basic QUFJOkFBSQ==",
890                                                 "description": ""
891                                         },
892                                         {
893                                                 "key": "X-FromAppId",
894                                                 "value": "AAI",
895                                                 "description": ""
896                                         },
897                                         {
898                                                 "key": "Accept",
899                                                 "value": "application/json",
900                                                 "description": ""
901                                         },
902                                         {
903                                                 "key": "X-TransactionId",
904                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
905                                                 "description": ""
906                                         },
907                                         {
908                                                 "key": "Content-Type",
909                                                 "value": "application/json",
910                                                 "description": ""
911                                         }
912                                 ],
913                                 "body": {},
914                                 "description": ""
915                         },
916                         "response": []
917                 },
918                 {
919                         "name": "add tenant to region",
920                         "event": [
921                                 {
922                                         "listen": "test",
923                                         "script": {
924                                                 "type": "text/javascript",
925                                                 "exec": [
926                                                         "tests[\"Status code is 201\"] = responseCode.code === 201;"
927                                                 ]
928                                         }
929                                 }
930                         ],
931                         "request": {
932                                 "url": "{{url-aai}}/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/tenants/tenant/{{tenant_id}}",
933                                 "method": "PUT",
934                                 "header": [
935                                         {
936                                                 "key": "Authorization",
937                                                 "value": "Basic QUFJOkFBSQ==",
938                                                 "description": ""
939                                         },
940                                         {
941                                                 "key": "X-FromAppId",
942                                                 "value": "AAI",
943                                                 "description": ""
944                                         },
945                                         {
946                                                 "key": "Accept",
947                                                 "value": "application/json",
948                                                 "description": ""
949                                         },
950                                         {
951                                                 "key": "X-TransactionId",
952                                                 "value": "get_aai_subscr",
953                                                 "description": ""
954                                         },
955                                         {
956                                                 "key": "Content-Type",
957                                                 "value": "application/json",
958                                                 "description": ""
959                                         }
960                                 ],
961                                 "body": {
962                                         "mode": "raw",
963                                         "raw": "{\n    \"tenant-id\": \"{{tenant_id}}\",\n    \"tenant-name\": \"{{tenant_name}}\"\n}"
964                                 },
965                                 "description": ""
966                         },
967                         "response": []
968                 },
969                 {
970                         "name": "check tenant creation",
971                         "event": [
972                                 {
973                                         "listen": "test",
974                                         "script": {
975                                                 "type": "text/javascript",
976                                                 "exec": [
977                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;",
978                                                         "",
979                                                         "var jsonData = JSON.parse(responseBody);",
980                                                         "var tenant_found = false;",
981                                                         "for (var i = 0; i < jsonData[\"tenant\"].length; i++) { ",
982                                                         "   if (jsonData[\"tenant\"][i][\"tenant-id\"] === postman.getGlobalVariable(\"tenant_id\")) {",
983                                                         "       tenant_found = true;",
984                                                         "   }",
985                                                         "}",
986                                                         "tests[postman.getGlobalVariable(\"tenant_name\")+\" found\"] = tenant_found === true;",
987                                                         ""
988                                                 ]
989                                         }
990                                 }
991                         ],
992                         "request": {
993                                 "url": "{{url-aai}}/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/tenants",
994                                 "method": "GET",
995                                 "header": [
996                                         {
997                                                 "key": "Authorization",
998                                                 "value": "Basic QUFJOkFBSQ==",
999                                                 "description": ""
1000                                         },
1001                                         {
1002                                                 "key": "X-FromAppId",
1003                                                 "value": "AAI",
1004                                                 "description": ""
1005                                         },
1006                                         {
1007                                                 "key": "Accept",
1008                                                 "value": "application/json",
1009                                                 "description": ""
1010                                         },
1011                                         {
1012                                                 "key": "X-TransactionId",
1013                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
1014                                                 "description": ""
1015                                         },
1016                                         {
1017                                                 "key": "Content-Type",
1018                                                 "value": "application/json",
1019                                                 "description": ""
1020                                         }
1021                                 ],
1022                                 "body": {},
1023                                 "description": ""
1024                         },
1025                         "response": []
1026                 },
1027                 {
1028                         "name": "check customer-service-tenant relations",
1029                         "event": [
1030                                 {
1031                                         "listen": "test",
1032                                         "script": {
1033                                                 "type": "text/javascript",
1034                                                 "exec": [
1035                                                         "var relation_found = false;",
1036                                                         "if (responseCode.code === 404) {",
1037                                                         "    tests[postman.getGlobalVariable(\"tenant_name\")+\" / \"+postman.getGlobalVariable(\"service\")+ \" relation does not exists\"] = true;",
1038                                                         "}",
1039                                                         "else {",
1040                                                         "    if (responseCode.code === 200) {",
1041                                                         "        tests[\"Status code is 200\"] = responseCode.code === 200;",
1042                                                         "        }",
1043                                                         "",
1044                                                         "var jsonData = JSON.parse(responseBody);",
1045                                                         "for (var i = 0; i < jsonData[\"service-subscription\"].length; i++) { ",
1046                                                         "   if (jsonData[\"service-subscription\"][i][\"service-type\"] === postman.getGlobalVariable(\"service\")) {",
1047                                                         "       relation_found = true;",
1048                                                         "   }",
1049                                                         "}",
1050                                                         "",
1051                                                         "if (relation_found === false) {",
1052                                                         "    tests[postman.getGlobalVariable(\"tenant_name\")+\" / \"+postman.getGlobalVariable(\"service\")+ \" relation does not exists\"] = true;",
1053                                                         "}",
1054                                                         "",
1055                                                         "else {",
1056                                                         "    tests[postman.getGlobalVariable(\"tenant_name\")+\" / \"+postman.getGlobalVariable(\"service\")+ \" already exists, we skip relation creation\"] = true;",
1057                                                         "    postman.setNextRequest(\"check customer-service-tenant relation creation\");",
1058                                                         "}",
1059                                                         "}"
1060                                                 ]
1061                                         }
1062                                 }
1063                         ],
1064                         "request": {
1065                                 "url": {
1066                                         "raw": "{{url-aai}}/aai/v14/business/customers/customer/{{customer_name}}/service-subscriptions?depth=all",
1067                                         "host": [
1068                                                 "{{url-aai}}"
1069                                         ],
1070                                         "path": [
1071                                                 "aai",
1072                                                 "v14",
1073                                                 "business",
1074                                                 "customers",
1075                                                 "customer",
1076                                                 "{{customer_name}}",
1077                                                 "service-subscriptions"
1078                                         ],
1079                                         "query": [
1080                                                 {
1081                                                         "key": "depth",
1082                                                         "value": "all",
1083                                                         "equals": true,
1084                                                         "description": ""
1085                                                 }
1086                                         ],
1087                                         "variable": []
1088                                 },
1089                                 "method": "GET",
1090                                 "header": [
1091                                         {
1092                                                 "key": "Authorization",
1093                                                 "value": "Basic QUFJOkFBSQ==",
1094                                                 "description": ""
1095                                         },
1096                                         {
1097                                                 "key": "X-FromAppId",
1098                                                 "value": "AAI",
1099                                                 "description": ""
1100                                         },
1101                                         {
1102                                                 "key": "Accept",
1103                                                 "value": "application/json",
1104                                                 "description": ""
1105                                         },
1106                                         {
1107                                                 "key": "Content-Type",
1108                                                 "value": "application/json",
1109                                                 "description": ""
1110                                         },
1111                                         {
1112                                                 "key": "X-TransactionId",
1113                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
1114                                                 "description": ""
1115                                         }
1116                                 ],
1117                                 "body": {
1118                                         "mode": "raw",
1119                                         "raw": "{\r\n    \"global-customer-id\": \"Sina\",\r\n    \"subscriber-name\": \"Sina\",\r\n    \"subscriber-type\": \"INFRA\"\r\n}"
1120                                 },
1121                                 "description": ""
1122                         },
1123                         "response": []
1124                 },
1125                 {
1126                         "name": "Add customer-service-tenant relations init",
1127                         "event": [
1128                                 {
1129                                         "listen": "test",
1130                                         "script": {
1131                                                 "type": "text/javascript",
1132                                                 "exec": [
1133                                                         "tests[\"Status code is 201\"] = responseCode.code === 201;"
1134                                                 ]
1135                                         }
1136                                 }
1137                         ],
1138                         "request": {
1139                                 "url": {
1140                                         "raw": "{{url-aai}}/aai/v14/business/customers/customer/{{customer_name}}/service-subscriptions/service-subscription/{{service}}?resource-version={{auto_service_resource_version}}",
1141                                         "host": [
1142                                                 "{{url-aai}}"
1143                                         ],
1144                                         "path": [
1145                                                 "aai",
1146                                                 "v14",
1147                                                 "business",
1148                                                 "customers",
1149                                                 "customer",
1150                                                 "{{customer_name}}",
1151                                                 "service-subscriptions",
1152                                                 "service-subscription",
1153                                                 "{{service}}"
1154                                         ],
1155                                         "query": [
1156                                                 {
1157                                                         "key": "resource-version",
1158                                                         "value": "{{auto_service_resource_version}}",
1159                                                         "equals": true,
1160                                                         "description": ""
1161                                                 }
1162                                         ],
1163                                         "variable": []
1164                                 },
1165                                 "method": "PUT",
1166                                 "header": [
1167                                         {
1168                                                 "key": "Authorization",
1169                                                 "value": "Basic QUFJOkFBSQ==",
1170                                                 "description": ""
1171                                         },
1172                                         {
1173                                                 "key": "X-FromAppId",
1174                                                 "value": "AAI",
1175                                                 "description": ""
1176                                         },
1177                                         {
1178                                                 "key": "Accept",
1179                                                 "value": "application/json",
1180                                                 "description": ""
1181                                         },
1182                                         {
1183                                                 "key": "Content-Type",
1184                                                 "value": "application/json",
1185                                                 "description": ""
1186                                         },
1187                                         {
1188                                                 "key": "X-TransactionId",
1189                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
1190                                                 "description": ""
1191                                         }
1192                                 ],
1193                                 "body": {
1194                                         "mode": "raw",
1195                                         "raw": "{\r\n\t\"service-type\": \"{{service}}\",\r\n\t\"relationship-list\": {\r\n\t\t\"relationship\": [{\r\n\t\t\t\"related-to\": \"tenant\",\r\n\t\t\t\"related-link\": \"https://aai.api.simpledemo.onap.org:8443/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner_name}}/{{onap_cloud_region_id}}/tenants/tenant/{{tenant_id}}\",\r\n\t\t\t\"relationship-data\": [{\r\n\t\t\t\t\t\"relationship-key\": \"cloud-region.cloud-owner\",\r\n\t\t\t\t\t\"relationship-value\": \"{{cloud_owner_name}}\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"relationship-key\": \"cloud-region.cloud-region-id\",\r\n\t\t\t\t\t\"relationship-value\": \"{{onap_cloud_region_id}}\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"relationship-key\": \"tenant.tenant-id\",\r\n\t\t\t\t\t\"relationship-value\": \"{{tenant_id}}\"\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\t\"related-to-property\": [{\r\n\t\t\t\t\"property-key\": \"tenant.tenant-name\",\r\n\t\t\t\t\"property-value\": \"{{tenant_name}}\"\r\n\t\t\t}]\r\n\t\t}]\r\n\t}\r\n}"
1196                                 },
1197                                 "description": ""
1198                         },
1199                         "response": []
1200                 },
1201                 {
1202                         "name": "check customer-service-tenant relation creation",
1203                         "event": [
1204                                 {
1205                                         "listen": "test",
1206                                         "script": {
1207                                                 "type": "text/javascript",
1208                                                 "exec": [
1209                                                         "tests[\"Status code is 200\"] = responseCode.code === 200;",
1210                                                         "",
1211                                                         "var jsonData = JSON.parse(responseBody);",
1212                                                         "var service_found = false;",
1213                                                         "for (var i = 0; i < jsonData[\"service-subscription\"].length; i++) { ",
1214                                                         "   if (jsonData[\"service-subscription\"][i][\"service-type\"] === postman.getGlobalVariable(\"service\")) {",
1215                                                         "       service_found = true;",
1216                                                         "   }",
1217                                                         "}",
1218                                                         "tests[postman.getGlobalVariable(\"service\")+\" found\"] = service_found === true;",
1219                                                         ""
1220                                                 ]
1221                                         }
1222                                 }
1223                         ],
1224                         "request": {
1225                                 "url": {
1226                                         "raw": "{{url-aai}}/aai/v14/business/customers/customer/{{customer_name}}/service-subscriptions?depth=all",
1227                                         "host": [
1228                                                 "{{url-aai}}"
1229                                         ],
1230                                         "path": [
1231                                                 "aai",
1232                                                 "v14",
1233                                                 "business",
1234                                                 "customers",
1235                                                 "customer",
1236                                                 "{{customer_name}}",
1237                                                 "service-subscriptions"
1238                                         ],
1239                                         "query": [
1240                                                 {
1241                                                         "key": "depth",
1242                                                         "value": "all",
1243                                                         "equals": true,
1244                                                         "description": ""
1245                                                 }
1246                                         ],
1247                                         "variable": []
1248                                 },
1249                                 "method": "GET",
1250                                 "header": [
1251                                         {
1252                                                 "key": "Authorization",
1253                                                 "value": "Basic QUFJOkFBSQ==",
1254                                                 "description": ""
1255                                         },
1256                                         {
1257                                                 "key": "X-FromAppId",
1258                                                 "value": "AAI",
1259                                                 "description": ""
1260                                         },
1261                                         {
1262                                                 "key": "Accept",
1263                                                 "value": "application/json",
1264                                                 "description": ""
1265                                         },
1266                                         {
1267                                                 "key": "Content-Type",
1268                                                 "value": "application/json",
1269                                                 "description": ""
1270                                         },
1271                                         {
1272                                                 "key": "X-TransactionId",
1273                                                 "value": "808b54e3-e563-4144-a1b9-e24e2ed93d4f",
1274                                                 "description": ""
1275                                         }
1276                                 ],
1277                                 "body": {
1278                                         "mode": "raw",
1279                                         "raw": "{\r\n    \"global-customer-id\": \"Sina\",\r\n    \"subscriber-name\": \"Sina\",\r\n    \"subscriber-type\": \"INFRA\"\r\n}"
1280                                 },
1281                                 "description": ""
1282                         },
1283                         "response": []
1284                 }
1285         ]
1286 }