fixed typo
This commit is contained in:
parent
3399483ac5
commit
4a15b3a7e0
|
@ -69,7 +69,7 @@
|
||||||
"type": "LAMBDA",
|
"type": "LAMBDA",
|
||||||
"inputParameters": {
|
"inputParameters": {
|
||||||
"p": "${add_policy.output.body}",
|
"p": "${add_policy.output.body}",
|
||||||
"scriptExpression": "Java.to([$.p],'java.util.Map[]')"
|
"scriptExpression": "return Java.to([$.p],'java.util.Map[]')"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -107,14 +107,14 @@
|
||||||
"name" : "join",
|
"name" : "join",
|
||||||
"type" : "JOIN",
|
"type" : "JOIN",
|
||||||
"taskReferenceName" : "join_prepare_policy_and_permission",
|
"taskReferenceName" : "join_prepare_policy_and_permission",
|
||||||
"joinOn" : ["retrieve_default_permission_policies","add_policy"]
|
"joinOn" : ["retrieve_default_permission_policies","to_array"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name" : "pyrest",
|
"name" : "pyrest",
|
||||||
"taskReferenceName" : "finalize_permission",
|
"taskReferenceName" : "finalize_permission",
|
||||||
"type" : "SIMPLE",
|
"type" : "SIMPLE",
|
||||||
"inputParameters" : {
|
"inputParameters" : {
|
||||||
"url" : "${init.input.keycloak_admin}/clients/${workflow.input.role.containerId}/authz/resource-server/permission/${retrieve_default_permission.output.body.id}",
|
"url" : "${init.input.keycloak_admin}/clients/${workflow.input.role.containerId}/authz/resource-server/permission/${retrieve_default_permission.output.body[0].id}",
|
||||||
"method" : "PUT",
|
"method" : "PUT",
|
||||||
"headers" : {
|
"headers" : {
|
||||||
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
||||||
|
|
Loading…
Reference in New Issue