fixed url to IS

master
Marco Lettere 9 months ago
parent f54792e117
commit 5b308bf8cd

@ -78,7 +78,7 @@
[
{
"name" : "pyrest",
"taskReferenceName" : "authorize_uma_paarent_vo",
"taskReferenceName" : "authorize_uma_parent_vo",
"type" : "SIMPLE",
"inputParameters" : {
"url" : "${init.input.keycloak}/protocol/openid-connect/token",
@ -103,7 +103,7 @@
"method" : "GET",
"headers" : {
"Accept" : "application/xml",
"Authorization" : "Bearer ${authorize_uma_paarent_vo.output.body.access_token}"
"Authorization" : "Bearer ${authorize_uma_parent_vo.output.body.access_token}"
}
}
},
@ -136,30 +136,13 @@
}
},
{
"name" : "pyrest",
"taskReferenceName" : "authorize",
"type" : "SIMPLE",
"inputParameters" : {
"url" : "{{ keycloak }}/{{ keycloak_realm }}/protocol/openid-connect/token",
"method" : "POST",
"headers" : {
"Accept" : "application/json"
},
"body" : {
"client_id" : "orchestrator",
"client_secret" : "{{ keycloak_auth }}",
"grant_type" : "client_credentials"
}
}
},
{
"name": "pyrest",
"taskReferenceName": "write_to_is",
"inputParameters": {
"url": "https://envk9v55ynw3o.x.pipedream.net//${init.output.result.child}",
"url": "${init.input.base_url}/${extract_vre_id.output.result[0]}",
"method": "PUT",
"headers": {
"Authorization": "Bearer bearer_here",
"Authorization": "Bearer ${authorize_uma_rootvo.output.body.access_token}",
"Accept": "application/json",
"Content-Type": "application/json"
},

Loading…
Cancel
Save