moved get workspace to pyrest
This commit is contained in:
parent
d6cb633f9a
commit
1c7044cfe3
|
@ -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"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue