diff options
Diffstat (limited to 'adapters/mso-requests-db-adapter')
-rw-r--r-- | adapters/mso-requests-db-adapter/src/main/resources/application.yaml | 10 | ||||
-rw-r--r-- | adapters/mso-requests-db-adapter/src/test/resources/application-test.yaml | 14 |
2 files changed, 11 insertions, 13 deletions
diff --git a/adapters/mso-requests-db-adapter/src/main/resources/application.yaml b/adapters/mso-requests-db-adapter/src/main/resources/application.yaml index 9429592670..5a0ef6df74 100644 --- a/adapters/mso-requests-db-adapter/src/main/resources/application.yaml +++ b/adapters/mso-requests-db-adapter/src/main/resources/application.yaml @@ -22,6 +22,11 @@ spring: username: ${DB_USERNAME} password: ${DB_PASSWORD} driver-class-name: org.mariadb.jdbc.Driver + flyway: + baseline-on-migrate: false + url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb + user: ${DB_ADMIN_USERNAME} + password: ${DB_ADMIN_PASSWORD} jpa: show-sql: false hibernate: @@ -39,11 +44,6 @@ spring: username: mso_admin password: '$2a$12$tidKuu.h88E2nuL95pTVY.ZOYMN/1dp29A9b1o.0GFDsVVSYlMkHa' role: ACTUATOR -flyway: - baseline-on-migrate: false - url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb - user: ${DB_ADMIN_USERNAME} - password: ${DB_ADMIN_PASSWORD} #Actuator management: diff --git a/adapters/mso-requests-db-adapter/src/test/resources/application-test.yaml b/adapters/mso-requests-db-adapter/src/test/resources/application-test.yaml index db9885285e..94a132664e 100644 --- a/adapters/mso-requests-db-adapter/src/test/resources/application-test.yaml +++ b/adapters/mso-requests-db-adapter/src/test/resources/application-test.yaml @@ -25,6 +25,11 @@ spring: driver-class-name: org.mariadb.jdbc.Driver
initialize: true
initialization-mode: never
+ flyway:
+ baseline-on-migrate: false
+ url: jdbc:mariadb://localhost:3307/requestdb
+ user: root
+ password: password
jpa:
generate-ddl: false
show-sql: false
@@ -60,11 +65,4 @@ management: export:
prometheus:
enabled: true # Whether exporting of metrics to Prometheus is enabled.
- step: 1m # Step size (i.e. reporting frequency) to use.
-
-
-flyway:
- baseline-on-migrate: false
- url: jdbc:mariadb://localhost:3307/requestdb
- user: root
- password: password
+ step: 1m # Step size (i.e. reporting frequency) to use.
\ No newline at end of file |