|
|
|
@ -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",
|
|
|
|
|