Commit b1f5070c authored by Paromita Mitra's avatar Paromita Mitra Committed by Bhushan Rade
Browse files

Ibm entitlement collection modification

parent a9d89cf7
......@@ -79,7 +79,7 @@
},
{
"key": "ENTITLEMENTS_HOST",
"value": "{{HOSTNAME}}/osdu-entitlements/api/entitlements/v1",
"value": "{{HOSTNAME}}/osdu-entitlements-v2/api/entitlements/v2",
"enabled": true
},
{
......
......@@ -2152,6 +2152,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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,6 +2398,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);",
""
......@@ -2615,6 +2619,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);",
""
......@@ -2754,6 +2760,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -2892,6 +2900,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -3030,6 +3040,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -3173,6 +3185,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -3472,6 +3486,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -3690,6 +3706,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -3828,6 +3846,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -3966,6 +3986,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\") ",
" 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);"
],
......@@ -4104,6 +4126,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\") ",
" 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);"
],
......@@ -4247,6 +4271,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);",
""
......@@ -4547,6 +4573,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -4765,6 +4793,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -4903,6 +4933,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -5041,6 +5073,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......@@ -5179,6 +5213,8 @@
"cp = pm.variables.get(\"cloud_platform\");",
"if (cp == \"Azure\")",
" 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);"
],
......
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