diff --git a/templates/add_all_system_services_to_vre.json.j2 b/templates/add_all_system_services_to_vre.json.j2 index 4eef621..510ec54 100644 --- a/templates/add_all_system_services_to_vre.json.j2 +++ b/templates/add_all_system_services_to_vre.json.j2 @@ -109,7 +109,7 @@ "taskReferenceName": "build_get_system_services_tasks", "type": "LAMBDA", "inputParameters": { - "url" : "${init.input.keycloak_admin}/clients/search=true&clientId=", + "url" : "${init.input.keycloak_admin}/clients?search=true&clientId=", "services" : "${extract_system_service_names.output.result}", "scriptExpression": "inputs = {}, tasks = [];for (var i = 0; i < $.services.length; i++){s = $.services[i];tasks.push({name: 'pyrest',type: 'SIMPLE',taskReferenceName: 'get_system_service' + i});inputs['get_system_service' + i] = {url: $.url + s,method: 'GET',headers: {Authorization: 'Bearer ${authorize.output.body.access_token}', Accept: 'application/json'}}};return {tasks: Java.to(tasks, 'java.util.Map[]'),inputs: inputs};" }