From a66e798994de4261b17feecc3783137a160051a2 Mon Sep 17 00:00:00 2001 From: himeshr Date: Tue, 10 Dec 2024 18:43:29 +0530 Subject: [PATCH] avniproject/avni-webapp#1337 | Use OPENCHS_DATABASE_HOST instead of OPENCHS_DATABASE_SERVER --- src/main/resources/application.properties | 2 +- src/test/resources/application.properties | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 14cc23d..b24e6be 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,6 @@ avni.database=${OPENCHS_DATABASE_NAME:openchs} avni.database.port=${OPENCHS_DATABASE_PORT:5432} -avni.database.server=${OPENCHS_DATABASE_SERVER:localhost} +avni.database.server=${OPENCHS_DATABASE_HOST:localhost} spring.config.import=classpath:/main-application.properties debug=${ETL_DEBUG_MODE:false} avni.current.time.offset.seconds=${AVNI_CURRENT_TIME_OFFSET_SECONDS:10} diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties index 0139181..e5b419c 100644 --- a/src/test/resources/application.properties +++ b/src/test/resources/application.properties @@ -1,6 +1,6 @@ avni.database=openchs_test -avni.database.port=5432 -avni.database.server=localhost +avni.database.port=${OPENCHS_DATABASE_PORT:5432} +avni.database.server=${OPENCHS_DATABASE_HOST:localhost} spring.config.import=classpath:/main-application.properties command.line.runner.enabled=false avni.current.time.offset.seconds=0