From 2a7bb08314a14ff862fea301cbcc408a6c108188 Mon Sep 17 00:00:00 2001 From: jvk Date: Tue, 2 Apr 2024 15:18:15 +0200 Subject: [PATCH] MAJ suppression des variables de connection postgresql inutiles --- README-developpement.md | 4 ---- src/main/resources/application-dev.properties | 8 +------- src/main/resources/application-prod.properties | 8 +------- src/main/resources/application-test.properties | 8 +------- 4 files changed, 3 insertions(+), 25 deletions(-) diff --git a/README-developpement.md b/README-developpement.md index e7e5ddd..c8152ab 100644 --- a/README-developpement.md +++ b/README-developpement.md @@ -46,10 +46,6 @@ Dans le fichier `application.properties` : Dans les fichiers `application-localhost.properties`, `application-dev.properties`, `application-test.properties` et `application-prod.properties` ```yaml # Base Postgres -spring.datasource.logsdb.driver-class-name=org.postgresql.Driver -spring.datasource.logsdb.jdbcurl= -spring.datasource.logsdb.username= -spring.datasource.logsdb.password= spring.jpa.logsdb.database-platform=org.hibernate.dialect.PostgreSQLDialect spring.jpa.logsdb.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index 26c8d3a..051c0ff 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -1,12 +1,6 @@ # Consumer properties spring.kafka.consumer.bootstrap-servers= -# Base Postgres -spring.datasource.logsdb.driver-class-name=org.postgresql.Driver -spring.datasource.logsdb.jdbcurl= -spring.datasource.logsdb.username= -spring.datasource.logsdb.password= - spring.jpa.logsdb.database-platform=org.hibernate.dialect.PostgreSQLDialect spring.jpa.logsdb.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.logsdb.generate-ddl=true @@ -22,4 +16,4 @@ topic.groupid.source=logskbartConsumer # Mailing mail.ws.url= -mail.ws.recipient= +mail.ws.recipient= \ No newline at end of file diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 98366e5..8bc28d3 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -1,12 +1,6 @@ # Consumer properties spring.kafka.consumer.bootstrap-servers= -# Base Postgres -spring.datasource.logsdb.driver-class-name=org.postgresql.Driver -spring.datasource.logsdb.jdbcurl= -spring.datasource.logsdb.username= -spring.datasource.logsdb.password= - spring.jpa.logsdb.database-platform=org.hibernate.dialect.PostgreSQLDialect spring.jpa.logsdb.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.logsdb.generate-ddl=true @@ -23,4 +17,4 @@ topic.groupid.source=logskbartConsumer # Mailing mail.ws.url= -mail.ws.recipient= +mail.ws.recipient= \ No newline at end of file diff --git a/src/main/resources/application-test.properties b/src/main/resources/application-test.properties index 3e9d196..e328b27 100644 --- a/src/main/resources/application-test.properties +++ b/src/main/resources/application-test.properties @@ -1,12 +1,6 @@ # Consumer properties spring.kafka.consumer.bootstrap-servers= -# Base Postgres -spring.datasource.logsdb.driver-class-name=org.postgresql.Driver -spring.datasource.logsdb.jdbcurl= -spring.datasource.logsdb.username= -spring.datasource.logsdb.password= - spring.jpa.logsdb.database-platform=org.hibernate.dialect.PostgreSQLDialect spring.jpa.logsdb.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.logsdb.generate-ddl=true @@ -22,4 +16,4 @@ topic.groupid.source=logskbartConsumer # Mailing mail.ws.url= -mail.ws.recipient= +mail.ws.recipient= \ No newline at end of file