Commit 19408ce0 authored by Alan Braz's avatar Alan Braz
Browse files

revert create group

parent 8c1eac4a
Pipeline #5868 failed with stages
in 6 seconds
......@@ -84,7 +84,7 @@
},
{
"key": "ENTITLEMENTS_HOST",
"value": "entitlements-dot-nice-etching-277309.uc.r.appspot.com/entitlements/v1",
"value": "os-entitlements-gcp-attcrcktoa-uc.a.run.app/entitlements/v1",
"enabled": true
},
{
......
......@@ -520,11 +520,11 @@
"id": "f3e4e5a2-3888-4fc0-9d3f-1945ca6a2bb0",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - Ok\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -535,7 +535,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......
......@@ -335,11 +335,11 @@
"id": "391dcdc9-807e-42cd-a800-273879cae893",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -350,7 +350,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......@@ -409,11 +409,11 @@
"id": "05005321-3819-41a9-92d7-4055df649444",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -424,7 +424,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......
......@@ -494,11 +494,11 @@
"id": "4e4251da-2527-4009-968a-d7e3e6a27be4",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -509,7 +509,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......
......@@ -446,11 +446,11 @@
"id": "3134ef28-5de7-4aee-a1df-0b5d6c24bc12",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -461,7 +461,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......@@ -523,11 +523,11 @@
"id": "715845be-9e0f-4902-bdfa-33c4aa049f24",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -538,7 +538,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......
......@@ -340,11 +340,11 @@
"id": "a38d4cb6-1bc7-4176-8bda-e0b843110a19",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - Ok\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -355,7 +355,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......@@ -417,11 +417,11 @@
"id": "0d7938a5-adfe-4e5c-869e-1ec5c375d026",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - Ok\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -432,7 +432,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......
......@@ -509,11 +509,11 @@
"id": "622009c4-b442-4e67-b59f-9fcde044a07a",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -524,7 +524,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......
......@@ -123,12 +123,11 @@
"id": "7e9dcc97-7750-4122-ae7f-659314c2f853",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -139,7 +138,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......@@ -201,12 +200,11 @@
"id": "a95221df-aaa4-4409-a082-228754fe2c79",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -217,7 +215,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......@@ -279,12 +277,11 @@
"id": "d1c9e2f2-9c2e-4bc2-ba36-8c0e63b5b311",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -295,7 +292,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......@@ -358,12 +355,11 @@
"id": "91f35061-0e26-49ae-83e2-3c71e66d49e9",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -374,7 +370,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......@@ -437,12 +433,11 @@
"id": "b6649e48-60de-4e89-88a7-7b8be38a8c7f",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -453,7 +448,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......@@ -517,12 +512,11 @@
"id": "16c851ba-ada4-4d37-a3f2-ed6eaa30fe2c",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Check that the API call returned the new group information",
......@@ -533,7 +527,7 @@
" var domainName = pm.variables.get(\"domain\");",
" ",
" pm.expect(jsonData.name).to.equal(groupName);",
" pm.expect(jsonData.email).to.equal(groupName + \"@\" + data_partition + domainName);",
" pm.expect(jsonData.groupEmail).to.equal(groupName + \"@\" + data_partition + domainName);",
"});"
],
"type": "text/javascript"
......@@ -981,13 +975,12 @@
"script": {
"id": "d599e3d8-d03b-4f86-aad8-f2a7afa9219c",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Ensure the API response from the member addition was correct and successful ",
......@@ -1053,13 +1046,12 @@
"script": {
"id": "9bbee2d5-a5df-4cca-b17d-f9ef7cd68fab",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Ensure the API response from the member addition was correct and successful ",
......@@ -1137,13 +1129,12 @@
"script": {
"id": "a55430cb-33f7-4236-ad2c-6655cf167c6f",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Ensure the API response from the member addition was correct and successful ",
......@@ -1221,13 +1212,12 @@
"script": {
"id": "ae6b0c06-2e57-4689-880c-34291de604c1",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Ensure the API response from the member addition was correct and successful ",
......@@ -1305,13 +1295,12 @@
"script": {
"id": "01bb584d-8d0e-4955-bd80-8c4447a1c28f",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Ensure the API response from the member addition was correct and successful ",
......@@ -1420,13 +1409,12 @@
"script": {
"id": "13a234cf-6937-47b6-9ff3-a4f633ec1612",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"//Ensure there were no error codes in the API response",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - OK\", function () {",
" pm.response.to.have.status(\"OK\");",
"});",
"",
"// Ensure the API response from the member addition was correct and successful ",
......@@ -1508,13 +1496,12 @@
"script": {
"id": "7466bb3e-71d9-4897-8a16-76fc622b9ec8",
"exec": [
"// Check for a successful HTTP response",
"pm.test(\"Status code is 200 or 201\", function () {",
" pm.expect(pm.response.code).to.be.oneOf([200,201]);",
"// Validate the status code and description",
"pm.test(\"Status code is ?\", function () {",
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Status description - Created\", function () {",
" //pm.response.to.have.status(\"Created\");",
" pm.expect(pm.response.status).to.be.oneOf([\"OK\",\"Created\"]);",
"pm.test(\"Status description - \", function () {",
" pm.response.to.have.status(\"?\");",
"});"
],
"type": "text/javascript"
......
Markdown is supported
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