aboutsummaryrefslogtreecommitdiffstats
path: root/test/postman/03_Onboard_VSP_part2.postman_collection.json
diff options
context:
space:
mode:
authorRene Robert <rene.robert@orange.com>2019-01-24 18:24:55 +0100
committerRene Robert <rene.robert@orange.com>2019-01-24 18:34:30 +0100
commit53ef77f254223e19e8185ffd9de85f101ad187a6 (patch)
treee59bdd223ac45e66d967da050ebf485bebaf3987 /test/postman/03_Onboard_VSP_part2.postman_collection.json
parentaa8c584d3330ed3fe291f792ee01c323dcbc182c (diff)
add Postman Collection
Issue-ID: INT-825 Change-Id: I95b99798462ab5852d8da90bb337d818e80c0ef8 Signed-off-by: Rene Robert <rene.robert@orange.com>
Diffstat (limited to 'test/postman/03_Onboard_VSP_part2.postman_collection.json')
-rw-r--r--test/postman/03_Onboard_VSP_part2.postman_collection.json77
1 files changed, 77 insertions, 0 deletions
diff --git a/test/postman/03_Onboard_VSP_part2.postman_collection.json b/test/postman/03_Onboard_VSP_part2.postman_collection.json
new file mode 100644
index 000000000..5d411eae0
--- /dev/null
+++ b/test/postman/03_Onboard_VSP_part2.postman_collection.json
@@ -0,0 +1,77 @@
+{
+ "variables": [],
+ "info": {
+ "name": "03_Onboard_VSP_part2",
+ "_postman_id": "296fe94c-89fd-6a70-53ee-e5e5faa6f570",
+ "description": "",
+ "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ },
+ "item": [
+ {
+ "name": "Upload zip file containing Heat files",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ "tests[\"Status code is 200\"] = responseCode.code === 200;",
+ "",
+ "var jsonData = JSON.parse(responseBody);",
+ "",
+ "if (jsonData.status === \"Success\") {",
+ " tests[\"Upload Success\"] = true; ",
+ "}",
+ "",
+ ""
+ ]
+ }
+ }
+ ],
+ "request": {
+ "url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/orchestration-template-candidate",
+ "method": "POST",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "multipart/form-data",
+ "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": "formdata",
+ "formdata": [
+ {
+ "key": "upload",
+ "type": "file",
+ "src": "ubuntu16.zip",
+ "value": ""
+ }
+ ]
+ },
+ "description": ""
+ },
+ "response": []
+ }
+ ]
+} \ No newline at end of file