2021-07-14 17:15:03 +02:00
|
|
|
{
|
|
|
|
"ownerApp" : "Orchestrator",
|
|
|
|
"name" : "da_cache_to_shub",
|
|
|
|
"createBy" : "Marco Lettere",
|
|
|
|
"description": "Workflow for streaming da_cache files to storage hub",
|
|
|
|
"version" : 1,
|
|
|
|
"ownerEmail" : "marco.lettere@nubisware.com",
|
|
|
|
"inputParameters" : ["token", "descriptor"],
|
|
|
|
"tasks" : [
|
|
|
|
{
|
|
|
|
"name" : "pyrestbridge",
|
|
|
|
"taskReferenceName" : "bridge",
|
|
|
|
"type" : "SIMPLE",
|
|
|
|
"inputParameters" : {
|
2021-07-14 17:35:04 +02:00
|
|
|
"endpoint1" :{
|
2021-07-14 17:15:03 +02:00
|
|
|
"url" : "https://ent3szkgiak1.x.pipedream.net"
|
|
|
|
},
|
2021-07-15 16:01:40 +02:00
|
|
|
"datamap" : {
|
2021-07-15 16:48:29 +02:00
|
|
|
"place" : "files",
|
2021-07-15 16:01:40 +02:00
|
|
|
"name" : "file"
|
|
|
|
},
|
2021-07-14 17:35:04 +02:00
|
|
|
"endpoint2" :{
|
2021-07-15 18:34:15 +02:00
|
|
|
"url" : "https://workspace-repository.dev.d4science.org/storagehub/workspace//items/68e30cd7-8728-429e-9a98-50039e309095/create/FILE",
|
2021-07-15 16:01:40 +02:00
|
|
|
"headers" : {
|
|
|
|
"Authorization" : "Bearer ${workflow.input.token}"
|
|
|
|
},
|
2021-07-15 16:48:29 +02:00
|
|
|
"files" : {
|
2021-07-15 16:01:40 +02:00
|
|
|
"name" : "f1.json",
|
|
|
|
"description" : "Example file"
|
|
|
|
}
|
2021-07-14 17:15:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|