From 46cc74e6ffa886bb34ff2e4b05f549f047c7ab9f Mon Sep 17 00:00:00 2001 From: "m.lettere" Date: Tue, 23 Nov 2021 14:19:38 +0100 Subject: [PATCH] added task to double check VRE folders --- templates/add_workspace_client_to_context.json.j2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/templates/add_workspace_client_to_context.json.j2 b/templates/add_workspace_client_to_context.json.j2 index f5e2265..e9c2150 100644 --- a/templates/add_workspace_client_to_context.json.j2 +++ b/templates/add_workspace_client_to_context.json.j2 @@ -196,6 +196,19 @@ "Authorization" : "Bearer ${authorize_with_uma_rpt.output.body.access_token}" } } + }, + { + "name" : "pyrest", + "taskReferenceName" : "check_workspace_to_vre_folder", + "type" : "SIMPLE", + "inputParameters" : { + "url" : "${init.input.storagehub}/workspace/vrefolders", + "method" : "GET", + "headers" : { + "Accept" : "application/json", + "Authorization" : "Bearer ${authorize_with_uma_rpt.output.body.access_token}" + } + } } ] }