added workspace to vre folder link
This commit is contained in:
parent
fda78741db
commit
7b0f83abd1
|
@ -162,6 +162,40 @@
|
|||
},
|
||||
"body" : "${roles_to_assign.output.resultList}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "pyrest",
|
||||
"taskReferenceName" : "authorize_with_uma_rpt",
|
||||
"type" : "SIMPLE",
|
||||
"inputParameters" : {
|
||||
"url" : "{{ keycloak }}/{{ keycloak_realm }}/protocol/openid-connect/token",
|
||||
"method" : "POST",
|
||||
"headers" : {
|
||||
"Accept" : "application/json"
|
||||
},
|
||||
"body" : {
|
||||
"audience" : "${init.input.root_vo}",
|
||||
"grant_type" : "urn:ietf:params:oauth:grant-type:uma-ticket",
|
||||
"client_id" : "orchestrator",
|
||||
"client_secret" : "{{ keycloak_auth_master }}",
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "pyrest",
|
||||
"taskReferenceName" : "workspace_to_vre_folder",
|
||||
"type" : "SIMPLE",
|
||||
"inputParameters" : {
|
||||
"url" : "${init.input.storagehub}/workspace/groups/${shubify_context_name.output.result.shubified_context_name}/users",
|
||||
"method" : "PUT",
|
||||
"body" : {
|
||||
"userId" : "${get_service_account_user.output.body.username}"
|
||||
},
|
||||
"headers" : {
|
||||
"Accept" : "application/json",
|
||||
"Authorization" : "Bearer ${authorize_with_uma_rpt.output.body.access_token}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue