fixed typo
This commit is contained in:
parent
9efc8caabe
commit
88ac5e5233
|
@ -1,35 +1,35 @@
|
|||
---
|
||||
workflows:
|
||||
- create-user-add-to-vre
|
||||
- group_deleted
|
||||
- user-group_created
|
||||
- user-group-role_created
|
||||
- group_created
|
||||
- invitation-accepted
|
||||
- user-group_deleted
|
||||
- user-group-role_deleted
|
||||
- delete-user-account
|
||||
- role_deleted
|
||||
- role_created
|
||||
- add_role_policy_permission
|
||||
- add_all_member_roles
|
||||
- create_system_service
|
||||
- delete_system_service
|
||||
- add_all_system_services_to_vre
|
||||
- create_workspace_client
|
||||
- add_workspace_client_to_context
|
||||
- enable_workspace_clients_for_context
|
||||
# - create-user-add-to-vre
|
||||
# - group_deleted
|
||||
# - user-group_created
|
||||
# - user-group-role_created
|
||||
# - group_created
|
||||
# - invitation-accepted
|
||||
# - user-group_deleted
|
||||
# - user-group-role_deleted
|
||||
# - delete-user-account
|
||||
# - role_deleted
|
||||
# - role_created
|
||||
# - add_role_policy_permission
|
||||
# - add_all_member_roles
|
||||
# - create_system_service
|
||||
# - delete_system_service
|
||||
# - add_all_system_services_to_vre
|
||||
# - create_workspace_client
|
||||
# - add_workspace_client_to_context
|
||||
# - enable_workspace_clients_for_context
|
||||
- add_workspace_client_to_contexts
|
||||
- ghn_client_add_to_context
|
||||
- ghn_client_add_to_contexts
|
||||
- ghn_client_create
|
||||
- ghn_client_delete
|
||||
- ghn_client_remove_from_contexts
|
||||
- ghn_client_remove_from_context
|
||||
- jupyterhub_add_serveroptions_to_context
|
||||
- record_context_to_is
|
||||
- create_vre_folder_for_context
|
||||
- create_vre
|
||||
# - ghn_client_add_to_context
|
||||
# - ghn_client_add_to_contexts
|
||||
# - ghn_client_create
|
||||
# - ghn_client_delete
|
||||
# - ghn_client_remove_from_contexts
|
||||
# - ghn_client_remove_from_context
|
||||
# - jupyterhub_add_serveroptions_to_context
|
||||
# - record_context_to_is
|
||||
# - create_vre_folder_for_context
|
||||
# - create_vre
|
||||
|
||||
keycloak_host: "https://accounts.dev.d4science.org/auth"
|
||||
keycloak: "{{ keycloak_host }}/realms"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
"context_list" : "${workflow.input.context_list}",
|
||||
"client_id" : "${workflow.input.client_id}",
|
||||
"evaluatorType" : "javascript",
|
||||
"expression": "inputs={},tasks=[];functionf(){for(var i=0;i<$.context_list.length;i++)c=$.context_list[i],tasks.push({name:'sub_workflow_task',type:'SUB_WORKFLOW',taskReferenceName:'add_workspace_client_to_context_'+i, subWorkflowParam:{ name:'add_workspace_client_to_context'}}),inputs['add_workspace_client_to_context_'+i]={client_id : $.client_id, context: c};return {tasks:Java.to(tasks,'java.util.Map[]'),inputs:inputs};} f()"
|
||||
"expression": "inputs={},tasks=[];function f(){for(var i=0;i<$.context_list.length;i++)c=$.context_list[i],tasks.push({name:'sub_workflow_task',type:'SUB_WORKFLOW',taskReferenceName:'add_workspace_client_to_context_'+i, subWorkflowParam:{ name:'add_workspace_client_to_context'}}),inputs['add_workspace_client_to_context_'+i]={client_id : $.client_id, context: c};return {tasks:Java.to(tasks,'java.util.Map[]'),inputs:inputs};} f()"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue