From 080b084b7535c06c366205aaba589b9d7cd30901 Mon Sep 17 00:00:00 2001 From: Asp-Codes Date: Fri, 10 Jan 2025 10:44:58 +0530 Subject: [PATCH 1/5] Missing field properties added --- .../environment/common_example.properties | 67 +++++++++++++++++-- 1 file changed, 62 insertions(+), 5 deletions(-) diff --git a/src/main/environment/common_example.properties b/src/main/environment/common_example.properties index 2af73c8e..a1831890 100644 --- a/src/main/environment/common_example.properties +++ b/src/main/environment/common_example.properties @@ -4,17 +4,17 @@ spring.datasource.url= spring.datasource.username= spring.datasource.password= -spring.datasource.url=jdbc:mysql://localhost:3306/db_iemr?autoReconnect=true&useSSL=false +##commented the below lines as it is already defined above +# spring.datasource.url=jdbc:mysql://localhost:3306/db_iemr? encDbUserName=zFlYsp9Z0s+lRvLM15A3g/Ba0w8VGs/1usuW7EsGF3k= encDbPass=JGGAGn5wTlrbTLUHY+5BzfBa0w8VGs/1usuW7EsGF3k= spring.datasource.driver-class-name=com.mysql.jdbc.Driver +secondary.datasource.url= secondary.datasource.username= secondary.datasource.password= -secondary.datasource.url= secondary.datasource.driver-class-name=com.mysql.jdbc.Driver -fileBasePath =/Doc # KM config km-base-url=http://10.208.122.38:8084/OpenKM @@ -28,6 +28,9 @@ cti-logger_base_url=http://10.208.122.99/logger identity-api-url = http://localhost:8080/identity-0.0.1 identity-1097-api-url = http://localhost:8080/1097identityapi-v1.0 +##Generate Benificiary Config +genben-api=http://localhost:8080/bengenapi-v1.0 + #### SMS Configuration send-sms=false sendSMSUrl = http://localhost:8080/sms/sendSMS @@ -53,13 +56,66 @@ spring.mail.properties.mail.smtp.starttls.enable=true start-email-scheduler=true cron-scheduler-email=0 0/1 * * * ? * -### generate Beneficiary Config -genben-api=http://localhost:8080/bengenapi-v1.0 +##-------------------------------###cti data sync Scheduler configurations------------------------------------------------------ + +start-ctidatasync-scheduler=false +cron-scheduler-ctidatasync=0 0 2 */2 * ? + +##-------------------------------###cti data check with call detail report Scheduler------------------------------------------------------ + +#Runs at everyday 12:10AM +start-ctidatacheck-scheduler=true +cron-scheduler-ctidatacheck=0 10 00 * * * + +##---------------------------------#### Registration schedular for Avni------------------------------------------------------------------------------ + +start-avni-scheduler=false +cron-avni-registration=0 0/1 * * * ? * + +##------------------------------------------------#### Everwell Regsitration Scheduler--------------------------------------------------------------- + +start-registration-scheduler=false +cron-scheduler-registration=0 34 19 * * ? * + +##----------------------------------------------------#everwell data sync----------------------------------------------------------- + +start-everwelldatasync-scheduler=false +cron-scheduler-everwelldatasync=0 0/5 * * * ? * + +##-----------------------------------------------#NHM data dashboard schedular---------------------------------------------------------------- +# run at everyday 12:01AM +start-nhmdashboard-scheduler=true +cron-scheduler-nhmdashboard=0 1 * * * ? * ### Redis IP spring.redis.host=localhost + +##--------------------------------------------------------------------------------------------------------------- +###CTI data sync schedular +cz-duration=40 +##--------------------------------------------------------------------------------------------------------------- +## prescription template +TMprescriptionTemplate=TMPrescription +##--------------------------------------------------------------------------------------------------------------- +##duration for everwell calender +everwellCalendarDuration=15 + ##--------------------------------------------------------------------------------------------------------------- +##lonic variables +lonicPageSize=10 + ##--------------------------------------------------------------------------------------------------------------- #snomedcti snomedCTPageSize=10 +##--------------------------------------------------------------------------------------------------------------- +#call retry count +callRetryConfiguration=3 +##--------------------------------------------------------------------------------------------------------------- +#avni registration Duration +avniRegistrationLimit=7 + +#--------------------------NHM Agent Real Time Data---------------------------- +nhm.agent.real.time.data.url= http://175.101.1.83/apps/utility/alive_api.php +nhm.agent.real.time.data.cron.scheduler=0 */2 * ? * * +nhm.agent.real.time.data.cron.flag=true carestream_socket_ip = 192.168.43.39 carestream_socket_port = 1235 @@ -110,3 +166,4 @@ eausadhaAuthorization= spring.main.allow-bean-definition-overriding=true spring.main.allow-circular-references=true +fileBasePath =/Doc From 07e3b96ed5923fae9936f19577d0284806d395ec Mon Sep 17 00:00:00 2001 From: Asp-Codes Date: Tue, 14 Jan 2025 12:34:06 +0530 Subject: [PATCH 2/5] updated the db connections --- .../environment/common_example.properties | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/main/environment/common_example.properties b/src/main/environment/common_example.properties index a1831890..f5bcf97a 100644 --- a/src/main/environment/common_example.properties +++ b/src/main/environment/common_example.properties @@ -1,18 +1,17 @@ # local env # DB Connections -spring.datasource.url= -spring.datasource.username= -spring.datasource.password= +spring.datasource.url=jdbc:mysql://localhost:3306/db_iemr +spring.datasource.username=root +spring.datasource.password=1234 -##commented the below lines as it is already defined above -# spring.datasource.url=jdbc:mysql://localhost:3306/db_iemr? +# spring.datasource.url=jdbc:mysql://localhost:3306/db_iemr?autoReconnect=true&useSSL=false encDbUserName=zFlYsp9Z0s+lRvLM15A3g/Ba0w8VGs/1usuW7EsGF3k= encDbPass=JGGAGn5wTlrbTLUHY+5BzfBa0w8VGs/1usuW7EsGF3k= spring.datasource.driver-class-name=com.mysql.jdbc.Driver -secondary.datasource.url= -secondary.datasource.username= -secondary.datasource.password= +secondary.datasource.username=root +secondary.datasource.password=1234 +secondary.datasource.url=jdbc:mysql://localhost:3306/db_reporting secondary.datasource.driver-class-name=com.mysql.jdbc.Driver @@ -25,11 +24,11 @@ cti-server-ip=10.208.122.99 cti-logger_base_url=http://10.208.122.99/logger # Identity Config -identity-api-url = http://localhost:8080/identity-0.0.1 -identity-1097-api-url = http://localhost:8080/1097identityapi-v1.0 - +identity-api-url = http://localhost:8094/identity-0.0.1 +#not sure abt this +identity-1097-api-url = http://localhost:8094/1097identityapi-v1.0 ##Generate Benificiary Config -genben-api=http://localhost:8080/bengenapi-v1.0 +genben-api=http://localhost:8092/bengenapi-v1.0 #### SMS Configuration send-sms=false @@ -132,9 +131,9 @@ everwellEditDoses = https://beta-hub.everwell.org/Api/Patients/EditManualDoses everwellEditMissedDoses = https://beta-hub.everwell.org/Api/Patients/EditMissedDoses everwellGetPatientAdherenceUrl = https://beta-hub.everwell.org/Api/Patients/CurrentMonthMissedAdherence?Page= everwellEditSecondaryPhoneNo = https://beta-hub.everwell.org/Api/Patients/EditPhoneNumber -everwell1097userAuthenticate = http://10.208.122.38:8080/commonapi-v1.0/user/userAuthenticate +everwell1097userAuthenticate = http://10.208.122.38:8083/commonapi-v1.0/user/userAuthenticate everwelluserAuthenticate = https://beta-hub.everwell.org/token -everwellRegisterBenficiary = http://10.208.122.38:8080/commonapi-v1.0/beneficiary/create +everwellRegisterBenficiary = http://10.208.122.38:8083/commonapi-v1.0/beneficiary/create ## LungAssessment credentials From c3188ac6c770aca3e4260c3b4f9c11c084fe01d9 Mon Sep 17 00:00:00 2001 From: Asp-Codes Date: Mon, 20 Jan 2025 15:53:10 +0530 Subject: [PATCH 3/5] src/main/environment/common_example.properties --- src/main/environment/common_example.properties | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/environment/common_example.properties b/src/main/environment/common_example.properties index f5bcf97a..2f8584f6 100644 --- a/src/main/environment/common_example.properties +++ b/src/main/environment/common_example.properties @@ -1,4 +1,5 @@ # local env +server.port=8083 # DB Connections spring.datasource.url=jdbc:mysql://localhost:3306/db_iemr spring.datasource.username=root @@ -24,11 +25,11 @@ cti-server-ip=10.208.122.99 cti-logger_base_url=http://10.208.122.99/logger # Identity Config -identity-api-url = http://localhost:8094/identity-0.0.1 -#not sure abt this -identity-1097-api-url = http://localhost:8094/1097identityapi-v1.0 +identity-api-url = http://localhost:8094/ +#Verify whether 1097 and identity are same? +identity-1097-api-url = http://localhost:8094/ ##Generate Benificiary Config -genben-api=http://localhost:8092/bengenapi-v1.0 +genben-api=http://localhost:8092/ #### SMS Configuration send-sms=false @@ -131,9 +132,9 @@ everwellEditDoses = https://beta-hub.everwell.org/Api/Patients/EditManualDoses everwellEditMissedDoses = https://beta-hub.everwell.org/Api/Patients/EditMissedDoses everwellGetPatientAdherenceUrl = https://beta-hub.everwell.org/Api/Patients/CurrentMonthMissedAdherence?Page= everwellEditSecondaryPhoneNo = https://beta-hub.everwell.org/Api/Patients/EditPhoneNumber -everwell1097userAuthenticate = http://10.208.122.38:8083/commonapi-v1.0/user/userAuthenticate +everwell1097userAuthenticate = http://10.208.122.38:8083/user/userAuthenticate everwelluserAuthenticate = https://beta-hub.everwell.org/token -everwellRegisterBenficiary = http://10.208.122.38:8083/commonapi-v1.0/beneficiary/create +everwellRegisterBenficiary = http://10.208.122.38:8083/beneficiary/create ## LungAssessment credentials From 64099d8c340ac08aa010d5542e34c5852ee6e319 Mon Sep 17 00:00:00 2001 From: Asp-irin <119241921+Asp-irin@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:01:22 +0530 Subject: [PATCH 4/5] Update common_example.properties --- src/main/environment/common_example.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/environment/common_example.properties b/src/main/environment/common_example.properties index 2f8584f6..17ea42d2 100644 --- a/src/main/environment/common_example.properties +++ b/src/main/environment/common_example.properties @@ -132,9 +132,9 @@ everwellEditDoses = https://beta-hub.everwell.org/Api/Patients/EditManualDoses everwellEditMissedDoses = https://beta-hub.everwell.org/Api/Patients/EditMissedDoses everwellGetPatientAdherenceUrl = https://beta-hub.everwell.org/Api/Patients/CurrentMonthMissedAdherence?Page= everwellEditSecondaryPhoneNo = https://beta-hub.everwell.org/Api/Patients/EditPhoneNumber -everwell1097userAuthenticate = http://10.208.122.38:8083/user/userAuthenticate +everwell1097userAuthenticate = http://localhost:8083/user/userAuthenticate everwelluserAuthenticate = https://beta-hub.everwell.org/token -everwellRegisterBenficiary = http://10.208.122.38:8083/beneficiary/create +everwellRegisterBenficiary = http://localhost:8083/beneficiary/create ## LungAssessment credentials From 4f42fbabf797b4cae1dc0927dc738c8c55a4097e Mon Sep 17 00:00:00 2001 From: Asp-irin <119241921+Asp-irin@users.noreply.github.com> Date: Fri, 31 Jan 2025 11:05:57 +0530 Subject: [PATCH 5/5] Update common_example.properties --- src/main/environment/common_example.properties | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/environment/common_example.properties b/src/main/environment/common_example.properties index 5716c752..5dc134c3 100644 --- a/src/main/environment/common_example.properties +++ b/src/main/environment/common_example.properties @@ -5,7 +5,6 @@ spring.datasource.url=jdbc:mysql://localhost:3306/db_iemr spring.datasource.username=root spring.datasource.password=1234 -# spring.datasource.url=jdbc:mysql://localhost:3306/db_iemr?autoReconnect=true&useSSL=false encDbUserName=zFlYsp9Z0s+lRvLM15A3g/Ba0w8VGs/1usuW7EsGF3k= encDbPass=JGGAGn5wTlrbTLUHY+5BzfBa0w8VGs/1usuW7EsGF3k= spring.datasource.driver-class-name=com.mysql.jdbc.Driver @@ -27,7 +26,7 @@ cti-logger_base_url=http://10.208.122.99/logger # Identity Config identity-api-url = http://localhost:8094/ #Verify whether 1097 and identity are same? -identity-1097-api-url = http://localhost:8094/ +identity-1097-api-url = http://localhost:8095/ ##Generate Benificiary Config genben-api=http://localhost:8092/