CDS API Reference add workflow tutorial
[ccsdk/cds.git] / docs / usecases / media / pnf-simulator.postman_collection.json
1 {
2         "info": {
3                 "_postman_id": "835c7d3a-d5c4-4f5b-a80f-b2870da7850c",
4                 "name": "CDS PNF Simulator Use Case",
5                 "description": "This collection contains all API calls to do the \"PNF Simulator Day-N config-assign and config-deploy use case\" in CDS. ",
6                 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7         },
8         "item": [
9                 {
10                         "name": "Bootstrap",
11                         "protocolProfileBehavior": {
12                                 "disabledSystemHeaders": {}
13                         },
14                         "request": {
15                                 "auth": {
16                                         "type": "basic",
17                                         "basic": [
18                                                 {
19                                                         "key": "password",
20                                                         "value": "ccsdkapps",
21                                                         "type": "string"
22                                                 },
23                                                 {
24                                                         "key": "username",
25                                                         "value": "ccsdkapps",
26                                                         "type": "string"
27                                                 }
28                                         ]
29                                 },
30                                 "method": "POST",
31                                 "header": [
32                                         {
33                                                 "key": "Content-Type",
34                                                 "value": "application/json"
35                                         },
36                                         {
37                                                 "key": "",
38                                                 "type": "text",
39                                                 "value": "",
40                                                 "disabled": true
41                                         }
42                                 ],
43                                 "body": {
44                                         "mode": "raw",
45                                         "raw": "{\r\n\"loadModelType\" : true,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : true\r\n}"
46                                 },
47                                 "url": {
48                                         "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model/bootstrap",
49                                         "protocol": "http",
50                                         "host": [
51                                                 "{{host}}"
52                                         ],
53                                         "port": "{{port}}",
54                                         "path": [
55                                                 "api",
56                                                 "v1",
57                                                 "blueprint-model",
58                                                 "bootstrap"
59                                         ]
60                                 }
61                         },
62                         "response": [
63                                 {
64                                         "name": "CDS Bootstrap",
65                                         "originalRequest": {
66                                                 "method": "POST",
67                                                 "header": [
68                                                         {
69                                                                 "key": "Content-Type",
70                                                                 "value": "application/json"
71                                                         },
72                                                         {
73                                                                 "key": "",
74                                                                 "value": "",
75                                                                 "type": "text",
76                                                                 "disabled": true
77                                                         }
78                                                 ],
79                                                 "body": {
80                                                         "mode": "raw",
81                                                         "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}"
82                                                 },
83                                                 "url": {
84                                                         "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap",
85                                                         "protocol": "http",
86                                                         "host": [
87                                                                 "localhost"
88                                                         ],
89                                                         "port": "8081",
90                                                         "path": [
91                                                                 "api",
92                                                                 "v1",
93                                                                 "blueprint-model",
94                                                                 "bootstrap"
95                                                         ]
96                                                 }
97                                         },
98                                         "status": "OK",
99                                         "code": 200,
100                                         "_postman_previewlanguage": "json",
101                                         "header": [
102                                                 {
103                                                         "key": "X-ONAP-RequestID",
104                                                         "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01"
105                                                 },
106                                                 {
107                                                         "key": "X-ONAP-InvocationID",
108                                                         "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077"
109                                                 },
110                                                 {
111                                                         "key": "X-ONAP-PartnerName",
112                                                         "value": "cds-controller"
113                                                 },
114                                                 {
115                                                         "key": "Vary",
116                                                         "value": "Origin"
117                                                 },
118                                                 {
119                                                         "key": "Vary",
120                                                         "value": "Access-Control-Request-Method"
121                                                 },
122                                                 {
123                                                         "key": "Vary",
124                                                         "value": "Access-Control-Request-Headers"
125                                                 },
126                                                 {
127                                                         "key": "Content-Type",
128                                                         "value": "application/json"
129                                                 },
130                                                 {
131                                                         "key": "Content-Length",
132                                                         "value": "0"
133                                                 },
134                                                 {
135                                                         "key": "Cache-Control",
136                                                         "value": "no-cache, no-store, max-age=0, must-revalidate"
137                                                 },
138                                                 {
139                                                         "key": "Pragma",
140                                                         "value": "no-cache"
141                                                 },
142                                                 {
143                                                         "key": "Expires",
144                                                         "value": "0"
145                                                 },
146                                                 {
147                                                         "key": "X-Content-Type-Options",
148                                                         "value": "nosniff"
149                                                 },
150                                                 {
151                                                         "key": "X-Frame-Options",
152                                                         "value": "DENY"
153                                                 },
154                                                 {
155                                                         "key": "X-XSS-Protection",
156                                                         "value": "1 ; mode=block"
157                                                 },
158                                                 {
159                                                         "key": "Referrer-Policy",
160                                                         "value": "no-referrer"
161                                                 }
162                                         ],
163                                         "cookie": [],
164                                         "body": ""
165                                 }
166                         ]
167                 },
168                 {
169                         "name": "Get Blueprints",
170                         "protocolProfileBehavior": {
171                                 "disableBodyPruning": true
172                         },
173                         "request": {
174                                 "auth": {
175                                         "type": "basic",
176                                         "basic": [
177                                                 {
178                                                         "key": "password",
179                                                         "value": "ccsdkapps",
180                                                         "type": "string"
181                                                 },
182                                                 {
183                                                         "key": "username",
184                                                         "value": "ccsdkapps",
185                                                         "type": "string"
186                                                 }
187                                         ]
188                                 },
189                                 "method": "GET",
190                                 "header": [
191                                         {
192                                                 "key": "Content-Type",
193                                                 "value": "application/json"
194                                         },
195                                         {
196                                                 "key": "",
197                                                 "value": "",
198                                                 "type": "text",
199                                                 "disabled": true
200                                         }
201                                 ],
202                                 "body": {
203                                         "mode": "raw",
204                                         "raw": "{\r\n\"loadModelType\" : true,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}"
205                                 },
206                                 "url": {
207                                         "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model",
208                                         "protocol": "http",
209                                         "host": [
210                                                 "{{host}}"
211                                         ],
212                                         "port": "{{port}}",
213                                         "path": [
214                                                 "api",
215                                                 "v1",
216                                                 "blueprint-model"
217                                         ]
218                                 }
219                         },
220                         "response": [
221                                 {
222                                         "name": "CDS Bootstrap",
223                                         "originalRequest": {
224                                                 "method": "POST",
225                                                 "header": [
226                                                         {
227                                                                 "key": "Content-Type",
228                                                                 "value": "application/json"
229                                                         },
230                                                         {
231                                                                 "key": "",
232                                                                 "value": "",
233                                                                 "type": "text",
234                                                                 "disabled": true
235                                                         }
236                                                 ],
237                                                 "body": {
238                                                         "mode": "raw",
239                                                         "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}"
240                                                 },
241                                                 "url": {
242                                                         "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap",
243                                                         "protocol": "http",
244                                                         "host": [
245                                                                 "localhost"
246                                                         ],
247                                                         "port": "8081",
248                                                         "path": [
249                                                                 "api",
250                                                                 "v1",
251                                                                 "blueprint-model",
252                                                                 "bootstrap"
253                                                         ]
254                                                 }
255                                         },
256                                         "status": "OK",
257                                         "code": 200,
258                                         "_postman_previewlanguage": "json",
259                                         "header": [
260                                                 {
261                                                         "key": "X-ONAP-RequestID",
262                                                         "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01"
263                                                 },
264                                                 {
265                                                         "key": "X-ONAP-InvocationID",
266                                                         "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077"
267                                                 },
268                                                 {
269                                                         "key": "X-ONAP-PartnerName",
270                                                         "value": "cds-controller"
271                                                 },
272                                                 {
273                                                         "key": "Vary",
274                                                         "value": "Origin"
275                                                 },
276                                                 {
277                                                         "key": "Vary",
278                                                         "value": "Access-Control-Request-Method"
279                                                 },
280                                                 {
281                                                         "key": "Vary",
282                                                         "value": "Access-Control-Request-Headers"
283                                                 },
284                                                 {
285                                                         "key": "Content-Type",
286                                                         "value": "application/json"
287                                                 },
288                                                 {
289                                                         "key": "Content-Length",
290                                                         "value": "0"
291                                                 },
292                                                 {
293                                                         "key": "Cache-Control",
294                                                         "value": "no-cache, no-store, max-age=0, must-revalidate"
295                                                 },
296                                                 {
297                                                         "key": "Pragma",
298                                                         "value": "no-cache"
299                                                 },
300                                                 {
301                                                         "key": "Expires",
302                                                         "value": "0"
303                                                 },
304                                                 {
305                                                         "key": "X-Content-Type-Options",
306                                                         "value": "nosniff"
307                                                 },
308                                                 {
309                                                         "key": "X-Frame-Options",
310                                                         "value": "DENY"
311                                                 },
312                                                 {
313                                                         "key": "X-XSS-Protection",
314                                                         "value": "1 ; mode=block"
315                                                 },
316                                                 {
317                                                         "key": "Referrer-Policy",
318                                                         "value": "no-referrer"
319                                                 }
320                                         ],
321                                         "cookie": [],
322                                         "body": ""
323                                 }
324                         ]
325                 },
326                 {
327                         "name": "Delete Blueprint Model loaded in Bootstrap",
328                         "protocolProfileBehavior": {
329                                 "disabledSystemHeaders": {}
330                         },
331                         "request": {
332                                 "auth": {
333                                         "type": "basic",
334                                         "basic": [
335                                                 {
336                                                         "key": "password",
337                                                         "value": "ccsdkapps",
338                                                         "type": "string"
339                                                 },
340                                                 {
341                                                         "key": "username",
342                                                         "value": "ccsdkapps",
343                                                         "type": "string"
344                                                 }
345                                         ]
346                                 },
347                                 "method": "DELETE",
348                                 "header": [
349                                         {
350                                                 "key": "Content-Type",
351                                                 "value": "application/json",
352                                                 "disabled": true
353                                         },
354                                         {
355                                                 "key": "",
356                                                 "type": "text",
357                                                 "value": "",
358                                                 "disabled": true
359                                         }
360                                 ],
361                                 "url": {
362                                         "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model/name/pnf_netconf/version/1.0.0",
363                                         "protocol": "http",
364                                         "host": [
365                                                 "{{host}}"
366                                         ],
367                                         "port": "{{port}}",
368                                         "path": [
369                                                 "api",
370                                                 "v1",
371                                                 "blueprint-model",
372                                                 "name",
373                                                 "pnf_netconf",
374                                                 "version",
375                                                 "1.0.0"
376                                         ]
377                                 },
378                                 "description": "Delete a blueprint model identified by its name and version from CDS."
379                         },
380                         "response": [
381                                 {
382                                         "name": "CDS Bootstrap",
383                                         "originalRequest": {
384                                                 "method": "POST",
385                                                 "header": [
386                                                         {
387                                                                 "key": "Content-Type",
388                                                                 "value": "application/json"
389                                                         },
390                                                         {
391                                                                 "key": "",
392                                                                 "value": "",
393                                                                 "type": "text",
394                                                                 "disabled": true
395                                                         }
396                                                 ],
397                                                 "body": {
398                                                         "mode": "raw",
399                                                         "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}"
400                                                 },
401                                                 "url": {
402                                                         "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap",
403                                                         "protocol": "http",
404                                                         "host": [
405                                                                 "localhost"
406                                                         ],
407                                                         "port": "8081",
408                                                         "path": [
409                                                                 "api",
410                                                                 "v1",
411                                                                 "blueprint-model",
412                                                                 "bootstrap"
413                                                         ]
414                                                 }
415                                         },
416                                         "status": "OK",
417                                         "code": 200,
418                                         "_postman_previewlanguage": "json",
419                                         "header": [
420                                                 {
421                                                         "key": "X-ONAP-RequestID",
422                                                         "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01"
423                                                 },
424                                                 {
425                                                         "key": "X-ONAP-InvocationID",
426                                                         "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077"
427                                                 },
428                                                 {
429                                                         "key": "X-ONAP-PartnerName",
430                                                         "value": "cds-controller"
431                                                 },
432                                                 {
433                                                         "key": "Vary",
434                                                         "value": "Origin"
435                                                 },
436                                                 {
437                                                         "key": "Vary",
438                                                         "value": "Access-Control-Request-Method"
439                                                 },
440                                                 {
441                                                         "key": "Vary",
442                                                         "value": "Access-Control-Request-Headers"
443                                                 },
444                                                 {
445                                                         "key": "Content-Type",
446                                                         "value": "application/json"
447                                                 },
448                                                 {
449                                                         "key": "Content-Length",
450                                                         "value": "0"
451                                                 },
452                                                 {
453                                                         "key": "Cache-Control",
454                                                         "value": "no-cache, no-store, max-age=0, must-revalidate"
455                                                 },
456                                                 {
457                                                         "key": "Pragma",
458                                                         "value": "no-cache"
459                                                 },
460                                                 {
461                                                         "key": "Expires",
462                                                         "value": "0"
463                                                 },
464                                                 {
465                                                         "key": "X-Content-Type-Options",
466                                                         "value": "nosniff"
467                                                 },
468                                                 {
469                                                         "key": "X-Frame-Options",
470                                                         "value": "DENY"
471                                                 },
472                                                 {
473                                                         "key": "X-XSS-Protection",
474                                                         "value": "1 ; mode=block"
475                                                 },
476                                                 {
477                                                         "key": "Referrer-Policy",
478                                                         "value": "no-referrer"
479                                                 }
480                                         ],
481                                         "cookie": [],
482                                         "body": ""
483                                 }
484                         ]
485                 },
486                 {
487                         "name": "Data Dictionary",
488                         "event": [
489                                 {
490                                         "listen": "prerequest",
491                                         "script": {
492                                                 "exec": [
493                                                         "var allDD = pm.environment.get(\"allDD\");\r",
494                                                         "\r",
495                                                         "if (!(allDD instanceof Array)) {\r",
496                                                         "    var allDD = [\r",
497                                                         "    {\r",
498                                                         "\t\t\"name\": \"netconf-password\",\r",
499                                                         "\t\t\"tags\": \"netconf-password\",\r",
500                                                         "\t\t\"data_type\": \"string\",\r",
501                                                         "\t\t\"description\": \"netconf-password\",\r",
502                                                         "\t\t\"entry_schema\": \"string\",\r",
503                                                         "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
504                                                         "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
505                                                         "\t\t\"definition\": {\r",
506                                                         "\t\t\t\"tags\": \"netconf-password\",\r",
507                                                         "\t\t\t\"name\": \"netconf-password\",\r",
508                                                         "\t\t\t\"property\": {\r",
509                                                         "\t\t\t\t\"description\": \"netconf-password string attribute\",\r",
510                                                         "\t\t\t\t\"type\": \"string\"\r",
511                                                         "\t\t\t},\r",
512                                                         "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
513                                                         "\t\t\t\"sources\": {\r",
514                                                         "\t\t\t\t\"input\": {\r",
515                                                         "\t\t\t\t\t\"type\": \"source-input\",\r",
516                                                         "\t\t\t\t\t\"properties\": {}\r",
517                                                         "\t\t\t\t}\r",
518                                                         "\t\t\t}\r",
519                                                         "\t\t}\r",
520                                                         "\t},\r",
521                                                         "\t{\r",
522                                                         "\t\t\"name\": \"netconf-username\",\r",
523                                                         "\t\t\"tags\": \"netconf-username\",\r",
524                                                         "\t\t\"data_type\": \"string\",\r",
525                                                         "\t\t\"description\": \"netconf-username\",\r",
526                                                         "\t\t\"entry_schema\": \"string\",\r",
527                                                         "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
528                                                         "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
529                                                         "\t\t\"definition\": {\r",
530                                                         "\t\t\t\"tags\": \"netconf-username\",\r",
531                                                         "\t\t\t\"name\": \"netconf-username\",\r",
532                                                         "\t\t\t\"property\": {\r",
533                                                         "\t\t\t\t\"description\": \"netconf-username string attribute\",\r",
534                                                         "\t\t\t\t\"type\": \"string\"\r",
535                                                         "\t\t\t},\r",
536                                                         "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
537                                                         "\t\t\t\"sources\": {\r",
538                                                         "\t\t\t\t\"input\": {\r",
539                                                         "\t\t\t\t\t\"type\": \"source-input\",\r",
540                                                         "\t\t\t\t\t\"properties\": {}\r",
541                                                         "\t\t\t\t}\r",
542                                                         "\t\t\t}\r",
543                                                         "\t\t}\r",
544                                                         "\t},\r",
545                                                         "\t{\r",
546                                                         "\t\t\"name\": \"netconf-server-port\",\r",
547                                                         "\t\t\"tags\": \"netconf-server-port\",\r",
548                                                         "\t\t\"data_type\": \"string\",\r",
549                                                         "\t\t\"description\": \"netconf-server-port\",\r",
550                                                         "\t\t\"entry_schema\": \"string\",\r",
551                                                         "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
552                                                         "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
553                                                         "\t\t\"definition\": {\r",
554                                                         "\t\t\t\"tags\": \"netconf-server-port\",\r",
555                                                         "\t\t\t\"name\": \"netconf-server-port\",\r",
556                                                         "\t\t\t\"property\": {\r",
557                                                         "\t\t\t\t\"description\": \"netconf-server-port string attribute\",\r",
558                                                         "\t\t\t\t\"type\": \"string\"\r",
559                                                         "\t\t\t},\r",
560                                                         "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
561                                                         "\t\t\t\"sources\": {\r",
562                                                         "\t\t\t\t\"input\": {\r",
563                                                         "\t\t\t\t\t\"type\": \"source-input\",\r",
564                                                         "\t\t\t\t\t\"properties\": {}\r",
565                                                         "\t\t\t\t}\r",
566                                                         "\t\t\t}\r",
567                                                         "\t\t}\r",
568                                                         "\t},\r",
569                                                         "\t{\r",
570                                                         "\t\t\"name\": \"pnf-id\",\r",
571                                                         "\t\t\"tags\": \"pnf-id\",\r",
572                                                         "\t\t\"data_type\": \"string\",\r",
573                                                         "\t\t\"description\": \"pnf-id\",\r",
574                                                         "\t\t\"entry_schema\": \"string\",\r",
575                                                         "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
576                                                         "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
577                                                         "\t\t\"definition\": {\r",
578                                                         "\t\t\t\"tags\": \"pnf-id\",\r",
579                                                         "\t\t\t\"name\": \"pnf-id\",\r",
580                                                         "\t\t\t\"property\": {\r",
581                                                         "\t\t\t\t\"description\": \"pnf-id string attribute\",\r",
582                                                         "\t\t\t\t\"type\": \"string\"\r",
583                                                         "\t\t\t},\r",
584                                                         "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
585                                                         "\t\t\t\"sources\": {\r",
586                                                         "\t\t\t\t\"input\": {\r",
587                                                         "\t\t\t\t\t\"type\": \"source-input\",\r",
588                                                         "\t\t\t\t\t\"properties\": {}\r",
589                                                         "\t\t\t\t}\r",
590                                                         "\t\t\t}\r",
591                                                         "\t\t}\r",
592                                                         "\t},\r",
593                                                         "\t{\r",
594                                                         "\r",
595                                                         "\t\t\"name\": \"pnf-ipv4-address\",\r",
596                                                         "\t\t\"tags\": \"pnf-ipv4-address\",\r",
597                                                         "\t\t\"data_type\": \"string\",\r",
598                                                         "\t\t\"description\": \"pnf-ipv4-address\",\r",
599                                                         "\t\t\"entry_schema\": \"string\",\r",
600                                                         "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
601                                                         "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
602                                                         "\t\t\"definition\": {\r",
603                                                         "\t\t\t\"tags\": \"pnf-ipv4-address\",\r",
604                                                         "\t\t\t\"name\": \"pnf-ipv4-address\",\r",
605                                                         "\t\t\t\"property\": {\r",
606                                                         "\t\t\t\t\"description\": \"pnf-ipv4-address string attribute\",\r",
607                                                         "\t\t\t\t\"type\": \"string\"\r",
608                                                         "\t\t\t},\r",
609                                                         "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
610                                                         "\t\t\t\"sources\": {\r",
611                                                         "\t\t\t\t\"input\": {\r",
612                                                         "\t\t\t\t\t\"type\": \"source-input\",\r",
613                                                         "\t\t\t\t\t\"properties\": {}\r",
614                                                         "\t\t\t\t}\r",
615                                                         "\t\t\t}\r",
616                                                         "\t\t}\r",
617                                                         "\r",
618                                                         "\t},\r",
619                                                         "\t{\r",
620                                                         "\t\t\"name\": \"stream-count\",\r",
621                                                         "\t\t\"tags\": \"stream-count\",\r",
622                                                         "\t\t\"data_type\": \"string\",\r",
623                                                         "\t\t\"description\": \"stream-count\",\r",
624                                                         "\t\t\"entry_schema\": \"string\",\r",
625                                                         "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
626                                                         "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
627                                                         "\t\t\"definition\": {\r",
628                                                         "\t\t\t\"tags\": \"stream-count\",\r",
629                                                         "\t\t\t\"name\": \"stream-count\",\r",
630                                                         "\t\t\t\"property\": {\r",
631                                                         "\t\t\t\t\"description\": \"stream-count string attribute\",\r",
632                                                         "\t\t\t\t\"type\": \"integer\"\r",
633                                                         "\t\t\t},\r",
634                                                         "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r",
635                                                         "\t\t\t\"sources\": {\r",
636                                                         "\t\t\t\t\"input\": {\r",
637                                                         "\t\t\t\t\t\"type\": \"source-default\",\r",
638                                                         "\t\t\t\t\t\"properties\": {}\r",
639                                                         "\t\t\t\t},\r",
640                                                         "\t\t\t\t\"default\": {\r",
641                                                         "\r",
642                                                         "\t\t\t\t\t\"type\": \"source-default\",\r",
643                                                         "\r",
644                                                         "\t\t\t\t\t\"properties\": {}\r",
645                                                         "\r",
646                                                         "\t\t\t\t}\r",
647                                                         "\t\t\t}\r",
648                                                         "\t\t}\r",
649                                                         "\t}]\r",
650                                                         "}\r",
651                                                         "\r",
652                                                         "\r",
653                                                         "var currentDD = JSON.stringify(allDD.shift());\r",
654                                                         "pm.environment.set(\"DataDictionary\", currentDD);\r",
655                                                         "console.log(currentDD);\r",
656                                                         "pm.environment.set(\"allDD\", allDD);\r",
657                                                         "\r",
658                                                         "\r",
659                                                         ""
660                                                 ],
661                                                 "type": "text/javascript"
662                                         }
663                                 },
664                                 {
665                                         "listen": "test",
666                                         "script": {
667                                                 "exec": [
668                                                         "var allDD = pm.environment.get(\"allDD\");\r",
669                                                         "\r",
670                                                         "if (allDD instanceof Array && allDD.length > 0) {\r",
671                                                         "    postman.setNextRequest(\"Data Dictionary\");\r",
672                                                         "} else {\r",
673                                                         "    postman.setNextRequest(null);\r",
674                                                         "    allDD = null;\r",
675                                                         "}"
676                                                 ],
677                                                 "type": "text/javascript"
678                                         }
679                                 }
680                         ],
681                         "request": {
682                                 "auth": {
683                                         "type": "basic",
684                                         "basic": [
685                                                 {
686                                                         "key": "password",
687                                                         "value": "ccsdkapps",
688                                                         "type": "string"
689                                                 },
690                                                 {
691                                                         "key": "username",
692                                                         "value": "ccsdkapps",
693                                                         "type": "string"
694                                                 }
695                                         ]
696                                 },
697                                 "method": "POST",
698                                 "header": [],
699                                 "body": {
700                                         "mode": "raw",
701                                         "raw": "{{DataDictionary}}",
702                                         "options": {
703                                                 "raw": {
704                                                         "language": "json"
705                                                 }
706                                         }
707                                 },
708                                 "url": {
709                                         "raw": "http://{{host}}:{{port}}/api/v1/dictionary",
710                                         "protocol": "http",
711                                         "host": [
712                                                 "{{host}}"
713                                         ],
714                                         "port": "{{port}}",
715                                         "path": [
716                                                 "api",
717                                                 "v1",
718                                                 "dictionary"
719                                         ]
720                                 }
721                         },
722                         "response": []
723                 },
724                 {
725                         "name": "Enrich Blueprint",
726                         "request": {
727                                 "auth": {
728                                         "type": "basic",
729                                         "basic": [
730                                                 {
731                                                         "key": "username",
732                                                         "value": "ccsdkapps",
733                                                         "type": "string"
734                                                 },
735                                                 {
736                                                         "key": "password",
737                                                         "value": "ccsdkapps",
738                                                         "type": "string"
739                                                 },
740                                                 {
741                                                         "key": "showPassword",
742                                                         "value": false,
743                                                         "type": "boolean"
744                                                 }
745                                         ]
746                                 },
747                                 "method": "POST",
748                                 "header": [
749                                         {
750                                                 "key": "Accept",
751                                                 "value": "application/json",
752                                                 "type": "text",
753                                                 "disabled": true
754                                         },
755                                         {
756                                                 "key": "Accept-Encoding",
757                                                 "value": "gzip,deflate",
758                                                 "type": "text",
759                                                 "disabled": true
760                                         },
761                                         {
762                                                 "key": "Referer",
763                                                 "value": "http://84.39.39.116:30497/blueprint",
764                                                 "type": "text",
765                                                 "disabled": true
766                                         },
767                                         {
768                                                 "key": "Origin",
769                                                 "value": "http://84.39.39.116:30497",
770                                                 "type": "text",
771                                                 "disabled": true
772                                         }
773                                 ],
774                                 "body": {
775                                         "mode": "formdata",
776                                         "formdata": [
777                                                 {
778                                                         "key": "file",
779                                                         "type": "file",
780                                                         "src": "/home/jakob/Downloads/workflow-tutorial-cba.zip"
781                                                 }
782                                         ]
783                                 },
784                                 "url": {
785                                         "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model/enrich",
786                                         "protocol": "http",
787                                         "host": [
788                                                 "{{host}}"
789                                         ],
790                                         "port": "{{port}}",
791                                         "path": [
792                                                 "api",
793                                                 "v1",
794                                                 "blueprint-model",
795                                                 "enrich"
796                                         ]
797                                 }
798                         },
799                         "response": []
800                 },
801                 {
802                         "name": "Save Blueprint",
803                         "request": {
804                                 "auth": {
805                                         "type": "basic",
806                                         "basic": [
807                                                 {
808                                                         "key": "password",
809                                                         "value": "ccsdkapps",
810                                                         "type": "string"
811                                                 },
812                                                 {
813                                                         "key": "username",
814                                                         "value": "ccsdkapps",
815                                                         "type": "string"
816                                                 }
817                                         ]
818                                 },
819                                 "method": "POST",
820                                 "header": [
821                                         {
822                                                 "key": "Content-Type",
823                                                 "value": "application/json"
824                                         },
825                                         {
826                                                 "key": "",
827                                                 "type": "text",
828                                                 "value": "",
829                                                 "disabled": true
830                                         }
831                                 ],
832                                 "body": {
833                                         "mode": "formdata",
834                                         "formdata": [
835                                                 {
836                                                         "key": "file",
837                                                         "type": "file",
838                                                         "src": "/home/jakob/Downloads/workflow-tutorial-cba-enriched.zip"
839                                                 }
840                                         ]
841                                 },
842                                 "url": {
843                                         "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model",
844                                         "protocol": "http",
845                                         "host": [
846                                                 "{{host}}"
847                                         ],
848                                         "port": "{{port}}",
849                                         "path": [
850                                                 "api",
851                                                 "v1",
852                                                 "blueprint-model"
853                                         ]
854                                 }
855                         },
856                         "response": [
857                                 {
858                                         "name": "CDS Bootstrap",
859                                         "originalRequest": {
860                                                 "method": "POST",
861                                                 "header": [
862                                                         {
863                                                                 "key": "Content-Type",
864                                                                 "value": "application/json"
865                                                         },
866                                                         {
867                                                                 "key": "",
868                                                                 "value": "",
869                                                                 "type": "text",
870                                                                 "disabled": true
871                                                         }
872                                                 ],
873                                                 "body": {
874                                                         "mode": "raw",
875                                                         "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}"
876                                                 },
877                                                 "url": {
878                                                         "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap",
879                                                         "protocol": "http",
880                                                         "host": [
881                                                                 "localhost"
882                                                         ],
883                                                         "port": "8081",
884                                                         "path": [
885                                                                 "api",
886                                                                 "v1",
887                                                                 "blueprint-model",
888                                                                 "bootstrap"
889                                                         ]
890                                                 }
891                                         },
892                                         "status": "OK",
893                                         "code": 200,
894                                         "_postman_previewlanguage": "json",
895                                         "header": [
896                                                 {
897                                                         "key": "X-ONAP-RequestID",
898                                                         "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01"
899                                                 },
900                                                 {
901                                                         "key": "X-ONAP-InvocationID",
902                                                         "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077"
903                                                 },
904                                                 {
905                                                         "key": "X-ONAP-PartnerName",
906                                                         "value": "cds-controller"
907                                                 },
908                                                 {
909                                                         "key": "Vary",
910                                                         "value": "Origin"
911                                                 },
912                                                 {
913                                                         "key": "Vary",
914                                                         "value": "Access-Control-Request-Method"
915                                                 },
916                                                 {
917                                                         "key": "Vary",
918                                                         "value": "Access-Control-Request-Headers"
919                                                 },
920                                                 {
921                                                         "key": "Content-Type",
922                                                         "value": "application/json"
923                                                 },
924                                                 {
925                                                         "key": "Content-Length",
926                                                         "value": "0"
927                                                 },
928                                                 {
929                                                         "key": "Cache-Control",
930                                                         "value": "no-cache, no-store, max-age=0, must-revalidate"
931                                                 },
932                                                 {
933                                                         "key": "Pragma",
934                                                         "value": "no-cache"
935                                                 },
936                                                 {
937                                                         "key": "Expires",
938                                                         "value": "0"
939                                                 },
940                                                 {
941                                                         "key": "X-Content-Type-Options",
942                                                         "value": "nosniff"
943                                                 },
944                                                 {
945                                                         "key": "X-Frame-Options",
946                                                         "value": "DENY"
947                                                 },
948                                                 {
949                                                         "key": "X-XSS-Protection",
950                                                         "value": "1 ; mode=block"
951                                                 },
952                                                 {
953                                                         "key": "Referrer-Policy",
954                                                         "value": "no-referrer"
955                                                 }
956                                         ],
957                                         "cookie": [],
958                                         "body": ""
959                                 }
960                         ]
961                 },
962                 {
963                         "name": "Create Config Assign Day-1",
964                         "request": {
965                                 "auth": {
966                                         "type": "basic",
967                                         "basic": [
968                                                 {
969                                                         "key": "username",
970                                                         "value": "ccsdkapps",
971                                                         "type": "string"
972                                                 },
973                                                 {
974                                                         "key": "password",
975                                                         "value": "ccsdkapps",
976                                                         "type": "string"
977                                                 },
978                                                 {
979                                                         "key": "showPassword",
980                                                         "value": false,
981                                                         "type": "boolean"
982                                                 }
983                                         ]
984                                 },
985                                 "method": "POST",
986                                 "header": [
987                                         {
988                                                 "key": "Accept",
989                                                 "value": "application/json",
990                                                 "type": "text",
991                                                 "disabled": true
992                                         },
993                                         {
994                                                 "key": "Accept-Encoding",
995                                                 "value": "gzip,deflate",
996                                                 "type": "text",
997                                                 "disabled": true
998                                         },
999                                         {
1000                                                 "key": "Referer",
1001                                                 "value": "http://84.39.39.116:30497/blueprint",
1002                                                 "type": "text",
1003                                                 "disabled": true
1004                                         },
1005                                         {
1006                                                 "key": "Origin",
1007                                                 "value": "http://84.39.39.116:30497",
1008                                                 "type": "text",
1009                                                 "disabled": true
1010                                         }
1011                                 ],
1012                                 "body": {
1013                                         "mode": "raw",
1014                                         "raw": "{\n\n    \"actionIdentifiers\": {\n        \"mode\": \"sync\",\n        \"blueprintName\": \"pnf_netconf\",\n        \"blueprintVersion\": \"1.0.0\",\n        \"actionName\": \"config-assign\"\n    },\n    \"payload\": {\n        \"config-assign-request\": {\n            \"resolution-key\": \"day-1\",\n            \"config-assign-properties\": {\n                \"stream-count\": 5\n            }\n        }\n    },\n    \"commonHeader\": {\n        \"subRequestId\": \"143748f9-3cd5-4910-81c9-a4601ff2ea58\",\n        \"requestId\": \"e5eb1f1e-3386-435d-b290-d49d8af8db4c\",\n        \"originatorId\": \"SDNC_DG\"\n    }\n}",
1015                                         "options": {
1016                                                 "raw": {
1017                                                         "language": "json"
1018                                                 }
1019                                         }
1020                                 },
1021                                 "url": {
1022                                         "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process",
1023                                         "protocol": "http",
1024                                         "host": [
1025                                                 "{{host}}"
1026                                         ],
1027                                         "port": "{{port}}",
1028                                         "path": [
1029                                                 "api",
1030                                                 "v1",
1031                                                 "execution-service",
1032                                                 "process"
1033                                         ]
1034                                 }
1035                         },
1036                         "response": []
1037                 },
1038                 {
1039                         "name": "Create Config Assign Day-2",
1040                         "request": {
1041                                 "auth": {
1042                                         "type": "basic",
1043                                         "basic": [
1044                                                 {
1045                                                         "key": "username",
1046                                                         "value": "ccsdkapps",
1047                                                         "type": "string"
1048                                                 },
1049                                                 {
1050                                                         "key": "password",
1051                                                         "value": "ccsdkapps",
1052                                                         "type": "string"
1053                                                 },
1054                                                 {
1055                                                         "key": "showPassword",
1056                                                         "value": false,
1057                                                         "type": "boolean"
1058                                                 }
1059                                         ]
1060                                 },
1061                                 "method": "POST",
1062                                 "header": [
1063                                         {
1064                                                 "key": "Accept",
1065                                                 "type": "text",
1066                                                 "value": "application/json",
1067                                                 "disabled": true
1068                                         },
1069                                         {
1070                                                 "key": "Accept-Encoding",
1071                                                 "type": "text",
1072                                                 "value": "gzip,deflate",
1073                                                 "disabled": true
1074                                         },
1075                                         {
1076                                                 "key": "Referer",
1077                                                 "type": "text",
1078                                                 "value": "http://84.39.39.116:30497/blueprint",
1079                                                 "disabled": true
1080                                         },
1081                                         {
1082                                                 "key": "Origin",
1083                                                 "type": "text",
1084                                                 "value": "http://84.39.39.116:30497",
1085                                                 "disabled": true
1086                                         }
1087                                 ],
1088                                 "body": {
1089                                         "mode": "raw",
1090                                         "raw": "{\n    \"actionIdentifiers\": {\n        \"mode\": \"sync\",\n        \"blueprintName\": \"pnf_netconf\",\n        \"blueprintVersion\": \"1.0.0\",\n        \"actionName\": \"config-assign\"\n    },\n    \"payload\": {\n        \"config-assign-request\": {\n            \"resolution-key\": \"day-2\",\n            \"config-assign-properties\": {\n                \"stream-count\": 10\n            }\n        }\n    },\n    \"commonHeader\": {\n        \"subRequestId\": \"143748f9-3cd5-4910-81c9-a4601ff2ea58\",\n        \"requestId\": \"e5eb1f1e-3386-435d-b290-d49d8af8db4c\",\n        \"originatorId\": \"SDNC_DG\"\n    }\n}",
1091                                         "options": {
1092                                                 "raw": {
1093                                                         "language": "json"
1094                                                 }
1095                                         }
1096                                 },
1097                                 "url": {
1098                                         "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process",
1099                                         "protocol": "http",
1100                                         "host": [
1101                                                 "{{host}}"
1102                                         ],
1103                                         "port": "{{port}}",
1104                                         "path": [
1105                                                 "api",
1106                                                 "v1",
1107                                                 "execution-service",
1108                                                 "process"
1109                                         ]
1110                                 }
1111                         },
1112                         "response": []
1113                 },
1114                 {
1115                         "name": "Day-1 Config Deploy",
1116                         "request": {
1117                                 "auth": {
1118                                         "type": "basic",
1119                                         "basic": [
1120                                                 {
1121                                                         "key": "username",
1122                                                         "value": "ccsdkapps",
1123                                                         "type": "string"
1124                                                 },
1125                                                 {
1126                                                         "key": "password",
1127                                                         "value": "ccsdkapps",
1128                                                         "type": "string"
1129                                                 },
1130                                                 {
1131                                                         "key": "showPassword",
1132                                                         "value": false,
1133                                                         "type": "boolean"
1134                                                 }
1135                                         ]
1136                                 },
1137                                 "method": "POST",
1138                                 "header": [
1139                                         {
1140                                                 "key": "Accept",
1141                                                 "type": "text",
1142                                                 "value": "application/json",
1143                                                 "disabled": true
1144                                         },
1145                                         {
1146                                                 "key": "Accept-Encoding",
1147                                                 "type": "text",
1148                                                 "value": "gzip,deflate",
1149                                                 "disabled": true
1150                                         },
1151                                         {
1152                                                 "key": "Referer",
1153                                                 "type": "text",
1154                                                 "value": "http://84.39.39.116:30497/blueprint",
1155                                                 "disabled": true
1156                                         },
1157                                         {
1158                                                 "key": "Origin",
1159                                                 "type": "text",
1160                                                 "value": "http://84.39.39.116:30497",
1161                                                 "disabled": true
1162                                         }
1163                                 ],
1164                                 "body": {
1165                                         "mode": "raw",
1166                                         "raw": "{\n\t\"actionIdentifiers\": {\n\t\t\"mode\": \"sync\",\n\t\t\"blueprintName\": \"pnf_netconf\",\n\t\t\"blueprintVersion\": \"1.0.0\",\n\t\t\"actionName\": \"config-deploy\"\n\t},\n\t\"payload\": {\n\t\t\"config-deploy-request\": {\n\t\t\t\"resolution-key\": \"day-1\",\n\t\t\t\t\"pnf-ipv4-address\": \"{{pnf-ipv4-address}}\",\n                \"netconf-username\": \"{{netconf-username}}\",\n\t\t\t\t\"netconf-password\": \"{{netconf-password}}\"\n\t\t}\n\t},\n\t\"commonHeader\": {\n\t\t\"subRequestId\": \"143748f9-3cd5-4910-81c9-a4601ff2ea58\",\n\t\t\"requestId\": \"e5eb1f1e-3386-435d-b290-d49d8af8db4c\",\n\t\t\"originatorId\": \"SDNC_DG\"\n\t}\n}",
1167                                         "options": {
1168                                                 "raw": {
1169                                                         "language": "json"
1170                                                 }
1171                                         }
1172                                 },
1173                                 "url": {
1174                                         "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process",
1175                                         "protocol": "http",
1176                                         "host": [
1177                                                 "{{host}}"
1178                                         ],
1179                                         "port": "{{port}}",
1180                                         "path": [
1181                                                 "api",
1182                                                 "v1",
1183                                                 "execution-service",
1184                                                 "process"
1185                                         ]
1186                                 }
1187                         },
1188                         "response": []
1189                 },
1190                 {
1191                         "name": "Day-2 Config Deploy",
1192                         "request": {
1193                                 "auth": {
1194                                         "type": "basic",
1195                                         "basic": [
1196                                                 {
1197                                                         "key": "username",
1198                                                         "value": "ccsdkapps",
1199                                                         "type": "string"
1200                                                 },
1201                                                 {
1202                                                         "key": "password",
1203                                                         "value": "ccsdkapps",
1204                                                         "type": "string"
1205                                                 },
1206                                                 {
1207                                                         "key": "showPassword",
1208                                                         "value": false,
1209                                                         "type": "boolean"
1210                                                 }
1211                                         ]
1212                                 },
1213                                 "method": "POST",
1214                                 "header": [
1215                                         {
1216                                                 "key": "Accept",
1217                                                 "type": "text",
1218                                                 "value": "application/json",
1219                                                 "disabled": true
1220                                         },
1221                                         {
1222                                                 "key": "Accept-Encoding",
1223                                                 "type": "text",
1224                                                 "value": "gzip,deflate",
1225                                                 "disabled": true
1226                                         },
1227                                         {
1228                                                 "key": "Referer",
1229                                                 "type": "text",
1230                                                 "value": "http://84.39.39.116:30497/blueprint",
1231                                                 "disabled": true
1232                                         },
1233                                         {
1234                                                 "key": "Origin",
1235                                                 "type": "text",
1236                                                 "value": "http://84.39.39.116:30497",
1237                                                 "disabled": true
1238                                         }
1239                                 ],
1240                                 "body": {
1241                                         "mode": "raw",
1242                                         "raw": "{\n\t\"actionIdentifiers\": {\n\t\t\"mode\": \"sync\",\n\t\t\"blueprintName\": \"pnf_netconf\",\n\t\t\"blueprintVersion\": \"1.0.0\",\n\t\t\"actionName\": \"config-deploy\"\n\t},\n\t\"payload\": {\n\t\t\"config-deploy-request\": {\n\t\t\t\"resolution-key\": \"day-2\",\n\t\t\t\t\"pnf-ipv4-address\": \"{{pnf-ipv4-address}}\",\n                \"netconf-username\": \"{{netconf-username}}\",\n\t\t\t\t\"netconf-password\": \"{{netconf-password}}\"\n\t\t}\n\t},\n\t\"commonHeader\": {\n\t\t\"subRequestId\": \"143748f9-3cd5-4910-81c9-a4601ff2ea58\",\n\t\t\"requestId\": \"e5eb1f1e-3386-435d-b290-d49d8af8db4c\",\n\t\t\"originatorId\": \"SDNC_DG\"\n\t}\n}",
1243                                         "options": {
1244                                                 "raw": {
1245                                                         "language": "json"
1246                                                 }
1247                                         }
1248                                 },
1249                                 "url": {
1250                                         "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process",
1251                                         "protocol": "http",
1252                                         "host": [
1253                                                 "{{host}}"
1254                                         ],
1255                                         "port": "{{port}}",
1256                                         "path": [
1257                                                 "api",
1258                                                 "v1",
1259                                                 "execution-service",
1260                                                 "process"
1261                                         ]
1262                                 }
1263                         },
1264                         "response": []
1265                 }
1266         ],
1267         "event": [
1268                 {
1269                         "listen": "prerequest",
1270                         "script": {
1271                                 "type": "text/javascript",
1272                                 "exec": [
1273                                         ""
1274                                 ]
1275                         }
1276                 },
1277                 {
1278                         "listen": "test",
1279                         "script": {
1280                                 "type": "text/javascript",
1281                                 "exec": [
1282                                         ""
1283                                 ]
1284                         }
1285                 }
1286         ],
1287         "variable": [
1288                 {
1289                         "key": "host",
1290                         "value": "localhost"
1291                 },
1292                 {
1293                         "key": "port",
1294                         "value": "8081"
1295                 },
1296                 {
1297                         "key": "pnf-ipv4-address",
1298                         "value": "127.17.0.2"
1299                 },
1300                 {
1301                         "key": "netconf-username",
1302                         "value": "netconf"
1303                 },
1304                 {
1305                         "key": "netconf-password",
1306                         "value": "netconf"
1307                 }
1308         ]
1309 }