Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Platform Validation
Commits
0e6e4e4f
Commit
0e6e4e4f
authored
Jul 21, 2020
by
Denis Karpenok (EPAM)
Browse files
Entitlements pre-request for refresh
parent
cffa0fd6
Pipeline
#3830
failed with stages
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Postman Collection/14_CICD_Setup_EntitlementAPI/Entitlement API CI-CD v1.1.postman_collection.json
View file @
0e6e4e4f
...
...
@@ -39,7 +39,15 @@
"script"
:
{
"id"
:
"66756e80-8924-42bd-ae98-c558e381cb3f"
,
"exec"
:
[
""
"cp = pm.environment.get(
\"
cloud_platform
\"
);
\r
"
,
"
\r
"
,
"if (cp ==
\"
GCP
\"
) {
\r
"
,
" pm.environment.set(
\"
Scope
\"
,
\"
email openid profile
\"
)
\r
"
,
" }
\r
"
,
"else {
\r
"
,
" client_id = pm.environment.get(
\"
CLIENT_ID
\"
);
\r
"
,
" pm.environment.set(
\"
Scope
\"
, client_id +
\"
/.default openid profile offline_access
\"
)
\r
"
,
"}"
],
"type"
:
"text/javascript"
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment