aboutsummaryrefslogtreecommitdiffstats
path: root/test/postman/04_Onboard_VSP_part3.postman_collection.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/postman/04_Onboard_VSP_part3.postman_collection.json')
-rw-r--r--test/postman/04_Onboard_VSP_part3.postman_collection.json345
1 files changed, 345 insertions, 0 deletions
diff --git a/test/postman/04_Onboard_VSP_part3.postman_collection.json b/test/postman/04_Onboard_VSP_part3.postman_collection.json
new file mode 100644
index 000000000..17f0c2f16
--- /dev/null
+++ b/test/postman/04_Onboard_VSP_part3.postman_collection.json
@@ -0,0 +1,345 @@
+{
+ "variables": [],
+ "info": {
+ "name": "04_Onboard_VSP_part3",
+ "_postman_id": "7530fcb9-b083-dd18-980c-a42984b5db46",
+ "description": "",
+ "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ },
+ "item": [
+ {
+ "name": "Process VSP zip file",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ "tests[\"Status code is 200\"] = responseCode.code === 200;"
+ ]
+ }
+ }
+ ],
+ "request": {
+ "url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/orchestration-template-candidate/process",
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": ""
+ },
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "description": ""
+ },
+ {
+ "key": "X-TransactionId",
+ "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
+ "description": ""
+ },
+ {
+ "key": "USER_ID",
+ "value": "cs0008",
+ "description": ""
+ },
+ {
+ "key": "X-FromAppId",
+ "value": "robot-ete",
+ "description": ""
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{}"
+ },
+ "description": ""
+ },
+ "response": [
+ {
+ "id": "32ef77d5-fdb3-45d3-ae12-1e9a75be08bc",
+ "name": "Checkin VSP",
+ "originalRequest": {
+ "url": "",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "description": ""
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "_postman_previewtype": "text",
+ "header": [
+ {
+ "name": "access-control-allow-credentials",
+ "key": "access-control-allow-credentials",
+ "value": "true",
+ "description": "Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."
+ },
+ {
+ "name": "access-control-allow-origin",
+ "key": "access-control-allow-origin",
+ "value": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
+ "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."
+ },
+ {
+ "name": "access-control-expose-headers",
+ "key": "access-control-expose-headers",
+ "value": "",
+ "description": "Lets a server whitelist headers that browsers are allowed to access."
+ },
+ {
+ "name": "content-type",
+ "key": "content-type",
+ "value": "application/json",
+ "description": "The mime type of this content"
+ },
+ {
+ "name": "date",
+ "key": "date",
+ "value": "Wed, 06 Jun 2018 16:14:24 GMT",
+ "description": "The date and time that the message was sent"
+ },
+ {
+ "name": "server",
+ "key": "server",
+ "value": "Jetty(9.3.21.v20170918)",
+ "description": "A name for the server"
+ },
+ {
+ "name": "transfer-encoding",
+ "key": "transfer-encoding",
+ "value": "chunked",
+ "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."
+ }
+ ],
+ "cookie": [],
+ "responseTime": 68,
+ "body": "{}"
+ }
+ ]
+ },
+ {
+ "name": "Commit VSP",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ "tests[\"Status code is 200\"] = responseCode.code === 200;"
+ ]
+ }
+ }
+ ],
+ "request": {
+ "url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/items/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": ""
+ },
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "description": ""
+ },
+ {
+ "key": "X-TransactionId",
+ "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
+ "description": ""
+ },
+ {
+ "key": "USER_ID",
+ "value": "cs0008",
+ "description": ""
+ },
+ {
+ "key": "X-FromAppId",
+ "value": "robot-ete",
+ "description": ""
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\"action\":\"Commit\",\"commitRequest\":{\"message\":\"ok\"}}"
+ },
+ "description": ""
+ },
+ "response": [
+ {
+ "id": "ed777560-450d-4f6c-8226-b3a7b9f8d297",
+ "name": "Checkin VSP",
+ "originalRequest": {
+ "url": "",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "description": ""
+ },
+ "status": "OK",
+ "code": 200,
+ "_postman_previewlanguage": "json",
+ "_postman_previewtype": "text",
+ "header": [
+ {
+ "name": "access-control-allow-credentials",
+ "key": "access-control-allow-credentials",
+ "value": "true",
+ "description": "Indicates whether or not the response to the request can be exposed when the credentials flag is true. When used as part of a response to a preflight request, this indicates whether or not the actual request can be made using credentials."
+ },
+ {
+ "name": "access-control-allow-origin",
+ "key": "access-control-allow-origin",
+ "value": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
+ "description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."
+ },
+ {
+ "name": "access-control-expose-headers",
+ "key": "access-control-expose-headers",
+ "value": "",
+ "description": "Lets a server whitelist headers that browsers are allowed to access."
+ },
+ {
+ "name": "content-type",
+ "key": "content-type",
+ "value": "application/json",
+ "description": "The mime type of this content"
+ },
+ {
+ "name": "date",
+ "key": "date",
+ "value": "Wed, 06 Jun 2018 16:14:24 GMT",
+ "description": "The date and time that the message was sent"
+ },
+ {
+ "name": "server",
+ "key": "server",
+ "value": "Jetty(9.3.21.v20170918)",
+ "description": "A name for the server"
+ },
+ {
+ "name": "transfer-encoding",
+ "key": "transfer-encoding",
+ "value": "chunked",
+ "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."
+ }
+ ],
+ "cookie": [],
+ "responseTime": 68,
+ "body": "{}"
+ }
+ ]
+ },
+ {
+ "name": "Submit VSP",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ "tests[\"Status code is 200\"] = responseCode.code === 200;"
+ ]
+ }
+ }
+ ],
+ "request": {
+ "url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": ""
+ },
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "description": ""
+ },
+ {
+ "key": "X-TransactionId",
+ "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
+ "description": ""
+ },
+ {
+ "key": "USER_ID",
+ "value": "cs0008",
+ "description": ""
+ },
+ {
+ "key": "X-FromAppId",
+ "value": "robot-ete",
+ "description": ""
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\"action\": \"Submit\"}"
+ },
+ "description": ""
+ },
+ "response": []
+ },
+ {
+ "name": "CSAR VSP",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ "tests[\"Status code is 200\"] = responseCode.code === 200;"
+ ]
+ }
+ }
+ ],
+ "request": {
+ "url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/actions",
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": ""
+ },
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "description": ""
+ },
+ {
+ "key": "X-TransactionId",
+ "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
+ "description": ""
+ },
+ {
+ "key": "USER_ID",
+ "value": "cs0008",
+ "description": ""
+ },
+ {
+ "key": "X-FromAppId",
+ "value": "robot-ete",
+ "description": ""
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\"action\": \"Create_Package\"}"
+ },
+ "description": ""
+ },
+ "response": []
+ }
+ ]
+} \ No newline at end of file