limit to 10 VREs per call

This commit is contained in:
dcore94 2021-04-30 14:41:48 +02:00
parent 24281986f7
commit 5a0541a969
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"description": "Handle workflow related to Portal event role_created", "description": "Handle workflow related to Portal event role_created",
"version" : 1, "version" : 1,
"ownerEmail" : "marco.lettere@nubisware.com", "ownerEmail" : "marco.lettere@nubisware.com",
"inputParameters" : ["role"], "inputParameters" : ["role", "first", "max"],
"tasks" : [ "tasks" : [
{ {
"name": "LAMBDA_TASK", "name": "LAMBDA_TASK",
@ -39,7 +39,7 @@
"taskReferenceName" : "get_all_vres", "taskReferenceName" : "get_all_vres",
"type" : "SIMPLE", "type" : "SIMPLE",
"inputParameters" : { "inputParameters" : {
"url" : "${init.input.keycloak_admin}/clients?clientId=%252F&search=true&first=0&max=500", "url" : "${init.input.keycloak_admin}/clients?clientId=%252F&search=true&first=${workflow.input.first}&max=${workflow.input.max}",
"method" : "GET", "method" : "GET",
"headers" : { "headers" : {
"Authorization" : "Bearer ${authorize.output.body.access_token}", "Authorization" : "Bearer ${authorize.output.body.access_token}",