From 4e68d3380d8f350352511ef82d4c0f1a149eb68c Mon Sep 17 00:00:00 2001 From: vladislavploaia Date: Fri, 31 May 2024 12:40:25 +0300 Subject: [PATCH] fix: CDR-1401 adjust runRobotTest keycloak port --- scripts/runRobotTest.sh | 2 +- tests/robot/_resources/variables/get_global_configs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/runRobotTest.sh b/scripts/runRobotTest.sh index 243dbf51..712d0fd9 100755 --- a/scripts/runRobotTest.sh +++ b/scripts/runRobotTest.sh @@ -34,7 +34,7 @@ env=0 suite='TEST' serverBase=${EHRBASE_BASE_URL:-http://ehrbase:8080} serverNodeName=${SERVER_NODENAME:-local.ehrbase.org} -keycloakBase=${KEYCLOAK_BASE_URL:-http://keycloak:8080} +keycloakBase=${KEYCLOAK_BASE_URL:-http://keycloak:8081} POSITIONAL_ARGS=() ############################################################ diff --git a/tests/robot/_resources/variables/get_global_configs.py b/tests/robot/_resources/variables/get_global_configs.py index a69ac14d..96245d52 100644 --- a/tests/robot/_resources/variables/get_global_configs.py +++ b/tests/robot/_resources/variables/get_global_configs.py @@ -18,6 +18,6 @@ def get_variables(): "PLUGIN_URL": os.environ.get('PLUGIN_URL', f'{ehrbase_baseurl}/ehrbase/plugin'), "RABBITMQ_URL": os.environ.get('RABBITMQ_URL', "http://127.0.0.1:15672/api"), "KAFKA_URL": os.environ.get('KAFKA_URL', "http://127.0.0.1:8082"), - "KEYCLOAK_URL": os.environ.get('KEYCLOAK_URL', f'{keycloak_baseurl}/auth'), + "KEYCLOAK_URL": os.environ.get('KEYCLOAK_URL', f'{keycloak_baseurl}/auth') } return json_obj \ No newline at end of file