fixed typo
This commit is contained in:
parent
3399483ac5
commit
4a15b3a7e0
|
@ -69,7 +69,7 @@
|
|||
"type": "LAMBDA",
|
||||
"inputParameters": {
|
||||
"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",
|
||||
"type" : "JOIN",
|
||||
"taskReferenceName" : "join_prepare_policy_and_permission",
|
||||
"joinOn" : ["retrieve_default_permission_policies","add_policy"]
|
||||
"joinOn" : ["retrieve_default_permission_policies","to_array"]
|
||||
},
|
||||
{
|
||||
"name" : "pyrest",
|
||||
"taskReferenceName" : "finalize_permission",
|
||||
"type" : "SIMPLE",
|
||||
"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",
|
||||
"headers" : {
|
||||
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
||||
|
|
Loading…
Reference in New Issue