From 061a59234da5c75758f357a64a95a53ec37f72b0 Mon Sep 17 00:00:00 2001 From: John-Wiens Date: Mon, 23 Sep 2024 15:38:54 -0600 Subject: [PATCH] Adding Updates to application.properties config --- .../src/main/resources/application.properties | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api/jpo-conflictvisualizer-api/src/main/resources/application.properties b/api/jpo-conflictvisualizer-api/src/main/resources/application.properties index 9126c44d..05ed5c85 100644 --- a/api/jpo-conflictvisualizer-api/src/main/resources/application.properties +++ b/api/jpo-conflictvisualizer-api/src/main/resources/application.properties @@ -14,10 +14,11 @@ mongoTimeoutMs = ${CM_MONGO_TIMEOUT_MS:5000} #Postgres Configuration spring.datasource.url=${POSTGRES_SERVER_URL:jdbc:postgresql://localhost:5432}/postgres -spring.datasource.username=${PG_DB_USER:admin} +spring.datasource.username=${PG_DB_USER:postgres} spring.datasource.password=${PG_DB_PASS:admin} +spring.datasource.driver-class-name: org.postgresql.Driver spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect -spring.jpa.hibernate.ddl-auto = update +# spring.jpa.hibernate.ddl-auto = update cmServerURL = ${CM_SERVER_URL:http://localhost:8082} @@ -32,7 +33,7 @@ logging.level.org.keycloak=INFO load=false -enableOrganizationIntersectionChecking=${ENABLE_ORGANIZATION_INTERSECTION_CHECKING:false} +enableOrganizationIntersectionChecking=${ENABLE_ORGANIZATION_INTERSECTION_CHECKING:true} server.compression.enabled=true server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css