summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/charts/so-catalog-db-adapter
diff options
context:
space:
mode:
authorRamesh Parthasarathy <rp6768@att.com>2018-10-04 21:14:16 +0000
committerRamesh Parthasarathy <rp6768@att.com>2018-10-04 21:28:20 +0000
commit8ff2d582fc47e15b408f0d84240891688089ab19 (patch)
tree3576a3c4b3a444b4b28b9a356692d3c4f06d890d /kubernetes/so/charts/so-catalog-db-adapter
parent14ae546169f810b905e2a0d5279504217c0d37aa (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-catalog-db-adapter')
-rwxr-xr-xkubernetes/so/charts/so-catalog-db-adapter/resources/config/overrides/override.yaml25
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}