Commit af75ace8 authored by Konstantin Khottchenkov's avatar Konstantin Khottchenkov
Browse files

replace postman collection

parent b9a8b89a
...@@ -436,7 +436,7 @@ ...@@ -436,7 +436,7 @@
}, },
{ {
"key": "ltag", "key": "ltag",
"value": "{{legaltag01}}" "value": "slb-public-usa-seistore-1"
}, },
{ {
"key": "", "key": "",
...@@ -449,7 +449,7 @@ ...@@ -449,7 +449,7 @@
"raw": "{\n \"admin\": \"{{adminEmail}}\",\n\t\"storage_class\": \"REGIONAL\",\n\t\"storage_location\": \"US-CENTRAL1\"\n}" "raw": "{\n \"admin\": \"{{adminEmail}}\",\n\t\"storage_class\": \"REGIONAL\",\n\t\"storage_location\": \"US-CENTRAL1\"\n}"
}, },
"url": { "url": {
"raw": "{{SVC_URL}}/subproject/tenant/{{tenant}}/subproject/{{subproject}}", "raw": "{{SVC_URL}}/subproject/tenant/{{tenant}}/subproject/{{subprojectLongName}}",
"host": [ "host": [
"{{SVC_URL}}" "{{SVC_URL}}"
], ],
...@@ -458,14 +458,14 @@ ...@@ -458,14 +458,14 @@
"tenant", "tenant",
"{{tenant}}", "{{tenant}}",
"subproject", "subproject",
"{{subproject}}" "{{subprojectLongName}}"
] ]
} }
}, },
"response": [] "response": []
}, },
{ {
"name": "SUBPROJECT REGISTER Gitlab", "name": "SUBPROJECT REGISTER",
"event": [ "event": [
{ {
"listen": "test", "listen": "test",
...@@ -624,7 +624,7 @@ ...@@ -624,7 +624,7 @@
"});", "});",
"", "",
"", "",
"pm.test(\"Subproject created\", function () {", "pm.test(\"Validate Subproject Details\", function () {",
" var child = Object.keys(jsonData);", " var child = Object.keys(jsonData);",
" pm.expect(jsonData.name).to.eql(pm.environment.get(\"subproject\"));", " pm.expect(jsonData.name).to.eql(pm.environment.get(\"subproject\"));",
" pm.expect(jsonData.tenant).to.eql(pm.environment.get(\"tenant\"));", " pm.expect(jsonData.tenant).to.eql(pm.environment.get(\"tenant\"));",
...@@ -637,7 +637,7 @@ ...@@ -637,7 +637,7 @@
} }
], ],
"request": { "request": {
"method": "POST", "method": "GET",
"header": [ "header": [
{ {
"key": "Authorization", "key": "Authorization",
...@@ -650,21 +650,8 @@ ...@@ -650,21 +650,8 @@
{ {
"key": "Content-Type", "key": "Content-Type",
"value": "application/json" "value": "application/json"
},
{
"key": "ltag",
"value": "{{legaltag01}}"
},
{
"key": "",
"value": "",
"disabled": true
} }
], ],
"body": {
"mode": "raw",
"raw": "{\n\t\"storage_class\": \"REGIONAL\",\n\t\"storage_location\": \"US-CENTRAL1\"\n}"
},
"url": { "url": {
"raw": "{{SVC_URL}}/subproject/tenant/{{tenant}}/subproject/{{subproject}}", "raw": "{{SVC_URL}}/subproject/tenant/{{tenant}}/subproject/{{subproject}}",
"host": [ "host": [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment