Commit eea1947e authored by Kamlesh Todai's avatar Kamlesh Todai
Browse files

Changes to add work around for issue 72 Entitlements V2 call for adding a user...

Changes to add work around for issue 72 Entitlements V2 call for adding a user fails if the email id has a subdomain name which is same as data partition id name
parent 431d342a
Pipeline #57035 passed with stages
in 1 minute and 35 seconds
{
"info": {
"_postman_id": "3f70d0f3-f9bd-467a-9061-3a6d1468fcbb",
"name": "Entitlement API CI/CD v1.1",
"name": "Entitlement API CI/CD v2.0",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
......@@ -2150,10 +2150,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner_viewerdata\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner_viewerdata\", \"user_\" + _.random(1,9999999) + \"@test\"+ URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner_viewerdata\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);",
""
......@@ -2396,10 +2394,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewMember_EditorData\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewMember_EditorData\", \"user_\" + _.random(1,9999999) + \"@test\"+ URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewMember_EditorData\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);",
""
......@@ -2617,10 +2613,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\"+ URLdomain) ; ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);",
""
......@@ -2758,10 +2752,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\"+ URLdomain) ; ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -2898,10 +2890,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\"+URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -3038,10 +3028,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\" +URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -3183,10 +3171,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwneremailservice\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwneremailservice\", \"user_\" + _.random(1,9999999) + \"@test\" +URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwneremailservice\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -3484,10 +3470,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewMemberemailService\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewMemberemailService\", \"user_\" + _.random(1,9999999) + \"@test\"+URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewMemberemailService\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -3704,10 +3688,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\" +URLdomain ); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -3844,10 +3826,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\" + URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -3984,10 +3964,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\") ",
"if (cp == \"Azure\" || \"AWS\") ",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\") ",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\" + URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -4124,10 +4102,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\") ",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\") ",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\"+URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -4269,10 +4245,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwneremailUser\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwneremailUser\", \"user_\" + _.random(1,9999999) + \"@test\" + URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwneremailUser\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);",
""
......@@ -4571,10 +4545,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewMembereditorUseremail\",\"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewMembereditorUseremail\",\"user_\" + _.random(1,9999999) + \"@test\" + URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewMembereditorUseremail\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -4791,10 +4763,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\" +URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -4931,10 +4901,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\" + URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -5071,10 +5039,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\" +URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -5211,10 +5177,8 @@
"var data_partition_id = pm.variables.get(\"data-partition-id\");",
"var URLdomain = pm.variables.get(\"domain\");",
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
"if (cp == \"Azure\" || \"AWS\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test.com\");",
"if (cp == \"IBM\")",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@test\" + URLdomain); ",
"else",
" postman.setEnvironmentVariable(\"NewOwner\", \"user_\" + _.random(1,9999999) + \"@\" + data_partition_id + URLdomain);"
],
......@@ -5922,15 +5886,15 @@
"query": [
{
"key": "cursor",
"value": null
"value": ""
},
{
"key": "limit",
"value": null
"value": ""
},
{
"key": "role",
"value": null
"value": ""
}
],
"variable": [
......@@ -6001,12 +5965,12 @@
"query": [
{
"key": "cursor",
"value": null,
"value": "",
"disabled": true
},
{
"key": "limit",
"value": null,
"value": "",
"disabled": true
},
{
......@@ -6085,12 +6049,12 @@
"query": [
{
"key": "cursor",
"value": null,
"value": "",
"disabled": true
},
{
"key": "limit",
"value": null,
"value": "",
"disabled": true
},
{
......@@ -6176,12 +6140,12 @@
"query": [
{
"key": "cursor",
"value": null,
"value": "",
"disabled": true
},
{
"key": "limit",
"value": null,
"value": "",
"disabled": true
},
{
......@@ -6267,12 +6231,12 @@
"query": [
{
"key": "cursor",
"value": null,
"value": "",
"disabled": true
},
{
"key": "limit",
"value": null,
"value": "",
"disabled": true
},
{
......
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