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

38 lines
912 B
Django/Jinja

{
"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" : {
"endpoint1" :{
"url" : "https://ent3szkgiak1.x.pipedream.net"
},
"datamap" : {
"place" : "files",
"name" : "file"
},
"endpoint2" :{
"url" : "https://ent3szkgiak1.x.pipedream.net",
"headers" : {
"Content-Type" : "multipart/form-data; boundary=------------------------ce5addc376b27099",
"Authorization" : "Bearer ${workflow.input.token}"
},
"files" : {
"name" : "f1.json",
"description" : "Example file"
}
}
}
}
]
}