From 8ff2d582fc47e15b408f0d84240891688089ab19 Mon Sep 17 00:00:00 2001 From: Ramesh Parthasarathy Date: Thu, 4 Oct 2018 21:14:16 +0000 Subject: 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) --- .../resources/config/overrides/override.yaml | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'kubernetes/so/charts/so-catalog-db-adapter/resources/config') 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} -- cgit 1.2.3-korg