| { |
| "info": { |
| "_postman_id": "295cc7b7-a544-44f5-8045-54effcd41108", |
| "name": "CDS PNF Simulator Use Case", |
| "description": "This collection contains all API calls to do the \"PNF Simulator Day-N config-assign and config-deploy use case\" in CDS. ", |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" |
| }, |
| "item": [ |
| { |
| "name": "Bootstrap", |
| "protocolProfileBehavior": { |
| "disabledSystemHeaders": {} |
| }, |
| "request": { |
| "auth": { |
| "type": "basic", |
| "basic": [ |
| { |
| "key": "password", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "username", |
| "value": "ccsdkapps", |
| "type": "string" |
| } |
| ] |
| }, |
| "method": "POST", |
| "header": [ |
| { |
| "key": "Content-Type", |
| "value": "application/json" |
| }, |
| { |
| "key": "", |
| "type": "text", |
| "value": "", |
| "disabled": true |
| } |
| ], |
| "body": { |
| "mode": "raw", |
| "raw": "{\r\n\"loadModelType\" : true,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : true\r\n}", |
| "options": { |
| "raw": {} |
| } |
| }, |
| "url": { |
| "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model/bootstrap", |
| "protocol": "http", |
| "host": [ |
| "{{host}}" |
| ], |
| "port": "{{port}}", |
| "path": [ |
| "api", |
| "v1", |
| "blueprint-model", |
| "bootstrap" |
| ] |
| } |
| }, |
| "response": [ |
| { |
| "name": "CDS Bootstrap", |
| "originalRequest": { |
| "method": "POST", |
| "header": [ |
| { |
| "key": "Content-Type", |
| "value": "application/json" |
| }, |
| { |
| "key": "", |
| "value": "", |
| "type": "text", |
| "disabled": true |
| } |
| ], |
| "body": { |
| "mode": "raw", |
| "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}", |
| "options": { |
| "raw": {} |
| } |
| }, |
| "url": { |
| "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap", |
| "protocol": "http", |
| "host": [ |
| "localhost" |
| ], |
| "port": "8081", |
| "path": [ |
| "api", |
| "v1", |
| "blueprint-model", |
| "bootstrap" |
| ] |
| } |
| }, |
| "status": "OK", |
| "code": 200, |
| "_postman_previewlanguage": "json", |
| "header": [ |
| { |
| "key": "X-ONAP-RequestID", |
| "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01" |
| }, |
| { |
| "key": "X-ONAP-InvocationID", |
| "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077" |
| }, |
| { |
| "key": "X-ONAP-PartnerName", |
| "value": "cds-controller" |
| }, |
| { |
| "key": "Vary", |
| "value": "Origin" |
| }, |
| { |
| "key": "Vary", |
| "value": "Access-Control-Request-Method" |
| }, |
| { |
| "key": "Vary", |
| "value": "Access-Control-Request-Headers" |
| }, |
| { |
| "key": "Content-Type", |
| "value": "application/json" |
| }, |
| { |
| "key": "Content-Length", |
| "value": "0" |
| }, |
| { |
| "key": "Cache-Control", |
| "value": "no-cache, no-store, max-age=0, must-revalidate" |
| }, |
| { |
| "key": "Pragma", |
| "value": "no-cache" |
| }, |
| { |
| "key": "Expires", |
| "value": "0" |
| }, |
| { |
| "key": "X-Content-Type-Options", |
| "value": "nosniff" |
| }, |
| { |
| "key": "X-Frame-Options", |
| "value": "DENY" |
| }, |
| { |
| "key": "X-XSS-Protection", |
| "value": "1 ; mode=block" |
| }, |
| { |
| "key": "Referrer-Policy", |
| "value": "no-referrer" |
| } |
| ], |
| "cookie": [], |
| "body": "" |
| } |
| ] |
| }, |
| { |
| "name": "Get Blueprints", |
| "protocolProfileBehavior": { |
| "disableBodyPruning": true |
| }, |
| "request": { |
| "auth": { |
| "type": "basic", |
| "basic": [ |
| { |
| "key": "password", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "username", |
| "value": "ccsdkapps", |
| "type": "string" |
| } |
| ] |
| }, |
| "method": "GET", |
| "header": [ |
| { |
| "key": "Content-Type", |
| "value": "application/json" |
| }, |
| { |
| "key": "", |
| "value": "", |
| "type": "text", |
| "disabled": true |
| } |
| ], |
| "body": { |
| "mode": "raw", |
| "raw": "{\r\n\"loadModelType\" : true,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}", |
| "options": { |
| "raw": {} |
| } |
| }, |
| "url": { |
| "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model", |
| "protocol": "http", |
| "host": [ |
| "{{host}}" |
| ], |
| "port": "{{port}}", |
| "path": [ |
| "api", |
| "v1", |
| "blueprint-model" |
| ] |
| } |
| }, |
| "response": [ |
| { |
| "name": "CDS Bootstrap", |
| "originalRequest": { |
| "method": "POST", |
| "header": [ |
| { |
| "key": "Content-Type", |
| "value": "application/json" |
| }, |
| { |
| "key": "", |
| "value": "", |
| "type": "text", |
| "disabled": true |
| } |
| ], |
| "body": { |
| "mode": "raw", |
| "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}", |
| "options": { |
| "raw": {} |
| } |
| }, |
| "url": { |
| "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap", |
| "protocol": "http", |
| "host": [ |
| "localhost" |
| ], |
| "port": "8081", |
| "path": [ |
| "api", |
| "v1", |
| "blueprint-model", |
| "bootstrap" |
| ] |
| } |
| }, |
| "status": "OK", |
| "code": 200, |
| "_postman_previewlanguage": "json", |
| "header": [ |
| { |
| "key": "X-ONAP-RequestID", |
| "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01" |
| }, |
| { |
| "key": "X-ONAP-InvocationID", |
| "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077" |
| }, |
| { |
| "key": "X-ONAP-PartnerName", |
| "value": "cds-controller" |
| }, |
| { |
| "key": "Vary", |
| "value": "Origin" |
| }, |
| { |
| "key": "Vary", |
| "value": "Access-Control-Request-Method" |
| }, |
| { |
| "key": "Vary", |
| "value": "Access-Control-Request-Headers" |
| }, |
| { |
| "key": "Content-Type", |
| "value": "application/json" |
| }, |
| { |
| "key": "Content-Length", |
| "value": "0" |
| }, |
| { |
| "key": "Cache-Control", |
| "value": "no-cache, no-store, max-age=0, must-revalidate" |
| }, |
| { |
| "key": "Pragma", |
| "value": "no-cache" |
| }, |
| { |
| "key": "Expires", |
| "value": "0" |
| }, |
| { |
| "key": "X-Content-Type-Options", |
| "value": "nosniff" |
| }, |
| { |
| "key": "X-Frame-Options", |
| "value": "DENY" |
| }, |
| { |
| "key": "X-XSS-Protection", |
| "value": "1 ; mode=block" |
| }, |
| { |
| "key": "Referrer-Policy", |
| "value": "no-referrer" |
| } |
| ], |
| "cookie": [], |
| "body": "" |
| } |
| ] |
| }, |
| { |
| "name": "Data Dictionary", |
| "event": [ |
| { |
| "listen": "prerequest", |
| "script": { |
| "id": "c927b543-b143-4ab9-963c-6289a7d1040e", |
| "exec": [ |
| "var allDD = pm.environment.get(\"allDD\");\r", |
| "\r", |
| "if (!(allDD instanceof Array)) {\r", |
| " var allDD = [\r", |
| " {\r", |
| "\t\t\"name\": \"netconf-password\",\r", |
| "\t\t\"tags\": \"netconf-password\",\r", |
| "\t\t\"data_type\": \"string\",\r", |
| "\t\t\"description\": \"netconf-password\",\r", |
| "\t\t\"entry_schema\": \"string\",\r", |
| "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"definition\": {\r", |
| "\t\t\t\"tags\": \"netconf-password\",\r", |
| "\t\t\t\"name\": \"netconf-password\",\r", |
| "\t\t\t\"property\": {\r", |
| "\t\t\t\t\"description\": \"netconf-password string attribute\",\r", |
| "\t\t\t\t\"type\": \"string\"\r", |
| "\t\t\t},\r", |
| "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\t\"sources\": {\r", |
| "\t\t\t\t\"input\": {\r", |
| "\t\t\t\t\t\"type\": \"source-input\",\r", |
| "\t\t\t\t\t\"properties\": {}\r", |
| "\t\t\t\t}\r", |
| "\t\t\t}\r", |
| "\t\t}\r", |
| "\t},\r", |
| "\t{\r", |
| "\t\t\"name\": \"netconf-username\",\r", |
| "\t\t\"tags\": \"netconf-username\",\r", |
| "\t\t\"data_type\": \"string\",\r", |
| "\t\t\"description\": \"netconf-username\",\r", |
| "\t\t\"entry_schema\": \"string\",\r", |
| "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"definition\": {\r", |
| "\t\t\t\"tags\": \"netconf-username\",\r", |
| "\t\t\t\"name\": \"netconf-username\",\r", |
| "\t\t\t\"property\": {\r", |
| "\t\t\t\t\"description\": \"netconf-username string attribute\",\r", |
| "\t\t\t\t\"type\": \"string\"\r", |
| "\t\t\t},\r", |
| "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\t\"sources\": {\r", |
| "\t\t\t\t\"input\": {\r", |
| "\t\t\t\t\t\"type\": \"source-input\",\r", |
| "\t\t\t\t\t\"properties\": {}\r", |
| "\t\t\t\t}\r", |
| "\t\t\t}\r", |
| "\t\t}\r", |
| "\t},\r", |
| "\t{\r", |
| "\t\t\"name\": \"netconf-server-port\",\r", |
| "\t\t\"tags\": \"netconf-server-port\",\r", |
| "\t\t\"data_type\": \"string\",\r", |
| "\t\t\"description\": \"netconf-server-port\",\r", |
| "\t\t\"entry_schema\": \"string\",\r", |
| "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"definition\": {\r", |
| "\t\t\t\"tags\": \"netconf-server-port\",\r", |
| "\t\t\t\"name\": \"netconf-server-port\",\r", |
| "\t\t\t\"property\": {\r", |
| "\t\t\t\t\"description\": \"netconf-server-port string attribute\",\r", |
| "\t\t\t\t\"type\": \"string\"\r", |
| "\t\t\t},\r", |
| "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\t\"sources\": {\r", |
| "\t\t\t\t\"input\": {\r", |
| "\t\t\t\t\t\"type\": \"source-input\",\r", |
| "\t\t\t\t\t\"properties\": {}\r", |
| "\t\t\t\t}\r", |
| "\t\t\t}\r", |
| "\t\t}\r", |
| "\t},\r", |
| "\t{\r", |
| "\t\t\"name\": \"pnf-id\",\r", |
| "\t\t\"tags\": \"pnf-id\",\r", |
| "\t\t\"data_type\": \"string\",\r", |
| "\t\t\"description\": \"pnf-id\",\r", |
| "\t\t\"entry_schema\": \"string\",\r", |
| "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"definition\": {\r", |
| "\t\t\t\"tags\": \"pnf-id\",\r", |
| "\t\t\t\"name\": \"pnf-id\",\r", |
| "\t\t\t\"property\": {\r", |
| "\t\t\t\t\"description\": \"pnf-id string attribute\",\r", |
| "\t\t\t\t\"type\": \"string\"\r", |
| "\t\t\t},\r", |
| "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\t\"sources\": {\r", |
| "\t\t\t\t\"input\": {\r", |
| "\t\t\t\t\t\"type\": \"source-input\",\r", |
| "\t\t\t\t\t\"properties\": {}\r", |
| "\t\t\t\t}\r", |
| "\t\t\t}\r", |
| "\t\t}\r", |
| "\t},\r", |
| "\t{\r", |
| "\r", |
| "\t\t\"name\": \"pnf-ipv4-address\",\r", |
| "\t\t\"tags\": \"pnf-ipv4-address\",\r", |
| "\t\t\"data_type\": \"string\",\r", |
| "\t\t\"description\": \"pnf-ipv4-address\",\r", |
| "\t\t\"entry_schema\": \"string\",\r", |
| "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"definition\": {\r", |
| "\t\t\t\"tags\": \"pnf-ipv4-address\",\r", |
| "\t\t\t\"name\": \"pnf-ipv4-address\",\r", |
| "\t\t\t\"property\": {\r", |
| "\t\t\t\t\"description\": \"pnf-ipv4-address string attribute\",\r", |
| "\t\t\t\t\"type\": \"string\"\r", |
| "\t\t\t},\r", |
| "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\t\"sources\": {\r", |
| "\t\t\t\t\"input\": {\r", |
| "\t\t\t\t\t\"type\": \"source-input\",\r", |
| "\t\t\t\t\t\"properties\": {}\r", |
| "\t\t\t\t}\r", |
| "\t\t\t}\r", |
| "\t\t}\r", |
| "\r", |
| "\t},\r", |
| "\t{\r", |
| "\t\t\"name\": \"stream-count\",\r", |
| "\t\t\"tags\": \"stream-count\",\r", |
| "\t\t\"data_type\": \"string\",\r", |
| "\t\t\"description\": \"stream-count\",\r", |
| "\t\t\"entry_schema\": \"string\",\r", |
| "\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"updatedBy\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\"definition\": {\r", |
| "\t\t\t\"tags\": \"stream-count\",\r", |
| "\t\t\t\"name\": \"stream-count\",\r", |
| "\t\t\t\"property\": {\r", |
| "\t\t\t\t\"description\": \"stream-count string attribute\",\r", |
| "\t\t\t\t\"type\": \"integer\"\r", |
| "\t\t\t},\r", |
| "\t\t\t\"updated-by\": \"Aarna service <vmuthukrishnan@aarnanetworks.com>\",\r", |
| "\t\t\t\"sources\": {\r", |
| "\t\t\t\t\"input\": {\r", |
| "\t\t\t\t\t\"type\": \"source-default\",\r", |
| "\t\t\t\t\t\"properties\": {}\r", |
| "\t\t\t\t},\r", |
| "\t\t\t\t\"default\": {\r", |
| "\r", |
| "\t\t\t\t\t\"type\": \"source-default\",\r", |
| "\r", |
| "\t\t\t\t\t\"properties\": {}\r", |
| "\r", |
| "\t\t\t\t}\r", |
| "\t\t\t}\r", |
| "\t\t}\r", |
| "\t}]\r", |
| "}\r", |
| "\r", |
| "\r", |
| "var currentDD = JSON.stringify(allDD.shift());\r", |
| "pm.environment.set(\"DataDictionary\", currentDD);\r", |
| "console.log(currentDD);\r", |
| "pm.environment.set(\"allDD\", allDD);\r", |
| "\r", |
| "\r", |
| "" |
| ], |
| "type": "text/javascript" |
| } |
| }, |
| { |
| "listen": "test", |
| "script": { |
| "id": "bd26b9e6-4237-4591-a037-0520f737439f", |
| "exec": [ |
| "var allDD = pm.environment.get(\"allDD\");\r", |
| "\r", |
| "if (allDD instanceof Array && allDD.length > 0) {\r", |
| " postman.setNextRequest(\"Data Dictionary\");\r", |
| "} else {\r", |
| " postman.setNextRequest(null);\r", |
| " allDD = null;\r", |
| "}" |
| ], |
| "type": "text/javascript" |
| } |
| } |
| ], |
| "request": { |
| "auth": { |
| "type": "basic", |
| "basic": [ |
| { |
| "key": "password", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "username", |
| "value": "ccsdkapps", |
| "type": "string" |
| } |
| ] |
| }, |
| "method": "POST", |
| "header": [], |
| "body": { |
| "mode": "raw", |
| "raw": "{{DataDictionary}}", |
| "options": { |
| "raw": { |
| "language": "json" |
| } |
| } |
| }, |
| "url": { |
| "raw": "http://{{host}}:{{port}}/api/v1/dictionary", |
| "protocol": "http", |
| "host": [ |
| "{{host}}" |
| ], |
| "port": "{{port}}", |
| "path": [ |
| "api", |
| "v1", |
| "dictionary" |
| ] |
| } |
| }, |
| "response": [] |
| }, |
| { |
| "name": "Enrich Blueprint", |
| "request": { |
| "auth": { |
| "type": "basic", |
| "basic": [ |
| { |
| "key": "username", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "password", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "showPassword", |
| "value": false, |
| "type": "boolean" |
| } |
| ] |
| }, |
| "method": "POST", |
| "header": [ |
| { |
| "key": "Accept", |
| "value": "application/json", |
| "type": "text", |
| "disabled": true |
| }, |
| { |
| "key": "Accept-Encoding", |
| "value": "gzip,deflate", |
| "type": "text", |
| "disabled": true |
| }, |
| { |
| "key": "Referer", |
| "value": "http://84.39.39.116:30497/blueprint", |
| "type": "text", |
| "disabled": true |
| }, |
| { |
| "key": "Origin", |
| "value": "http://84.39.39.116:30497", |
| "type": "text", |
| "disabled": true |
| } |
| ], |
| "body": { |
| "mode": "formdata", |
| "formdata": [ |
| { |
| "key": "file", |
| "type": "file", |
| "src": "/home/jakob/CDS_Use_Cases/PNF-DEMO-ENRICHED_WORKING/pnf-demo.zip" |
| } |
| ], |
| "options": { |
| "formdata": {} |
| } |
| }, |
| "url": { |
| "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model/enrich", |
| "protocol": "http", |
| "host": [ |
| "{{host}}" |
| ], |
| "port": "{{port}}", |
| "path": [ |
| "api", |
| "v1", |
| "blueprint-model", |
| "enrich" |
| ] |
| } |
| }, |
| "response": [] |
| }, |
| { |
| "name": "Save Blueprint", |
| "request": { |
| "auth": { |
| "type": "basic", |
| "basic": [ |
| { |
| "key": "password", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "username", |
| "value": "ccsdkapps", |
| "type": "string" |
| } |
| ] |
| }, |
| "method": "POST", |
| "header": [ |
| { |
| "key": "Content-Type", |
| "value": "application/json" |
| }, |
| { |
| "key": "", |
| "type": "text", |
| "value": "", |
| "disabled": true |
| } |
| ], |
| "body": { |
| "mode": "formdata", |
| "formdata": [ |
| { |
| "key": "file", |
| "type": "file", |
| "src": "/home/jakob/CDS_Use_Cases/PNF-DEMO-ENRICHED_WORKING/pnf-demo.zip" |
| } |
| ], |
| "options": { |
| "formdata": {} |
| } |
| }, |
| "url": { |
| "raw": "http://{{host}}:{{port}}/api/v1/blueprint-model", |
| "protocol": "http", |
| "host": [ |
| "{{host}}" |
| ], |
| "port": "{{port}}", |
| "path": [ |
| "api", |
| "v1", |
| "blueprint-model" |
| ] |
| } |
| }, |
| "response": [ |
| { |
| "name": "CDS Bootstrap", |
| "originalRequest": { |
| "method": "POST", |
| "header": [ |
| { |
| "key": "Content-Type", |
| "value": "application/json" |
| }, |
| { |
| "key": "", |
| "value": "", |
| "type": "text", |
| "disabled": true |
| } |
| ], |
| "body": { |
| "mode": "raw", |
| "raw": "{\r\n\"loadModelType\" : false,\r\n\"loadResourceDictionary\" : true,\r\n\"loadCBA\" : false\r\n}", |
| "options": { |
| "raw": {} |
| } |
| }, |
| "url": { |
| "raw": "http://localhost:8081/api/v1/blueprint-model/bootstrap", |
| "protocol": "http", |
| "host": [ |
| "localhost" |
| ], |
| "port": "8081", |
| "path": [ |
| "api", |
| "v1", |
| "blueprint-model", |
| "bootstrap" |
| ] |
| } |
| }, |
| "status": "OK", |
| "code": 200, |
| "_postman_previewlanguage": "json", |
| "header": [ |
| { |
| "key": "X-ONAP-RequestID", |
| "value": "b73253b6-d2be-4701-bdb2-31fa66b79a01" |
| }, |
| { |
| "key": "X-ONAP-InvocationID", |
| "value": "b1a59296-fcf2-4435-b8de-9a2e9b9f4077" |
| }, |
| { |
| "key": "X-ONAP-PartnerName", |
| "value": "cds-controller" |
| }, |
| { |
| "key": "Vary", |
| "value": "Origin" |
| }, |
| { |
| "key": "Vary", |
| "value": "Access-Control-Request-Method" |
| }, |
| { |
| "key": "Vary", |
| "value": "Access-Control-Request-Headers" |
| }, |
| { |
| "key": "Content-Type", |
| "value": "application/json" |
| }, |
| { |
| "key": "Content-Length", |
| "value": "0" |
| }, |
| { |
| "key": "Cache-Control", |
| "value": "no-cache, no-store, max-age=0, must-revalidate" |
| }, |
| { |
| "key": "Pragma", |
| "value": "no-cache" |
| }, |
| { |
| "key": "Expires", |
| "value": "0" |
| }, |
| { |
| "key": "X-Content-Type-Options", |
| "value": "nosniff" |
| }, |
| { |
| "key": "X-Frame-Options", |
| "value": "DENY" |
| }, |
| { |
| "key": "X-XSS-Protection", |
| "value": "1 ; mode=block" |
| }, |
| { |
| "key": "Referrer-Policy", |
| "value": "no-referrer" |
| } |
| ], |
| "cookie": [], |
| "body": "" |
| } |
| ] |
| }, |
| { |
| "name": "Create Config Assign Day-1", |
| "request": { |
| "auth": { |
| "type": "basic", |
| "basic": [ |
| { |
| "key": "username", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "password", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "showPassword", |
| "value": false, |
| "type": "boolean" |
| } |
| ] |
| }, |
| "method": "POST", |
| "header": [ |
| { |
| "key": "Accept", |
| "value": "application/json", |
| "type": "text", |
| "disabled": true |
| }, |
| { |
| "key": "Accept-Encoding", |
| "value": "gzip,deflate", |
| "type": "text", |
| "disabled": true |
| }, |
| { |
| "key": "Referer", |
| "value": "http://84.39.39.116:30497/blueprint", |
| "type": "text", |
| "disabled": true |
| }, |
| { |
| "key": "Origin", |
| "value": "http://84.39.39.116:30497", |
| "type": "text", |
| "disabled": true |
| } |
| ], |
| "body": { |
| "mode": "raw", |
| "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}", |
| "options": { |
| "formdata": {}, |
| "raw": { |
| "language": "json" |
| } |
| } |
| }, |
| "url": { |
| "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process", |
| "protocol": "http", |
| "host": [ |
| "{{host}}" |
| ], |
| "port": "{{port}}", |
| "path": [ |
| "api", |
| "v1", |
| "execution-service", |
| "process" |
| ] |
| } |
| }, |
| "response": [] |
| }, |
| { |
| "name": "Create Config Assign Day-2", |
| "request": { |
| "auth": { |
| "type": "basic", |
| "basic": [ |
| { |
| "key": "username", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "password", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "showPassword", |
| "value": false, |
| "type": "boolean" |
| } |
| ] |
| }, |
| "method": "POST", |
| "header": [ |
| { |
| "key": "Accept", |
| "type": "text", |
| "value": "application/json", |
| "disabled": true |
| }, |
| { |
| "key": "Accept-Encoding", |
| "type": "text", |
| "value": "gzip,deflate", |
| "disabled": true |
| }, |
| { |
| "key": "Referer", |
| "type": "text", |
| "value": "http://84.39.39.116:30497/blueprint", |
| "disabled": true |
| }, |
| { |
| "key": "Origin", |
| "type": "text", |
| "value": "http://84.39.39.116:30497", |
| "disabled": true |
| } |
| ], |
| "body": { |
| "mode": "raw", |
| "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}", |
| "options": { |
| "formdata": {}, |
| "raw": { |
| "language": "json" |
| } |
| } |
| }, |
| "url": { |
| "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process", |
| "protocol": "http", |
| "host": [ |
| "{{host}}" |
| ], |
| "port": "{{port}}", |
| "path": [ |
| "api", |
| "v1", |
| "execution-service", |
| "process" |
| ] |
| } |
| }, |
| "response": [] |
| }, |
| { |
| "name": "Config Assign Day-1 Deploy", |
| "request": { |
| "auth": { |
| "type": "basic", |
| "basic": [ |
| { |
| "key": "username", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "password", |
| "value": "ccsdkapps", |
| "type": "string" |
| }, |
| { |
| "key": "showPassword", |
| "value": false, |
| "type": "boolean" |
| } |
| ] |
| }, |
| "method": "POST", |
| "header": [ |
| { |
| "key": "Accept", |
| "type": "text", |
| "value": "application/json", |
| "disabled": true |
| }, |
| { |
| "key": "Accept-Encoding", |
| "type": "text", |
| "value": "gzip,deflate", |
| "disabled": true |
| }, |
| { |
| "key": "Referer", |
| "type": "text", |
| "value": "http://84.39.39.116:30497/blueprint", |
| "disabled": true |
| }, |
| { |
| "key": "Origin", |
| "type": "text", |
| "value": "http://84.39.39.116:30497", |
| "disabled": true |
| } |
| ], |
| "body": { |
| "mode": "raw", |
| "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", |
| "options": { |
| "formdata": {}, |
| "raw": { |
| "language": "json" |
| } |
| } |
| }, |
| "url": { |
| "raw": "http://{{host}}:{{port}}/api/v1/execution-service/process", |
| "protocol": "http", |
| "host": [ |
| "{{host}}" |
| ], |
| "port": "{{port}}", |
| "path": [ |
| "api", |
| "v1", |
| "execution-service", |
| "process" |
| ] |
| } |
| }, |
| "response": [] |
| } |
| ], |
| "event": [ |
| { |
| "listen": "prerequest", |
| "script": { |
| "id": "1d6b0502-1031-4cec-adec-6a02e2505fb2", |
| "type": "text/javascript", |
| "exec": [ |
| "" |
| ] |
| } |
| }, |
| { |
| "listen": "test", |
| "script": { |
| "id": "a97568b2-3520-450b-89c0-c344945c40e4", |
| "type": "text/javascript", |
| "exec": [ |
| "" |
| ] |
| } |
| } |
| ], |
| "variable": [ |
| { |
| "id": "f593c13c-9ebc-4b88-9622-a08889662808", |
| "key": "host", |
| "value": "localhost" |
| }, |
| { |
| "id": "bcefbf57-f5df-41e3-be88-c3af5b76f916", |
| "key": "port", |
| "value": "8081" |
| } |
| ], |
| "protocolProfileBehavior": {} |
| } |