diff options
author | Ramesh Parthasarathy <rp6768@att.com> | 2018-10-04 21:14:16 +0000 |
---|---|---|
committer | Ramesh Parthasarathy <rp6768@att.com> | 2018-10-04 21:28:20 +0000 |
commit | 8ff2d582fc47e15b408f0d84240891688089ab19 (patch) | |
tree | 3576a3c4b3a444b4b28b9a356692d3c4f06d890d /kubernetes/so/charts/so-request-db-adapter/resources | |
parent | 14ae546169f810b905e2a0d5279504217c0d37aa (diff) |
SO create service instance fails
All the override files are updated to be in sync with so docker config repository
and address the issue raised.
Change-Id: Iee2badf00dbf57b68871505370d070a2450d3d0b
Issue-ID: SO-1105
Signed-off-by: Ramesh Parthasarathy(rp6768)<rp6768@att.com>
Diffstat (limited to 'kubernetes/so/charts/so-request-db-adapter/resources')
-rwxr-xr-x | kubernetes/so/charts/so-request-db-adapter/resources/config/overrides/override.yaml | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/kubernetes/so/charts/so-request-db-adapter/resources/config/overrides/override.yaml b/kubernetes/so/charts/so-request-db-adapter/resources/config/overrides/override.yaml index f995d94b3a..49ccdeb097 100755 --- a/kubernetes/so/charts/so-request-db-adapter/resources/config/overrides/override.yaml +++ b/kubernetes/so/charts/so-request-db-adapter/resources/config/overrides/override.yaml @@ -22,9 +22,29 @@ mso: site-name: localSite adapters: requestDb: - auth: Basic YnBlbDptc28tZGItMTUwNyE= + auth: Basic YnBlbDpwYXNzd29yZDEk endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083 spring: + datasource: + url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb + 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: - @@ -38,3 +58,8 @@ spring: #Actuator management: context-path: /manage +flyway: + baseline-on-migrate: true + url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb + user: ${DB_ADMIN_USERNAME} + password: ${DB_ADMIN_PASSWORD} |