From b9807d1450f47941652c01112337b6044a38dd9a Mon Sep 17 00:00:00 2001 From: "m.lettere" Date: Fri, 21 Oct 2022 11:03:10 +0200 Subject: [PATCH] removed task as per https://support.d4science.org/issues/23886 --- defaults/main.yaml | 2 +- .../add_workspace_client_to_context.json.j2 | 29 ------------------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/defaults/main.yaml b/defaults/main.yaml index de5b5fe..9c5bb15 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -17,7 +17,7 @@ workflows: # - delete_system_service # - add_all_system_services_to_vre # - create_workspace_client -# - add_workspace_client_to_context + - add_workspace_client_to_context # - enable_workspace_clients_for_context # - add_workspace_client_to_contexts # - ghn_client_add_to_context diff --git a/templates/add_workspace_client_to_context.json.j2 b/templates/add_workspace_client_to_context.json.j2 index 5d2c10b..a1e2dfa 100644 --- a/templates/add_workspace_client_to_context.json.j2 +++ b/templates/add_workspace_client_to_context.json.j2 @@ -196,35 +196,6 @@ "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, 204, 400, 500], - "body" :{ - "userId" : "${get_service_account_user.output.body.username}" - }, - "headers" : { - "Authorization" : "Bearer ${authorize_with_uma_rpt.output.body.access_token}" - } - } - } - ] - } } ] }