try with lambda
This commit is contained in:
parent
6561d96531
commit
899621e6a3
|
@ -62,7 +62,7 @@
|
||||||
"type": "LAMBDA",
|
"type": "LAMBDA",
|
||||||
"inputParameters": {
|
"inputParameters": {
|
||||||
"role": "${retrieve_member_role.output.body}",
|
"role": "${retrieve_member_role.output.body}",
|
||||||
"scriptExpression": "return Java.to([$.role], 'java.lang.Object[]')}"
|
"scriptExpression": "return Java.to([$.role], 'java.lang.Object[]')"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
"Content-type" : "application/json",
|
"Content-type" : "application/json",
|
||||||
"Accept":"application/json"
|
"Accept":"application/json"
|
||||||
},
|
},
|
||||||
"body" : "${to_array.output.result}"
|
"body" : "${to_role_array.output.result}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -57,7 +57,8 @@
|
||||||
"headers" : {
|
"headers" : {
|
||||||
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
||||||
"Content-Type" : "application/json"
|
"Content-Type" : "application/json"
|
||||||
}
|
},
|
||||||
|
"expect" : [200,204,201,409]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue