From 309475cd099ce2cb4af3f5bb007143ad3317fbd2 Mon Sep 17 00:00:00 2001 From: Karyamsetty Helen Grace Date: Mon, 3 Jul 2023 18:43:12 +0530 Subject: [PATCH 1/3] property file changes --- src/main/environment/common_test.properties | 19 +------------------ src/main/resources/application.properties | 14 +++++++------- 2 files changed, 8 insertions(+), 25 deletions(-) diff --git a/src/main/environment/common_test.properties b/src/main/environment/common_test.properties index 402feede..718b2f8a 100644 --- a/src/main/environment/common_test.properties +++ b/src/main/environment/common_test.properties @@ -75,7 +75,7 @@ get-agent-summary-report-job=2 hour get-details-call-report-job=2 hour ##-------------------------------------------------### Redis IP-------------------------------------------------------------- -spring.redis.host=localhosts +spring.redis.host=localhost ##--------------------------------------------------------------------------------------------------------------- ###CTI data sync schedular @@ -99,21 +99,4 @@ callRetryConfiguration=3 #avni registration Duration avniRegistrationLimit=7 -### SMS Gateway URL details -#sms-gateway-url=http://sms.smsjosh.com -sms-username=PIRAMAL_SW_AHxoyCXejeJba13oKHcv -sms-password=]Kt9GAp8}$S*@ -#send-message-url=api/mt/SendSMS?user=USERNAME&password=PASSWORD&senderid=iAMRIT&channel=Trans&DCS=0&flashsms=0&number=91RECEIVER_NUMBER&text=SMS_TEXT&route=9 -send-message-url=https://openapi.airtel.in/gateway/airtel-iq-sms-utility/sendSingleSms -#sms-sender-number=DOCTOR -source-address=AIDSHL -sms-message-type=SERVICE_EXPLICIT -sms-entityid=1201161708885589464 - - - - - - - diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 03be787a..0833c4ec 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -160,18 +160,18 @@ logging.logback.rollingpolicy.max-file-size=20KB logging.logback.rollingpolicy.max-history=1 ### SMS Gateway URL details -sms-username= -sms-password= -send-message-url= +sms-username=PIRAMAL_SW_AHxoyCXejeJba13oKHcv +sms-password=]Kt9GAp8}$S*@ +send-message-url=https://openapi.airtel.in/gateway/airtel-iq-sms-utility/sendSingleSms source-address=AIDSHL sms-message-type=SERVICE_EXPLICIT sms-entityid=1201161708885589464 ### Email Gateway URL details -email-gateway-url= -send-email-url= -email-username= -email-password= +email-gateway-url=https://api.unicel.in +send-email-url=SendSMS/sendmsg.php?uname=USERNAME&pass=PASSWORD&send=SENDER_ID&dest=91RECEIVER_ID&msg=EMAIL_TEXT +email-username=AMRIT +email-password=Psmri@12 email-sender-number=DOCTOR ### generate Beneficiary IDs URL From 8d0cdec4ef86f55af42edd15ecfe2ddd3222f10e Mon Sep 17 00:00:00 2001 From: Karyamsetty Helen Grace Date: Mon, 10 Jul 2023 14:39:53 +0530 Subject: [PATCH 2/3] properties file removed creds --- src/main/resources/application.properties | 122 ++++++++++++++++++++-- 1 file changed, 115 insertions(+), 7 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 0833c4ec..5732d22e 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -160,18 +160,20 @@ logging.logback.rollingpolicy.max-file-size=20KB logging.logback.rollingpolicy.max-history=1 ### SMS Gateway URL details -sms-username=PIRAMAL_SW_AHxoyCXejeJba13oKHcv -sms-password=]Kt9GAp8}$S*@ -send-message-url=https://openapi.airtel.in/gateway/airtel-iq-sms-utility/sendSingleSms +sms-username= +sms-password= +send-message-url= source-address=AIDSHL sms-message-type=SERVICE_EXPLICIT sms-entityid=1201161708885589464 + + ### Email Gateway URL details -email-gateway-url=https://api.unicel.in -send-email-url=SendSMS/sendmsg.php?uname=USERNAME&pass=PASSWORD&send=SENDER_ID&dest=91RECEIVER_ID&msg=EMAIL_TEXT -email-username=AMRIT -email-password=Psmri@12 +email-gateway-url= +send-email-url= +email-username= +email-password= email-sender-number=DOCTOR ### generate Beneficiary IDs URL @@ -225,3 +227,109 @@ failedLoginAttempt=5 # always press enter after last line + +# Test env +# DB Connections +spring.jpa.database=default + +##--------------------------------------------## Primary db------------------------------------------------------------------- + + +encDbUserName=piramaldev +encDbPass=Piramal@2017 +spring.datasource.url=jdbc:mysql://10.208.122.38:3306/db_iemr?autoReconnect=true&useSSL=false +spring.datasource.driver-class-name=com.mysql.jdbc.Driver + + + +encDbUserNameSec=piramaldev +encDbPassSec=Piramal@2017 +secondary.datasource.url=jdbc:mysql://10.208.122.38:3306/db_reporting?autoReconnect=true&useSSL=false +secondary.datasource.driver-class-name=com.mysql.jdbc.Driver +##-------------------------------------------------------------# KM config-------------------------------------------------- + +km-base-url=http://10.208.122.38:8084/OpenKM +km-base-path=10.208.122.38:8084/OpenKM +##----------------------------------------------# CTI Config----------------------------------------------------------------- + +cti-server-ip=10.208.122.99 +cti-logger_base_url=http://10.208.122.99/logger +##-------------------------------------------------#### Identity Config-------------------------------------------------------------- + +identity-api-url=http://10.208.122.38:8080/identity-0.0.1 +identity-1097-api-url=http://10.208.122.38:8080/1097identityapi-v1.0 + +### generate Beneficiary Config +genben-api=http://10.208.122.38:8080/bengenapi-v1.0 + +##---------------------------------------------#### SMS Configuration------------------------------------------------------------------ + +send-sms=false + +###SMS Scheduler configurations +start-sms-scheduler=false +cron-scheduler-sms=0 0/1 * * * ? * +##----------------------------------------------#### Email Configuration----------------------------------------------------------------- + +send-email=false + +###Email Scheduler configurations +start-email-scheduler=false +cron-scheduler-email=0 0/1 * * * ? * +##-------------------------------###cti data sync Scheduler configurations------------------------------------------------------ + +start-ctidatasync-scheduler=false +cron-scheduler-ctidatasync=0 00 01 * * ? * +##---------------------------------#### 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 in every 2 hrs +start-nhmdashboard-scheduler=true +cron-scheduler-nhmdashboard=0 0/1 * * * ? * + + +## how much old data it should fetch +## n day / n hour // n min +get-agent-summary-report-job=2 hour +## n day / n hour // n min +get-details-call-report-job=2 hour +##-------------------------------------------------### 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 + +server.port=8085 + + + From af5ed00ae0aef228ed6ae6bfc4ec906106da3379 Mon Sep 17 00:00:00 2001 From: Karyamsetty Helen Grace Date: Mon, 10 Jul 2023 14:54:34 +0530 Subject: [PATCH 3/3] removed properties --- src/main/resources/application.properties | 106 ---------------------- 1 file changed, 106 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 5732d22e..ace7266c 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -227,109 +227,3 @@ failedLoginAttempt=5 # always press enter after last line - -# Test env -# DB Connections -spring.jpa.database=default - -##--------------------------------------------## Primary db------------------------------------------------------------------- - - -encDbUserName=piramaldev -encDbPass=Piramal@2017 -spring.datasource.url=jdbc:mysql://10.208.122.38:3306/db_iemr?autoReconnect=true&useSSL=false -spring.datasource.driver-class-name=com.mysql.jdbc.Driver - - - -encDbUserNameSec=piramaldev -encDbPassSec=Piramal@2017 -secondary.datasource.url=jdbc:mysql://10.208.122.38:3306/db_reporting?autoReconnect=true&useSSL=false -secondary.datasource.driver-class-name=com.mysql.jdbc.Driver -##-------------------------------------------------------------# KM config-------------------------------------------------- - -km-base-url=http://10.208.122.38:8084/OpenKM -km-base-path=10.208.122.38:8084/OpenKM -##----------------------------------------------# CTI Config----------------------------------------------------------------- - -cti-server-ip=10.208.122.99 -cti-logger_base_url=http://10.208.122.99/logger -##-------------------------------------------------#### Identity Config-------------------------------------------------------------- - -identity-api-url=http://10.208.122.38:8080/identity-0.0.1 -identity-1097-api-url=http://10.208.122.38:8080/1097identityapi-v1.0 - -### generate Beneficiary Config -genben-api=http://10.208.122.38:8080/bengenapi-v1.0 - -##---------------------------------------------#### SMS Configuration------------------------------------------------------------------ - -send-sms=false - -###SMS Scheduler configurations -start-sms-scheduler=false -cron-scheduler-sms=0 0/1 * * * ? * -##----------------------------------------------#### Email Configuration----------------------------------------------------------------- - -send-email=false - -###Email Scheduler configurations -start-email-scheduler=false -cron-scheduler-email=0 0/1 * * * ? * -##-------------------------------###cti data sync Scheduler configurations------------------------------------------------------ - -start-ctidatasync-scheduler=false -cron-scheduler-ctidatasync=0 00 01 * * ? * -##---------------------------------#### 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 in every 2 hrs -start-nhmdashboard-scheduler=true -cron-scheduler-nhmdashboard=0 0/1 * * * ? * - - -## how much old data it should fetch -## n day / n hour // n min -get-agent-summary-report-job=2 hour -## n day / n hour // n min -get-details-call-report-job=2 hour -##-------------------------------------------------### 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 - -server.port=8085 - - -