moved get workspace to pyrest

This commit is contained in:
dcore94 2021-10-26 15:31:40 +02:00
parent d6cb633f9a
commit 1c7044cfe3
1 changed files with 11 additions and 13 deletions

View File

@ -25,15 +25,13 @@
}
},
{
"name" : "http",
"name" : "pyrest",
"taskReferenceName" : "get_workspace",
"type" : "HTTP",
"type" : "SIMPLE",
"inputParameters" : {
"http_request": {
"uri" : "${init.input.storagehub}/workspace",
"url" : "${init.input.storagehub}/workspace",
"method" : "GET",
"headers" : { "Authorization" : "${init.input.auth}" }
}
},
"retryCount" : 5,
"retryDelaySeconds": 10
@ -43,7 +41,7 @@
"taskReferenceName": "init2",
"type": "LAMBDA",
"inputParameters": {
"workspace_root_folder_id" : "${get_workspace.output.response.body.item.id}",
"workspace_root_folder_id" : "${get_workspace.output.body.item.id}",
"scriptExpression": "1 === 1"
}
},