removed unnecessary parameters, make workspace_to_vre more resilient to already member, hooked enable_workspace_clients workflow to group_created
This commit is contained in:
parent
7f39fde127
commit
a64ea6f2a5
|
@ -188,6 +188,7 @@
|
|||
"inputParameters" : {
|
||||
"url" : "${init.input.storagehub}/workspace/groups/${shubify_context_name.output.result.shubified_context_name}/users",
|
||||
"method" : "PUT",
|
||||
"expect" : [200, 400],
|
||||
"body" :{
|
||||
"userId" : "${get_service_account_user.output.body.username}"
|
||||
},
|
||||
|
|
|
@ -12,10 +12,8 @@
|
|||
"taskReferenceName": "init",
|
||||
"type": "LAMBDA",
|
||||
"inputParameters": {
|
||||
"root_vo": "{{ root_vo }}",
|
||||
"keycloak": "{{ keycloak }}/{{ keycloak_realm }}",
|
||||
"keycloak_admin" : "{{ keycloak_admin }}/{{ keycloak_realm }}",
|
||||
"id" : "${workflow.input.client_id}",
|
||||
"ctx" : "${workflow.input.context}",
|
||||
"filter" : "${workflow.input.filter}",
|
||||
"scriptExpression": "function e(v){ return (v == null || (v.trim && v.trim() === ''))} if(e($.ctx)) throw('Context must not be empty'); f=$.filter; if(e(f)) f = []; else if(typeof(f) === 'string') f=[f]; else f=Java.from(f); return { encoded_root_vo : encodeURI($.root_vo), filter : Java.to(f,'java.lang.String[]')}"
|
||||
|
|
|
@ -487,6 +487,17 @@
|
|||
"Content-Type" : "application/json"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sub_workflow_task",
|
||||
"taskReferenceName": "call_enable_workspace_clients_for_context",
|
||||
"inputParameters": {
|
||||
"subWorkflowParam": {
|
||||
"name": "add_workspace_client_to_context"
|
||||
},
|
||||
"context" : "${workflow.input.group}"
|
||||
},
|
||||
"type": "SUB_WORKFLOW"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue