|
|
|
@ -53,18 +53,9 @@
|
|
|
|
|
"type": "JSON_JQ_TRANSFORM",
|
|
|
|
|
"inputParameters": {
|
|
|
|
|
"role": "${retrieve_member_role.output.body}",
|
|
|
|
|
"queryExpression" : "[.role]"
|
|
|
|
|
"queryExpression" : ".role"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "LAMBDA_TASK",
|
|
|
|
|
"taskReferenceName": "to_role_array",
|
|
|
|
|
"type": "LAMBDA",
|
|
|
|
|
"inputParameters": {
|
|
|
|
|
"role": "${retrieve_member_role.output.body}",
|
|
|
|
|
"scriptExpression": "return Java.to([$.role], 'java.lang.Object[]')"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name" : "pyrest",
|
|
|
|
|
"type" : "SIMPLE",
|
|
|
|
@ -74,10 +65,10 @@
|
|
|
|
|
"method" :"POST",
|
|
|
|
|
"headers" : {
|
|
|
|
|
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
|
|
|
|
"Content-type" : "application/json",
|
|
|
|
|
"Content-Type" : "application/json",
|
|
|
|
|
"Accept":"application/json"
|
|
|
|
|
},
|
|
|
|
|
"body" : "${to_role_array.output.result}"
|
|
|
|
|
"body" : "${to_array.output.resultList}"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|