ansible-role-conductor-work.../templates/da_cache_to_shub.json.j2

37 lines
902 B
Plaintext
Raw Normal View History

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" : {
"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}"
},
"files" : {
2021-07-15 16:01:40 +02:00
"name" : "f1.json",
"description" : "Example file"
}
2021-07-14 17:15:03 +02:00
}
}
}
]
}