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,25 +25,23 @@
}
},
{
"name" : "http",
"taskReferenceName" : "get_workspace",
"type" : "HTTP",
"inputParameters" : {
"http_request": {
"uri" : "${init.input.storagehub}/workspace",
"method" : "GET",
"headers" : { "Authorization" : "${init.input.auth}" }
}
},
"retryCount" : 5,
"retryDelaySeconds": 10
"name" : "pyrest",
"taskReferenceName" : "get_workspace",
"type" : "SIMPLE",
"inputParameters" : {
"url" : "${init.input.storagehub}/workspace",
"method" : "GET",
"headers" : { "Authorization" : "${init.input.auth}" }
},
"retryCount" : 5,
"retryDelaySeconds": 10
},
{
"name": "LAMBDA_TASK",
"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"
}
},