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