|
|
|
@ -196,6 +196,35 @@
|
|
|
|
|
"Authorization" : "Bearer ${authorize_with_uma_rpt.output.body.access_token}"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name" : "check_vre_folder_outcome",
|
|
|
|
|
"taskReferenceName" : "check_vre_folder_outcome",
|
|
|
|
|
"type" : "DECISION",
|
|
|
|
|
"inputParameters" :{
|
|
|
|
|
"previous_outcome" : "${workspace_to_vre_folder.output.status}"
|
|
|
|
|
},
|
|
|
|
|
"caseValueParam" : "previous_outcome",
|
|
|
|
|
"decisionCases" : {
|
|
|
|
|
"200" : [
|
|
|
|
|
{
|
|
|
|
|
"name" : "pyrest",
|
|
|
|
|
"taskReferenceName" : "make_admin",
|
|
|
|
|
"type" : "SIMPLE",
|
|
|
|
|
"inputParameters" : {
|
|
|
|
|
"url" : "${init.input.storagehub}/workspace/groups/${shubify_context_name.output.result.shubified_context_name}/admins",
|
|
|
|
|
"method" : "PUT",
|
|
|
|
|
"expect" : [200, 400, 500],
|
|
|
|
|
"body" :{
|
|
|
|
|
"userId" : "${get_service_account_user.output.body.username}"
|
|
|
|
|
},
|
|
|
|
|
"headers" : {
|
|
|
|
|
"Authorization" : "Bearer ${authorize_with_uma_rpt.output.body.access_token}"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|