-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the database user and its password in application configuration.
The change is done in order to spot possible database permission issues. Also, remove defaulting to Hasura user in Docker setup. Continue to use the Hasura user for integration tests, as Data-Inserter needs permissions to execute TRUNCATE commands on the database. Resolves HSLdevcom/jore4#1551
- Loading branch information
Showing
5 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
# Datasource settings of the Jore 4 development database | ||
# Database settings for the Jore 4 development database | ||
jore4.db.driver=org.postgresql.Driver | ||
jore4.db.url=jdbc:postgresql://localhost:6432/timetablesdb?stringtype=unspecified | ||
jore4.db.username=dbhasura | ||
jore4.db.password=hasurapassword | ||
jore4.db.username=dbtimetablesapi | ||
jore4.db.password=timetablesapipassword | ||
jore4.db.min.connections=0 | ||
jore4.db.max.connections=5 | ||
|
||
# Database settings for the integration test database | ||
jore4.test.db.driver=org.postgresql.Driver | ||
jore4.test.db.url=jdbc:postgresql://localhost:6432/timetablesdb?stringtype=unspecified | ||
jore4.test.db.username=dbhasura | ||
jore4.test.db.password=hasurapassword | ||
jore4.test.db.min.connections=0 | ||
jore4.test.db.max.connections=5 | ||
|
||
# jOOQ code generation configuration | ||
jooq.generator.db.dialect=org.jooq.meta.postgres.PostgresDatabase | ||
jooq.sql.dialect=POSTGRES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ [email protected]@ | |
jore4.db.password[email protected]@ | ||
jore4.db.minConnections[email protected]@ | ||
jore4.db.maxConnections[email protected]@ | ||
|
||
jooq.sql.dialect[email protected]@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
jore4.db.driver[email protected]@ | ||
jore4.db.url[email protected]@ | ||
jore4.db.username[email protected]@ | ||
jore4.db.password[email protected]@ | ||
jore4.db.minConnections[email protected]@ | ||
jore4.db.maxConnections[email protected]@ | ||
|
||
jooq.sql.dialect[email protected]@ |