JakobKrieg | ebd1fbd | 2020-10-02 16:53:27 +0200 | [diff] [blame] | 1 | { |
| 2 | "info": { |
| 3 | "_postman_id": "295cc7b7-a544-44f5-8045-54effcd41108", |
| 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", |
JakobKrieg | abfdc07 | 2020-10-06 16:49:39 +0200 | [diff] [blame] | 11 | "protocolProfileBehavior": { |
| 12 | "disabledSystemHeaders": {} |
| 13 | }, |
JakobKrieg | ebd1fbd | 2020-10-02 16:53:27 +0200 | [diff] [blame] | 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 | "options": { |
| 47 | "raw": {} |
| 48 | } |
| 49 | }, |
| 50 | "url": { |
| 51 | "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model/bootstrap", |
| 52 | "protocol": "http", |
| 53 | "host": [ |
| 54 | "{{host}}" |
| 55 | ], |
| 56 | "port": "{{port}}", |
| 57 | "path": [ |
| 58 | "api", |
| 59 | "v1", |
| 60 | "blueprint-model", |
| 61 | "bootstrap" |
| 62 | ] |
| 63 | } |
| 64 | }, |
| 65 | "response": [ |
| 66 | { |
| 67 | "name": "CDS Bootstrap", |
| 68 | "originalRequest": { |
| 69 | "method": "POST", |
| 70 | "header": [ |
| 71 | { |
| 72 | "key": "Content-Type", |
| 73 | "value": "application/json" |
| 74 | }, |
| 75 | { |
| 76 | "key": "", |
| 77 | "value": "", |
| 78 | "type": "text", |
| 79 | "disabled": true |
| 80 | } |
| 81 | ], |
| 82 | "body": { |
| 83 | "mode": "raw", |
| 84 | "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}", |
| 85 | "options": { |
| 86 | "raw": {} |
| 87 | } |
| 88 | }, |
| 89 | "url": { |
| 90 | "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap", |
| 91 | "protocol": "http", |
| 92 | "host": [ |
| 93 | "localhost" |
| 94 | ], |
| 95 | "port": "8081", |
| 96 | "path": [ |
| 97 | "api", |
| 98 | "v1", |
| 99 | "blueprint-model", |
| 100 | "bootstrap" |
| 101 | ] |
| 102 | } |
| 103 | }, |
| 104 | "status": "OK", |
| 105 | "code": 200, |
| 106 | "_postman_previewlanguage": "json", |
| 107 | "header": [ |
| 108 | { |
| 109 | "key": "X-ONAP-RequestID", |
| 110 | "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01" |
| 111 | }, |
| 112 | { |
| 113 | "key": "X-ONAP-InvocationID", |
| 114 | "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077" |
| 115 | }, |
| 116 | { |
| 117 | "key": "X-ONAP-PartnerName", |
| 118 | "value": "cds-controller" |
| 119 | }, |
| 120 | { |
| 121 | "key": "Vary", |
| 122 | "value": "Origin" |
| 123 | }, |
| 124 | { |
| 125 | "key": "Vary", |
| 126 | "value": "Access-Control-Request-Method" |
| 127 | }, |
| 128 | { |
| 129 | "key": "Vary", |
| 130 | "value": "Access-Control-Request-Headers" |
| 131 | }, |
| 132 | { |
| 133 | "key": "Content-Type", |
| 134 | "value": "application/json" |
| 135 | }, |
| 136 | { |
| 137 | "key": "Content-Length", |
| 138 | "value": "0" |
| 139 | }, |
| 140 | { |
| 141 | "key": "Cache-Control", |
| 142 | "value": "no-cache, no-store, max-age=0, must-revalidate" |
| 143 | }, |
| 144 | { |
| 145 | "key": "Pragma", |
| 146 | "value": "no-cache" |
| 147 | }, |
| 148 | { |
| 149 | "key": "Expires", |
| 150 | "value": "0" |
| 151 | }, |
| 152 | { |
| 153 | "key": "X-Content-Type-Options", |
| 154 | "value": "nosniff" |
| 155 | }, |
| 156 | { |
| 157 | "key": "X-Frame-Options", |
| 158 | "value": "DENY" |
| 159 | }, |
| 160 | { |
| 161 | "key": "X-XSS-Protection", |
| 162 | "value": "1 ; mode=block" |
| 163 | }, |
| 164 | { |
| 165 | "key": "Referrer-Policy", |
| 166 | "value": "no-referrer" |
| 167 | } |
| 168 | ], |
| 169 | "cookie": [], |
| 170 | "body": "" |
| 171 | } |
| 172 | ] |
| 173 | }, |
| 174 | { |
| 175 | "name": "Get Blueprints", |
| 176 | "protocolProfileBehavior": { |
| 177 | "disableBodyPruning": true |
| 178 | }, |
| 179 | "request": { |
| 180 | "auth": { |
| 181 | "type": "basic", |
| 182 | "basic": [ |
| 183 | { |
| 184 | "key": "password", |
| 185 | "value": "ccsdkapps", |
| 186 | "type": "string" |
| 187 | }, |
| 188 | { |
| 189 | "key": "username", |
| 190 | "value": "ccsdkapps", |
| 191 | "type": "string" |
| 192 | } |
| 193 | ] |
| 194 | }, |
| 195 | "method": "GET", |
| 196 | "header": [ |
| 197 | { |
| 198 | "key": "Content-Type", |
| 199 | "value": "application/json" |
| 200 | }, |
| 201 | { |
| 202 | "key": "", |
| 203 | "value": "", |
| 204 | "type": "text", |
| 205 | "disabled": true |
| 206 | } |
| 207 | ], |
| 208 | "body": { |
| 209 | "mode": "raw", |
| 210 | "raw": "{\r\n\"loadModelType\" : true,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}", |
| 211 | "options": { |
| 212 | "raw": {} |
| 213 | } |
| 214 | }, |
| 215 | "url": { |
| 216 | "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model", |
| 217 | "protocol": "http", |
| 218 | "host": [ |
| 219 | "{{host}}" |
| 220 | ], |
| 221 | "port": "{{port}}", |
| 222 | "path": [ |
| 223 | "api", |
| 224 | "v1", |
| 225 | "blueprint-model" |
| 226 | ] |
| 227 | } |
| 228 | }, |
| 229 | "response": [ |
| 230 | { |
| 231 | "name": "CDS Bootstrap", |
| 232 | "originalRequest": { |
| 233 | "method": "POST", |
| 234 | "header": [ |
| 235 | { |
| 236 | "key": "Content-Type", |
| 237 | "value": "application/json" |
| 238 | }, |
| 239 | { |
| 240 | "key": "", |
| 241 | "value": "", |
| 242 | "type": "text", |
| 243 | "disabled": true |
| 244 | } |
| 245 | ], |
| 246 | "body": { |
| 247 | "mode": "raw", |
| 248 | "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}", |
| 249 | "options": { |
| 250 | "raw": {} |
| 251 | } |
| 252 | }, |
| 253 | "url": { |
| 254 | "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap", |
| 255 | "protocol": "http", |
| 256 | "host": [ |
| 257 | "localhost" |
| 258 | ], |
| 259 | "port": "8081", |
| 260 | "path": [ |
| 261 | "api", |
| 262 | "v1", |
| 263 | "blueprint-model", |
| 264 | "bootstrap" |
| 265 | ] |
| 266 | } |
| 267 | }, |
| 268 | "status": "OK", |
| 269 | "code": 200, |
| 270 | "_postman_previewlanguage": "json", |
| 271 | "header": [ |
| 272 | { |
| 273 | "key": "X-ONAP-RequestID", |
| 274 | "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01" |
| 275 | }, |
| 276 | { |
| 277 | "key": "X-ONAP-InvocationID", |
| 278 | "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077" |
| 279 | }, |
| 280 | { |
| 281 | "key": "X-ONAP-PartnerName", |
| 282 | "value": "cds-controller" |
| 283 | }, |
| 284 | { |
| 285 | "key": "Vary", |
| 286 | "value": "Origin" |
| 287 | }, |
| 288 | { |
| 289 | "key": "Vary", |
| 290 | "value": "Access-Control-Request-Method" |
| 291 | }, |
| 292 | { |
| 293 | "key": "Vary", |
| 294 | "value": "Access-Control-Request-Headers" |
| 295 | }, |
| 296 | { |
| 297 | "key": "Content-Type", |
| 298 | "value": "application/json" |
| 299 | }, |
| 300 | { |
| 301 | "key": "Content-Length", |
| 302 | "value": "0" |
| 303 | }, |
| 304 | { |
| 305 | "key": "Cache-Control", |
| 306 | "value": "no-cache, no-store, max-age=0, must-revalidate" |
| 307 | }, |
| 308 | { |
| 309 | "key": "Pragma", |
| 310 | "value": "no-cache" |
| 311 | }, |
| 312 | { |
| 313 | "key": "Expires", |
| 314 | "value": "0" |
| 315 | }, |
| 316 | { |
| 317 | "key": "X-Content-Type-Options", |
| 318 | "value": "nosniff" |
| 319 | }, |
| 320 | { |
| 321 | "key": "X-Frame-Options", |
| 322 | "value": "DENY" |
| 323 | }, |
| 324 | { |
| 325 | "key": "X-XSS-Protection", |
| 326 | "value": "1 ; mode=block" |
| 327 | }, |
| 328 | { |
| 329 | "key": "Referrer-Policy", |
| 330 | "value": "no-referrer" |
| 331 | } |
| 332 | ], |
| 333 | "cookie": [], |
| 334 | "body": "" |
| 335 | } |
| 336 | ] |
| 337 | }, |
| 338 | { |
| 339 | "name": "Data Dictionary", |
JakobKrieg | abfdc07 | 2020-10-06 16:49:39 +0200 | [diff] [blame] | 340 | "event": [ |
| 341 | { |
| 342 | "listen": "prerequest", |
| 343 | "script": { |
| 344 | "id": "c927b543-b143-4ab9-963c-6289a7d1040e", |
| 345 | "exec": [ |
| 346 | "var allDD = pm.environment.get(\"allDD\");\r", |
| 347 | "\r", |
| 348 | "if (!(allDD instanceof Array)) {\r", |
| 349 | " var allDD = [\r", |
| 350 | " {\r", |
| 351 | "\t\t\"name\": \"netconf-password\",\r", |
| 352 | "\t\t\"tags\": \"netconf-password\",\r", |
| 353 | "\t\t\"data_type\": \"string\",\r", |
| 354 | "\t\t\"description\": \"netconf-password\",\r", |
| 355 | "\t\t\"entry_schema\": \"string\",\r", |
| 356 | "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 357 | "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 358 | "\t\t\"definition\": {\r", |
| 359 | "\t\t\t\"tags\": \"netconf-password\",\r", |
| 360 | "\t\t\t\"name\": \"netconf-password\",\r", |
| 361 | "\t\t\t\"property\": {\r", |
| 362 | "\t\t\t\t\"description\": \"netconf-password string attribute\",\r", |
| 363 | "\t\t\t\t\"type\": \"string\"\r", |
| 364 | "\t\t\t},\r", |
| 365 | "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 366 | "\t\t\t\"sources\": {\r", |
| 367 | "\t\t\t\t\"input\": {\r", |
| 368 | "\t\t\t\t\t\"type\": \"source-input\",\r", |
| 369 | "\t\t\t\t\t\"properties\": {}\r", |
| 370 | "\t\t\t\t}\r", |
| 371 | "\t\t\t}\r", |
| 372 | "\t\t}\r", |
| 373 | "\t},\r", |
| 374 | "\t{\r", |
| 375 | "\t\t\"name\": \"netconf-username\",\r", |
| 376 | "\t\t\"tags\": \"netconf-username\",\r", |
| 377 | "\t\t\"data_type\": \"string\",\r", |
| 378 | "\t\t\"description\": \"netconf-username\",\r", |
| 379 | "\t\t\"entry_schema\": \"string\",\r", |
| 380 | "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 381 | "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 382 | "\t\t\"definition\": {\r", |
| 383 | "\t\t\t\"tags\": \"netconf-username\",\r", |
| 384 | "\t\t\t\"name\": \"netconf-username\",\r", |
| 385 | "\t\t\t\"property\": {\r", |
| 386 | "\t\t\t\t\"description\": \"netconf-username string attribute\",\r", |
| 387 | "\t\t\t\t\"type\": \"string\"\r", |
| 388 | "\t\t\t},\r", |
| 389 | "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 390 | "\t\t\t\"sources\": {\r", |
| 391 | "\t\t\t\t\"input\": {\r", |
| 392 | "\t\t\t\t\t\"type\": \"source-input\",\r", |
| 393 | "\t\t\t\t\t\"properties\": {}\r", |
| 394 | "\t\t\t\t}\r", |
| 395 | "\t\t\t}\r", |
| 396 | "\t\t}\r", |
| 397 | "\t},\r", |
| 398 | "\t{\r", |
| 399 | "\t\t\"name\": \"netconf-server-port\",\r", |
| 400 | "\t\t\"tags\": \"netconf-server-port\",\r", |
| 401 | "\t\t\"data_type\": \"string\",\r", |
| 402 | "\t\t\"description\": \"netconf-server-port\",\r", |
| 403 | "\t\t\"entry_schema\": \"string\",\r", |
| 404 | "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 405 | "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 406 | "\t\t\"definition\": {\r", |
| 407 | "\t\t\t\"tags\": \"netconf-server-port\",\r", |
| 408 | "\t\t\t\"name\": \"netconf-server-port\",\r", |
| 409 | "\t\t\t\"property\": {\r", |
| 410 | "\t\t\t\t\"description\": \"netconf-server-port string attribute\",\r", |
| 411 | "\t\t\t\t\"type\": \"string\"\r", |
| 412 | "\t\t\t},\r", |
| 413 | "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 414 | "\t\t\t\"sources\": {\r", |
| 415 | "\t\t\t\t\"input\": {\r", |
| 416 | "\t\t\t\t\t\"type\": \"source-input\",\r", |
| 417 | "\t\t\t\t\t\"properties\": {}\r", |
| 418 | "\t\t\t\t}\r", |
| 419 | "\t\t\t}\r", |
| 420 | "\t\t}\r", |
| 421 | "\t},\r", |
| 422 | "\t{\r", |
| 423 | "\t\t\"name\": \"pnf-id\",\r", |
| 424 | "\t\t\"tags\": \"pnf-id\",\r", |
| 425 | "\t\t\"data_type\": \"string\",\r", |
| 426 | "\t\t\"description\": \"pnf-id\",\r", |
| 427 | "\t\t\"entry_schema\": \"string\",\r", |
| 428 | "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 429 | "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 430 | "\t\t\"definition\": {\r", |
| 431 | "\t\t\t\"tags\": \"pnf-id\",\r", |
| 432 | "\t\t\t\"name\": \"pnf-id\",\r", |
| 433 | "\t\t\t\"property\": {\r", |
| 434 | "\t\t\t\t\"description\": \"pnf-id string attribute\",\r", |
| 435 | "\t\t\t\t\"type\": \"string\"\r", |
| 436 | "\t\t\t},\r", |
| 437 | "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 438 | "\t\t\t\"sources\": {\r", |
| 439 | "\t\t\t\t\"input\": {\r", |
| 440 | "\t\t\t\t\t\"type\": \"source-input\",\r", |
| 441 | "\t\t\t\t\t\"properties\": {}\r", |
| 442 | "\t\t\t\t}\r", |
| 443 | "\t\t\t}\r", |
| 444 | "\t\t}\r", |
| 445 | "\t},\r", |
| 446 | "\t{\r", |
| 447 | "\r", |
| 448 | "\t\t\"name\": \"pnf-ipv4-address\",\r", |
| 449 | "\t\t\"tags\": \"pnf-ipv4-address\",\r", |
| 450 | "\t\t\"data_type\": \"string\",\r", |
| 451 | "\t\t\"description\": \"pnf-ipv4-address\",\r", |
| 452 | "\t\t\"entry_schema\": \"string\",\r", |
| 453 | "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 454 | "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 455 | "\t\t\"definition\": {\r", |
| 456 | "\t\t\t\"tags\": \"pnf-ipv4-address\",\r", |
| 457 | "\t\t\t\"name\": \"pnf-ipv4-address\",\r", |
| 458 | "\t\t\t\"property\": {\r", |
| 459 | "\t\t\t\t\"description\": \"pnf-ipv4-address string attribute\",\r", |
| 460 | "\t\t\t\t\"type\": \"string\"\r", |
| 461 | "\t\t\t},\r", |
| 462 | "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 463 | "\t\t\t\"sources\": {\r", |
| 464 | "\t\t\t\t\"input\": {\r", |
| 465 | "\t\t\t\t\t\"type\": \"source-input\",\r", |
| 466 | "\t\t\t\t\t\"properties\": {}\r", |
| 467 | "\t\t\t\t}\r", |
| 468 | "\t\t\t}\r", |
| 469 | "\t\t}\r", |
| 470 | "\r", |
| 471 | "\t},\r", |
| 472 | "\t{\r", |
| 473 | "\t\t\"name\": \"stream-count\",\r", |
| 474 | "\t\t\"tags\": \"stream-count\",\r", |
| 475 | "\t\t\"data_type\": \"string\",\r", |
| 476 | "\t\t\"description\": \"stream-count\",\r", |
| 477 | "\t\t\"entry_schema\": \"string\",\r", |
| 478 | "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 479 | "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 480 | "\t\t\"definition\": {\r", |
| 481 | "\t\t\t\"tags\": \"stream-count\",\r", |
| 482 | "\t\t\t\"name\": \"stream-count\",\r", |
| 483 | "\t\t\t\"property\": {\r", |
| 484 | "\t\t\t\t\"description\": \"stream-count string attribute\",\r", |
| 485 | "\t\t\t\t\"type\": \"integer\"\r", |
| 486 | "\t\t\t},\r", |
| 487 | "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| 488 | "\t\t\t\"sources\": {\r", |
| 489 | "\t\t\t\t\"input\": {\r", |
| 490 | "\t\t\t\t\t\"type\": \"source-default\",\r", |
| 491 | "\t\t\t\t\t\"properties\": {}\r", |
| 492 | "\t\t\t\t},\r", |
| 493 | "\t\t\t\t\"default\": {\r", |
| 494 | "\r", |
| 495 | "\t\t\t\t\t\"type\": \"source-default\",\r", |
| 496 | "\r", |
| 497 | "\t\t\t\t\t\"properties\": {}\r", |
| 498 | "\r", |
| 499 | "\t\t\t\t}\r", |
| 500 | "\t\t\t}\r", |
| 501 | "\t\t}\r", |
| 502 | "\t}]\r", |
| 503 | "}\r", |
| 504 | "\r", |
| 505 | "\r", |
| 506 | "var currentDD = JSON.stringify(allDD.shift());\r", |
| 507 | "pm.environment.set(\"DataDictionary\", currentDD);\r", |
| 508 | "console.log(currentDD);\r", |
| 509 | "pm.environment.set(\"allDD\", allDD);\r", |
| 510 | "\r", |
| 511 | "\r", |
| 512 | "" |
| 513 | ], |
| 514 | "type": "text/javascript" |
| 515 | } |
| 516 | }, |
| 517 | { |
| 518 | "listen": "test", |
| 519 | "script": { |
| 520 | "id": "bd26b9e6-4237-4591-a037-0520f737439f", |
| 521 | "exec": [ |
| 522 | "var allDD = pm.environment.get(\"allDD\");\r", |
| 523 | "\r", |
| 524 | "if (allDD instanceof Array && allDD.length > 0) {\r", |
| 525 | " postman.setNextRequest(\"Data Dictionary\");\r", |
| 526 | "} else {\r", |
| 527 | " postman.setNextRequest(null);\r", |
| 528 | " allDD = null;\r", |
| 529 | "}" |
| 530 | ], |
| 531 | "type": "text/javascript" |
| 532 | } |
| 533 | } |
| 534 | ], |
JakobKrieg | ebd1fbd | 2020-10-02 16:53:27 +0200 | [diff] [blame] | 535 | "request": { |
| 536 | "auth": { |
| 537 | "type": "basic", |
| 538 | "basic": [ |
| 539 | { |
| 540 | "key": "password", |
| 541 | "value": "ccsdkapps", |
| 542 | "type": "string" |
| 543 | }, |
| 544 | { |
| 545 | "key": "username", |
| 546 | "value": "ccsdkapps", |
| 547 | "type": "string" |
| 548 | } |
| 549 | ] |
| 550 | }, |
| 551 | "method": "POST", |
| 552 | "header": [], |
| 553 | "body": { |
| 554 | "mode": "raw", |
JakobKrieg | abfdc07 | 2020-10-06 16:49:39 +0200 | [diff] [blame] | 555 | "raw": "{{DataDictionary}}", |
JakobKrieg | ebd1fbd | 2020-10-02 16:53:27 +0200 | [diff] [blame] | 556 | "options": { |
| 557 | "raw": { |
| 558 | "language": "json" |
| 559 | } |
| 560 | } |
| 561 | }, |
| 562 | "url": { |
| 563 | "raw": "http://{{host}}:{{port}}/api/v1/dictionary", |
| 564 | "protocol": "http", |
| 565 | "host": [ |
| 566 | "{{host}}" |
| 567 | ], |
| 568 | "port": "{{port}}", |
| 569 | "path": [ |
| 570 | "api", |
| 571 | "v1", |
| 572 | "dictionary" |
| 573 | ] |
| 574 | } |
| 575 | }, |
| 576 | "response": [] |
| 577 | }, |
| 578 | { |
| 579 | "name": "Enrich Blueprint", |
| 580 | "request": { |
| 581 | "auth": { |
| 582 | "type": "basic", |
| 583 | "basic": [ |
| 584 | { |
| 585 | "key": "username", |
| 586 | "value": "ccsdkapps", |
| 587 | "type": "string" |
| 588 | }, |
| 589 | { |
| 590 | "key": "password", |
| 591 | "value": "ccsdkapps", |
| 592 | "type": "string" |
| 593 | }, |
| 594 | { |
| 595 | "key": "showPassword", |
| 596 | "value": false, |
| 597 | "type": "boolean" |
| 598 | } |
| 599 | ] |
| 600 | }, |
| 601 | "method": "POST", |
| 602 | "header": [ |
| 603 | { |
| 604 | "key": "Accept", |
| 605 | "value": "application/json", |
| 606 | "type": "text", |
| 607 | "disabled": true |
| 608 | }, |
| 609 | { |
| 610 | "key": "Accept-Encoding", |
| 611 | "value": "gzip,deflate", |
| 612 | "type": "text", |
| 613 | "disabled": true |
| 614 | }, |
| 615 | { |
| 616 | "key": "Referer", |
| 617 | "value": "http://84.39.39.116:30497/blueprint", |
| 618 | "type": "text", |
| 619 | "disabled": true |
| 620 | }, |
| 621 | { |
| 622 | "key": "Origin", |
| 623 | "value": "http://84.39.39.116:30497", |
| 624 | "type": "text", |
| 625 | "disabled": true |
| 626 | } |
| 627 | ], |
| 628 | "body": { |
| 629 | "mode": "formdata", |
| 630 | "formdata": [ |
| 631 | { |
| 632 | "key": "file", |
| 633 | "type": "file", |
| 634 | "src": "/home/jakob/CDS_Use_Cases/PNF-DEMO-ENRICHED_WORKING/pnf-demo.zip" |
| 635 | } |
| 636 | ], |
| 637 | "options": { |
| 638 | "formdata": {} |
| 639 | } |
| 640 | }, |
| 641 | "url": { |
| 642 | "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model/enrich", |
| 643 | "protocol": "http", |
| 644 | "host": [ |
| 645 | "{{host}}" |
| 646 | ], |
| 647 | "port": "{{port}}", |
| 648 | "path": [ |
| 649 | "api", |
| 650 | "v1", |
| 651 | "blueprint-model", |
| 652 | "enrich" |
| 653 | ] |
| 654 | } |
| 655 | }, |
| 656 | "response": [] |
| 657 | }, |
| 658 | { |
| 659 | "name": "Save Blueprint", |
| 660 | "request": { |
| 661 | "auth": { |
| 662 | "type": "basic", |
| 663 | "basic": [ |
| 664 | { |
| 665 | "key": "password", |
| 666 | "value": "ccsdkapps", |
| 667 | "type": "string" |
| 668 | }, |
| 669 | { |
| 670 | "key": "username", |
| 671 | "value": "ccsdkapps", |
| 672 | "type": "string" |
| 673 | } |
| 674 | ] |
| 675 | }, |
| 676 | "method": "POST", |
| 677 | "header": [ |
| 678 | { |
| 679 | "key": "Content-Type", |
| 680 | "value": "application/json" |
| 681 | }, |
| 682 | { |
| 683 | "key": "", |
| 684 | "type": "text", |
| 685 | "value": "", |
| 686 | "disabled": true |
| 687 | } |
| 688 | ], |
| 689 | "body": { |
| 690 | "mode": "formdata", |
| 691 | "formdata": [ |
| 692 | { |
| 693 | "key": "file", |
| 694 | "type": "file", |
| 695 | "src": "/home/jakob/CDS_Use_Cases/PNF-DEMO-ENRICHED_WORKING/pnf-demo.zip" |
| 696 | } |
| 697 | ], |
| 698 | "options": { |
JakobKrieg | abfdc07 | 2020-10-06 16:49:39 +0200 | [diff] [blame] | 699 | "formdata": {} |
JakobKrieg | ebd1fbd | 2020-10-02 16:53:27 +0200 | [diff] [blame] | 700 | } |
| 701 | }, |
| 702 | "url": { |
| 703 | "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model", |
| 704 | "protocol": "http", |
| 705 | "host": [ |
| 706 | "{{host}}" |
| 707 | ], |
| 708 | "port": "{{port}}", |
| 709 | "path": [ |
| 710 | "api", |
| 711 | "v1", |
| 712 | "blueprint-model" |
| 713 | ] |
| 714 | } |
| 715 | }, |
| 716 | "response": [ |
| 717 | { |
| 718 | "name": "CDS Bootstrap", |
| 719 | "originalRequest": { |
| 720 | "method": "POST", |
| 721 | "header": [ |
| 722 | { |
| 723 | "key": "Content-Type", |
| 724 | "value": "application/json" |
| 725 | }, |
| 726 | { |
| 727 | "key": "", |
| 728 | "value": "", |
| 729 | "type": "text", |
| 730 | "disabled": true |
| 731 | } |
| 732 | ], |
| 733 | "body": { |
| 734 | "mode": "raw", |
| 735 | "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}", |
| 736 | "options": { |
| 737 | "raw": {} |
| 738 | } |
| 739 | }, |
| 740 | "url": { |
| 741 | "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap", |
| 742 | "protocol": "http", |
| 743 | "host": [ |
| 744 | "localhost" |
| 745 | ], |
| 746 | "port": "8081", |
| 747 | "path": [ |
| 748 | "api", |
| 749 | "v1", |
| 750 | "blueprint-model", |
| 751 | "bootstrap" |
| 752 | ] |
| 753 | } |
| 754 | }, |
| 755 | "status": "OK", |
| 756 | "code": 200, |
| 757 | "_postman_previewlanguage": "json", |
| 758 | "header": [ |
| 759 | { |
| 760 | "key": "X-ONAP-RequestID", |
| 761 | "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01" |
| 762 | }, |
| 763 | { |
| 764 | "key": "X-ONAP-InvocationID", |
| 765 | "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077" |
| 766 | }, |
| 767 | { |
| 768 | "key": "X-ONAP-PartnerName", |
| 769 | "value": "cds-controller" |
| 770 | }, |
| 771 | { |
| 772 | "key": "Vary", |
| 773 | "value": "Origin" |
| 774 | }, |
| 775 | { |
| 776 | "key": "Vary", |
| 777 | "value": "Access-Control-Request-Method" |
| 778 | }, |
| 779 | { |
| 780 | "key": "Vary", |
| 781 | "value": "Access-Control-Request-Headers" |
| 782 | }, |
| 783 | { |
| 784 | "key": "Content-Type", |
| 785 | "value": "application/json" |
| 786 | }, |
| 787 | { |
| 788 | "key": "Content-Length", |
| 789 | "value": "0" |
| 790 | }, |
| 791 | { |
| 792 | "key": "Cache-Control", |
| 793 | "value": "no-cache, no-store, max-age=0, must-revalidate" |
| 794 | }, |
| 795 | { |
| 796 | "key": "Pragma", |
| 797 | "value": "no-cache" |
| 798 | }, |
| 799 | { |
| 800 | "key": "Expires", |
| 801 | "value": "0" |
| 802 | }, |
| 803 | { |
| 804 | "key": "X-Content-Type-Options", |
| 805 | "value": "nosniff" |
| 806 | }, |
| 807 | { |
| 808 | "key": "X-Frame-Options", |
| 809 | "value": "DENY" |
| 810 | }, |
| 811 | { |
| 812 | "key": "X-XSS-Protection", |
| 813 | "value": "1 ; mode=block" |
| 814 | }, |
| 815 | { |
| 816 | "key": "Referrer-Policy", |
| 817 | "value": "no-referrer" |
| 818 | } |
| 819 | ], |
| 820 | "cookie": [], |
| 821 | "body": "" |
| 822 | } |
| 823 | ] |
| 824 | }, |
| 825 | { |
| 826 | "name": "Create Config Assign Day-1", |
| 827 | "request": { |
| 828 | "auth": { |
| 829 | "type": "basic", |
| 830 | "basic": [ |
| 831 | { |
| 832 | "key": "username", |
| 833 | "value": "ccsdkapps", |
| 834 | "type": "string" |
| 835 | }, |
| 836 | { |
| 837 | "key": "password", |
| 838 | "value": "ccsdkapps", |
| 839 | "type": "string" |
| 840 | }, |
| 841 | { |
| 842 | "key": "showPassword", |
| 843 | "value": false, |
| 844 | "type": "boolean" |
| 845 | } |
| 846 | ] |
| 847 | }, |
| 848 | "method": "POST", |
| 849 | "header": [ |
| 850 | { |
| 851 | "key": "Accept", |
| 852 | "value": "application/json", |
| 853 | "type": "text", |
| 854 | "disabled": true |
| 855 | }, |
| 856 | { |
| 857 | "key": "Accept-Encoding", |
| 858 | "value": "gzip,deflate", |
| 859 | "type": "text", |
| 860 | "disabled": true |
| 861 | }, |
| 862 | { |
| 863 | "key": "Referer", |
| 864 | "value": "http://84.39.39.116:30497/blueprint", |
| 865 | "type": "text", |
| 866 | "disabled": true |
| 867 | }, |
| 868 | { |
| 869 | "key": "Origin", |
| 870 | "value": "http://84.39.39.116:30497", |
| 871 | "type": "text", |
| 872 | "disabled": true |
| 873 | } |
| 874 | ], |
| 875 | "body": { |
| 876 | "mode": "raw", |
| 877 | "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 \"template-prefix\": [\n \"pnf\", \"netconfrpc\"\n ],\n \"resolution-key\": \"day-1\",\n \"config-assign-properties\": {\n \"pnf-id\": \"abcd\",\n \"pnf-ipv4-address\": \"172.17.0.2\",\n \"netconf-password\": \"netconf\",\n \"netconf-username\": \"netconf\",\n \"netconf-server-port\": \"830\",\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}", |
| 878 | "options": { |
| 879 | "formdata": {}, |
| 880 | "raw": { |
| 881 | "language": "json" |
| 882 | } |
| 883 | } |
| 884 | }, |
| 885 | "url": { |
| 886 | "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process", |
| 887 | "protocol": "http", |
| 888 | "host": [ |
| 889 | "{{host}}" |
| 890 | ], |
| 891 | "port": "{{port}}", |
| 892 | "path": [ |
| 893 | "api", |
| 894 | "v1", |
| 895 | "execution-service", |
| 896 | "process" |
| 897 | ] |
| 898 | } |
| 899 | }, |
| 900 | "response": [] |
| 901 | }, |
| 902 | { |
| 903 | "name": "Create Config Assign Day-2", |
| 904 | "request": { |
| 905 | "auth": { |
| 906 | "type": "basic", |
| 907 | "basic": [ |
| 908 | { |
| 909 | "key": "username", |
| 910 | "value": "ccsdkapps", |
| 911 | "type": "string" |
| 912 | }, |
| 913 | { |
| 914 | "key": "password", |
| 915 | "value": "ccsdkapps", |
| 916 | "type": "string" |
| 917 | }, |
| 918 | { |
| 919 | "key": "showPassword", |
| 920 | "value": false, |
| 921 | "type": "boolean" |
| 922 | } |
| 923 | ] |
| 924 | }, |
| 925 | "method": "POST", |
| 926 | "header": [ |
| 927 | { |
| 928 | "key": "Accept", |
| 929 | "type": "text", |
| 930 | "value": "application/json", |
| 931 | "disabled": true |
| 932 | }, |
| 933 | { |
| 934 | "key": "Accept-Encoding", |
| 935 | "type": "text", |
| 936 | "value": "gzip,deflate", |
| 937 | "disabled": true |
| 938 | }, |
| 939 | { |
| 940 | "key": "Referer", |
| 941 | "type": "text", |
| 942 | "value": "http://84.39.39.116:30497/blueprint", |
| 943 | "disabled": true |
| 944 | }, |
| 945 | { |
| 946 | "key": "Origin", |
| 947 | "type": "text", |
| 948 | "value": "http://84.39.39.116:30497", |
| 949 | "disabled": true |
| 950 | } |
| 951 | ], |
| 952 | "body": { |
| 953 | "mode": "raw", |
| 954 | "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 \"template-prefix\": [\n \"pnf\", \"netconfrpc\"\n ],\n \"resolution-key\": \"day-2\",\n \"config-assign-properties\": {\n \"pnf-id\": \"abcd\",\n \"pnf-ipv4-address\": \"172.17.0.2\",\n \"netconf-password\": \"netconf\",\n \"netconf-username\": \"netconf\",\n \"netconf-server-port\": \"830\",\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}", |
| 955 | "options": { |
| 956 | "formdata": {}, |
| 957 | "raw": { |
| 958 | "language": "json" |
| 959 | } |
| 960 | } |
| 961 | }, |
| 962 | "url": { |
| 963 | "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process", |
| 964 | "protocol": "http", |
| 965 | "host": [ |
| 966 | "{{host}}" |
| 967 | ], |
| 968 | "port": "{{port}}", |
| 969 | "path": [ |
| 970 | "api", |
| 971 | "v1", |
| 972 | "execution-service", |
| 973 | "process" |
| 974 | ] |
| 975 | } |
| 976 | }, |
| 977 | "response": [] |
| 978 | }, |
| 979 | { |
| 980 | "name": "Config Assign Day-1 Deploy", |
| 981 | "request": { |
| 982 | "auth": { |
| 983 | "type": "basic", |
| 984 | "basic": [ |
| 985 | { |
| 986 | "key": "username", |
| 987 | "value": "ccsdkapps", |
| 988 | "type": "string" |
| 989 | }, |
| 990 | { |
| 991 | "key": "password", |
| 992 | "value": "ccsdkapps", |
| 993 | "type": "string" |
| 994 | }, |
| 995 | { |
| 996 | "key": "showPassword", |
| 997 | "value": false, |
| 998 | "type": "boolean" |
| 999 | } |
| 1000 | ] |
| 1001 | }, |
| 1002 | "method": "POST", |
| 1003 | "header": [ |
| 1004 | { |
| 1005 | "key": "Accept", |
| 1006 | "type": "text", |
| 1007 | "value": "application/json", |
| 1008 | "disabled": true |
| 1009 | }, |
| 1010 | { |
| 1011 | "key": "Accept-Encoding", |
| 1012 | "type": "text", |
| 1013 | "value": "gzip,deflate", |
| 1014 | "disabled": true |
| 1015 | }, |
| 1016 | { |
| 1017 | "key": "Referer", |
| 1018 | "type": "text", |
| 1019 | "value": "http://84.39.39.116:30497/blueprint", |
| 1020 | "disabled": true |
| 1021 | }, |
| 1022 | { |
| 1023 | "key": "Origin", |
| 1024 | "type": "text", |
| 1025 | "value": "http://84.39.39.116:30497", |
| 1026 | "disabled": true |
| 1027 | } |
| 1028 | ], |
| 1029 | "body": { |
| 1030 | "mode": "raw", |
| 1031 | "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\"config-deploy-properties\": {\n\t\t\t\t\"pnf-id\": \"abcd\",\n\t\t\t\t\"pnf-ipv4-address\": \"172.17.0.2\",\n\t\t\t\t\"netconf-password\": \"netconf\",\n\t\t\t\t\"netconf-username\": \"netconf\"\n\t\t\t}\n\t\t}\n\t}\n\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}\n", |
| 1032 | "options": { |
| 1033 | "formdata": {}, |
| 1034 | "raw": { |
| 1035 | "language": "json" |
| 1036 | } |
| 1037 | } |
| 1038 | }, |
| 1039 | "url": { |
| 1040 | "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process", |
| 1041 | "protocol": "http", |
| 1042 | "host": [ |
| 1043 | "{{host}}" |
| 1044 | ], |
| 1045 | "port": "{{port}}", |
| 1046 | "path": [ |
| 1047 | "api", |
| 1048 | "v1", |
| 1049 | "execution-service", |
| 1050 | "process" |
| 1051 | ] |
| 1052 | } |
| 1053 | }, |
| 1054 | "response": [] |
| 1055 | } |
| 1056 | ], |
| 1057 | "event": [ |
| 1058 | { |
| 1059 | "listen": "prerequest", |
| 1060 | "script": { |
| 1061 | "id": "1d6b0502-1031-4cec-adec-6a02e2505fb2", |
| 1062 | "type": "text/javascript", |
| 1063 | "exec": [ |
| 1064 | "" |
| 1065 | ] |
| 1066 | } |
| 1067 | }, |
| 1068 | { |
| 1069 | "listen": "test", |
| 1070 | "script": { |
| 1071 | "id": "a97568b2-3520-450b-89c0-c344945c40e4", |
| 1072 | "type": "text/javascript", |
| 1073 | "exec": [ |
| 1074 | "" |
| 1075 | ] |
| 1076 | } |
| 1077 | } |
| 1078 | ], |
| 1079 | "variable": [ |
| 1080 | { |
JakobKrieg | abfdc07 | 2020-10-06 16:49:39 +0200 | [diff] [blame] | 1081 | "id": "f593c13c-9ebc-4b88-9622-a08889662808", |
JakobKrieg | ebd1fbd | 2020-10-02 16:53:27 +0200 | [diff] [blame] | 1082 | "key": "host", |
| 1083 | "value": "localhost" |
| 1084 | }, |
| 1085 | { |
JakobKrieg | abfdc07 | 2020-10-06 16:49:39 +0200 | [diff] [blame] | 1086 | "id": "bcefbf57-f5df-41e3-be88-c3af5b76f916", |
JakobKrieg | ebd1fbd | 2020-10-02 16:53:27 +0200 | [diff] [blame] | 1087 | "key": "port", |
| 1088 | "value": "8081" |
| 1089 | } |
| 1090 | ], |
| 1091 | "protocolProfileBehavior": {} |
| 1092 | } |