Skip to content

Commit

Permalink
avniproject/avni-webapp#1133 | Cherry pick into 9.0 from master
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshr authored and shraddha761 committed Jul 3, 2024
1 parent 9a62d8c commit 6d33f25
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions avni-server-api/src/test/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
# Application
debug=false
avni.defaultUserName=${OPENCHS_USER_NAME:admin}
spring.servlet.multipart.max-file-size=10028KB
spring.servlet.multipart.max-request-size=10028KB

spring.datasource.url=${OPENCHS_DATABASE_URL:jdbc:postgresql://localhost:5432/openchs_test}
spring.datasource.username=openchs
spring.datasource.password=password
Expand All @@ -14,9 +9,6 @@ spring.datasource.tomcat.validationQuery=SELECT 1
spring.datasource.tomcat.jdbc-interceptors=org.avni.server.framework.tomcat.SetOrganisationJdbcInterceptor
spring.flyway.schemas=public
spring.flyway.baseline-on-migrate=false



# JPA, Hibernate and Spring Data
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=none
Expand All @@ -39,9 +31,8 @@ avni.longitudinal.export.v2.limit=${AVNI_LONGITUDINAL_EXPORT_V2_LIMIT:10000}
avni.legacy.longitudinal.export.limit=${AVNI_LEGACY_LONGITUDINAL_EXPORT_LIMIT:10000}
cognito.clientid=dummy
cognito.poolid=dummy
cognito.region=${OPENCHS_AWS_REGION:ap-south-1}
avni.defaultUserName=admin
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true

#Bugsnag
avni.bugsnag.apiKey=${OPENCHS_SERVER_BUGSNAG_API_KEY:dummy}
avni.bugsnag.releaseStage=${OPENCHS_BUGSNAG_RELEASE_STAGE:development}
Expand All @@ -50,6 +41,7 @@ aws.accessKeyId=${OPENCHS_IAM_USER_ACCESS_KEY:dummy}
aws.secretAccessKey=${OPENCHS_IAM_USER_SECRET_ACCESS_KEY:dummy}
avni.bucketName=${OPENCHS_BUCKET_NAME:dev-user-media}
avni.connectToS3InDev=${OPENCHS_S3_IN_DEV:false}
avni.userPhoneNumberPattern=^\\+91[0-9]{10}

static.path=${OPENCHS_STATIC_PATH:/opt/openchs/static/}
analytics.path=${OPENCHS_ANALYTICS_PATH:/opt/openchs/analytics/}
Expand Down

0 comments on commit 6d33f25

Please sign in to comment.