new taskdef for multipart/form-data
This commit is contained in:
parent
66d00bd06b
commit
517ced19c6
|
@ -13,7 +13,7 @@
|
|||
"base_url": "https://url.gcube.d4science.org/",
|
||||
"keycloak": "{{ keycloak }}/{{ keycloak_realm }}",
|
||||
"keycloak_admin" : "{{ keycloak_admin }}/{{ keycloak_realm }}",
|
||||
"storagehub" : "{{ storagehub }}",
|
||||
"storagehub" : "{{ storagehub }}/workspace",
|
||||
"ctx": "${workflow.input.context}",
|
||||
"scriptExpression": "function e(v){ return (v == null || (v.trim && v.trim() === ''))} if(e($.ctx)) throw('Context must not be empty'); return { shubified_context_name : ($.ctx[0] === '%' ? $.ctx.replace('%2F', '') : $.ctx).split('%2F').join('-') }"
|
||||
},
|
||||
|
@ -58,9 +58,12 @@
|
|||
"Content-Type": "multipart/form-data"
|
||||
},
|
||||
"body": {
|
||||
"accessType": "WRITE_OWN",
|
||||
"folderOwner": "orchestrator",
|
||||
"group": "${init.output.result.shubified_context_name}"
|
||||
"accessType": [
|
||||
"WRITE_OWNER",
|
||||
"application/json"
|
||||
],
|
||||
"group": "${init.output.result.shubified_context_name}",
|
||||
"folderOwner": "leonardo.candela"
|
||||
}
|
||||
},
|
||||
"type": "SIMPLE",
|
||||
|
|
Loading…
Reference in New Issue