diff options
author | FrancescoFioraEst <francesco.fiora@est.tech> | 2023-04-19 10:05:53 +0100 |
---|---|---|
committer | FrancescoFioraEst <francesco.fiora@est.tech> | 2023-04-19 11:35:48 +0100 |
commit | 1ebe9f0a2425b1eb89b50d1658c07f7fbe92e4db (patch) | |
tree | 21245c90fbdea9e7deb816ae036bf501cdcd102a /docs/development/devtools/smoke/postman/publish-cba-CDS.postman_collection.json | |
parent | 6b22fd6c16dbf30a1a95a688e9debde7b2a76d83 (diff) |
Restructure of devtools folder for pairwise tests
Move pairwise tests docs to pairwise folder
Issue-ID: POLICY-4627
Change-Id: Id87534466ffc33b7c88a8472fbf896eebb1c92c9
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'docs/development/devtools/smoke/postman/publish-cba-CDS.postman_collection.json')
-rw-r--r-- | docs/development/devtools/smoke/postman/publish-cba-CDS.postman_collection.json | 598 |
1 files changed, 0 insertions, 598 deletions
diff --git a/docs/development/devtools/smoke/postman/publish-cba-CDS.postman_collection.json b/docs/development/devtools/smoke/postman/publish-cba-CDS.postman_collection.json deleted file mode 100644 index 3e69f5f0..00000000 --- a/docs/development/devtools/smoke/postman/publish-cba-CDS.postman_collection.json +++ /dev/null @@ -1,598 +0,0 @@ -{ - "info": { - "_postman_id": "c8fa181e-0210-4f6c-a754-da377939c299", - "name": "Publish CBA in CDS", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" - }, - "item": [ - { - "name": "Bootstrap", - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"loadModelType\" : true,\r\n \"loadResourceDictionary\" : true,\r\n \"loadCBA\" : false\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/blueprint-model/bootstrap", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "blueprint-model", - "bootstrap" - ] - } - }, - "response": [] - }, - { - "name": "Enrich and Publish CBA", - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "file", - "type": "file", - "src": "/Users/rpujar/repos/bell/controlloop-examples/simple-cl-use-case-cba/Archive.zip" - } - ] - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/blueprint-model/enrichandpublish", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "blueprint-model", - "enrichandpublish" - ] - } - }, - "response": [] - }, - { - "name": "Get all CBAs", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"loadModelType\" : true,\r\n \"loadResourceDictionary\" : true,\r\n \"loadCBA\" : false\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/blueprint-model/paged", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "blueprint-model", - "paged" - ] - } - }, - "response": [] - }, - { - "name": "Execute pnf-test-cba success", - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"pnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"update-config\"\r\n },\r\n \"payload\": {\r\n \"update-config-request\": {\r\n \"update-config-properties\": {\r\n \"hostname\": \"host\",\r\n \"IP\": \"10.43.230.146\",\r\n \"pnfName\": \"simple-cl-pnf\"\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}" - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/execution-service/process", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "execution-service", - "process" - ] - } - }, - "response": [] - }, - { - "name": "Execute pnf-test-cba failure", - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"pnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"update-config\"\r\n },\r\n \"payload\": {\r\n \"update-config-request\": {\r\n \"update-config-properties\": {\r\n \"hostname\": \"host\",\r\n \"IP\": \"10.43.230.146\",\r\n \"pnfName\": \"simple-cl-pnf-failure\"\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}" - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/execution-service/process", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "execution-service", - "process" - ] - } - }, - "response": [] - }, - { - "name": "Execute vnf-test-cba success", - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"vnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"modify-config\"\r\n },\r\n \"payload\": {\r\n \"modify-config-request\": {\r\n \"modify-config-properties\": {\r\n \"vfStatus\": \"Active\",\r\n \"service-instance.service-instance-id\": \"55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"generic-vnf.vnf-id\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\r\n \"data\": {\r\n \"active-streams\": \"7\"\r\n }\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}" - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/execution-service/process", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "execution-service", - "process" - ] - } - }, - "response": [] - }, - { - "name": "Execute vnf-test-cba failure", - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"vnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"modify-config\"\r\n },\r\n \"payload\": {\r\n \"modify-config-request\": {\r\n \"modify-config-properties\": {\r\n \"vfStatus\": \"InActive\",\r\n \"service-instance.service-instance-id\": \"55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"generic-vnf.vnf-id\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\r\n \"data\": {\r\n \"active-streams\": \"7\"\r\n }\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}" - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/execution-service/process", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "execution-service", - "process" - ] - } - }, - "response": [] - }, - { - "name": "Execute vnf-test-cba success", - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"vnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"restart\"\r\n },\r\n \"payload\": {\r\n \"restart-request\": {\r\n \"restart-properties\": {\r\n \"vfStatus\": \"Active\",\r\n \"service-instance.service-instance-id\": \"55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"generic-vnf.vnf-id\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\r\n \"data\": {\r\n \"active-streams\": \"7\"\r\n }\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}" - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/execution-service/process", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "execution-service", - "process" - ] - } - }, - "response": [] - }, - { - "name": "Execute vnf-test-cba failure", - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"actionIdentifiers\": {\r\n \"mode\": \"sync\",\r\n \"blueprintName\": \"vnf-test-cba\",\r\n \"blueprintVersion\": \"1.0.0\",\r\n \"actionName\": \"restart\"\r\n },\r\n \"payload\": {\r\n \"restart-request\": {\r\n \"restart-properties\": {\r\n \"vfStatus\": \"InActive\",\r\n \"service-instance.service-instance-id\": \"55322ada-145a-492e-b196-0d171539a4b2\",\r\n \"generic-vnf.vnf-id\": \"57b008b9-b367-4359-93fd-74d3ce0ee1a0\",\r\n \"data\": {\r\n \"active-streams\": \"7\"\r\n }\r\n }\r\n }\r\n },\r\n \"commonHeader\": {\r\n \"subRequestId\": \"8c7935a4-79d8-4ec0-b661-dcca3cd68006\",\r\n \"requestId\": \"f392e439-c176-411b-b972-8acadac0f8df\",\r\n \"originatorId\": \"POLICY\"\r\n }\r\n}" - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/execution-service/process", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "execution-service", - "process" - ] - } - }, - "response": [] - }, - { - "name": "Download CBA", - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"loadModelType\" : true,\r\n \"loadResourceDictionary\" : true,\r\n \"loadCBA\" : false\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/blueprint-model/download/by-name/controlloop-hostname-update-cba/version/1.0.0", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "blueprint-model", - "download", - "by-name", - "controlloop-hostname-update-cba", - "version", - "1.0.0" - ] - } - }, - "response": [] - }, - { - "name": "Delete a specific CBA", - "request": { - "auth": { - "type": "basic", - "basic": [ - { - "key": "password", - "value": "ccsdkapps", - "type": "string" - }, - { - "key": "username", - "value": "ccsdkapps", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Accept", - "type": "text", - "value": "application/json" - }, - { - "key": "Content-Type", - "type": "text", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"loadModelType\" : true,\r\n \"loadResourceDictionary\" : true,\r\n \"loadCBA\" : false\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CDS-URL}}/api/v1/blueprint-model/name/pnf-test-cba/version/1.0.0", - "host": [ - "{{CDS-URL}}" - ], - "path": [ - "api", - "v1", - "blueprint-model", - "name", - "pnf-test-cba", - "version", - "1.0.0" - ] - } - }, - "response": [] - } - ] -}
\ No newline at end of file |