Skip to content

Commit

Permalink
FIX : restore logsdb variables & suppress inspection "SpringBootAppli…
Browse files Browse the repository at this point in the history
…cationProperties" in properties files
  • Loading branch information
jvk committed Apr 3, 2024
1 parent 2a7bb08 commit 71779e9
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README-developpement.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ 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
Expand Down
10 changes: 10 additions & 0 deletions src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Consumer properties
spring.kafka.consumer.bootstrap-servers=

# Properties defined from .env on server
# suppress inspection "SpringBootApplicationProperties"
spring.datasource.logsdb.driver-class-name=org.postgresql.Driver
# suppress inspection "SpringBootApplicationProperties"
spring.datasource.logsdb.jdbcurl=
# suppress inspection "SpringBootApplicationProperties"
spring.datasource.logsdb.username=
# suppress inspection "SpringBootApplicationProperties"
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
Expand Down
12 changes: 12 additions & 0 deletions src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Consumer properties
spring.kafka.consumer.bootstrap-servers=

# Base Postgres

# Properties defined from .env on server
# suppress inspection "SpringBootApplicationProperties"
spring.datasource.logsdb.driver-class-name=org.postgresql.Driver
# suppress inspection "SpringBootApplicationProperties"
spring.datasource.logsdb.jdbcurl=
# suppress inspection "SpringBootApplicationProperties"
spring.datasource.logsdb.username=
# suppress inspection "SpringBootApplicationProperties"
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
Expand Down
10 changes: 10 additions & 0 deletions src/main/resources/application-test.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Consumer properties
spring.kafka.consumer.bootstrap-servers=

# Properties defined from .env on server
# suppress inspection "SpringBootApplicationProperties"
spring.datasource.logsdb.driver-class-name=org.postgresql.Driver
# suppress inspection "SpringBootApplicationProperties"
spring.datasource.logsdb.jdbcurl=
# suppress inspection "SpringBootApplicationProperties"
spring.datasource.logsdb.username=
# suppress inspection "SpringBootApplicationProperties"
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
Expand Down

0 comments on commit 71779e9

Please sign in to comment.