diff options
author | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-10-05 14:25:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-05 14:25:17 +0000 |
commit | f4c3cfe8598883002e9998766446e23b21ae16a5 (patch) | |
tree | e314702797e81dcb55f1c9deef584a6c103367b6 /kubernetes/so/charts/so-catalog-db-adapter/resources/config | |
parent | a38cbc1b4f424356bdb110808a6c5bb51d1b1679 (diff) | |
parent | 8ff2d582fc47e15b408f0d84240891688089ab19 (diff) |
Merge "SO create service instance fails"
Diffstat (limited to 'kubernetes/so/charts/so-catalog-db-adapter/resources/config')
-rwxr-xr-x | kubernetes/so/charts/so-catalog-db-adapter/resources/config/overrides/override.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/kubernetes/so/charts/so-catalog-db-adapter/resources/config/overrides/override.yaml b/kubernetes/so/charts/so-catalog-db-adapter/resources/config/overrides/override.yaml index bdf82b6fbd..601cd49eae 100755 --- a/kubernetes/so/charts/so-catalog-db-adapter/resources/config/overrides/override.yaml +++ b/kubernetes/so/charts/so-catalog-db-adapter/resources/config/overrides/override.yaml @@ -26,6 +26,26 @@ mso: db: auth: Basic YnBlbDpwYXNzd29yZDEk spring: + datasource: + url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb + username: ${DB_USERNAME} + password: ${DB_PASSWORD} + driver-class-name: org.mariadb.jdbc.Driver + initialize: false + initialization-mode: never + dbcp2: + initial-size: 5 + max-total: 20 + validation-query: select 1 + test-on-borrow: true + jpa: + generate-ddl: false + show-sql: false + hibernate: + ddl-auto: validate + naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy + enable-lazy-load-no-trans: true + database-platform: org.hibernate.dialect.MySQL5InnoDBDialect security: usercredentials: - @@ -39,3 +59,8 @@ spring: #Actuator management: context-path: /manage +flyway: + baseline-on-migrate: true + url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb + username: ${DB_USERNAME} + password: ${DB_PASSWORD} |