summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/resources
diff options
context:
space:
mode:
authorsarada prasad sahoo <sarada.prasad.sahoo@huawei.com>2019-07-10 14:40:12 +0530
committerSeshu Kumar M <seshu.kumar.m@huawei.com>2019-08-23 07:04:43 +0000
commitae2c734b1d2c39a3221c455706c58ea0752ae0c4 (patch)
tree1b70d3d9edfd5c1e39a42cc499ab6d643bafab2d /kubernetes/so/resources
parent72f26af12c2128ee03e80ba9178ecac0ea0a44b4 (diff)
SO datasource config update
SO datasource config update as per new Hikari library changes in SO Issue-ID: OOM-1970 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com> Change-Id: I84ca506936c332775fd20f604e6f553f94a4dc74 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
Diffstat (limited to 'kubernetes/so/resources')
-rwxr-xr-xkubernetes/so/resources/config/overrides/override.yaml19
1 files changed, 15 insertions, 4 deletions
diff --git a/kubernetes/so/resources/config/overrides/override.yaml b/kubernetes/so/resources/config/overrides/override.yaml
index 55f767202e..1aeb50dd23 100755
--- a/kubernetes/so/resources/config/overrides/override.yaml
+++ b/kubernetes/so/resources/config/overrides/override.yaml
@@ -69,6 +69,14 @@ mso:
uri: http://so-catalog-db-adapter:8082
spring:
+ datasource:
+ hikari:
+ jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
+ username: ${DB_USERNAME}
+ password: ${DB_PASSWORD}
+ driver-class-name: org.mariadb.jdbc.Driver
+ pool-name: catdb-pool
+ registerMbeans: true
jersey:
type: filter
security:
@@ -99,10 +107,13 @@ spring:
role: ACTUATOR
request:
datasource:
- jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
- username: ${DB_USERNAME}
- password: ${DB_PASSWORD}
- driver-class-name: org.mariadb.jdbc.Driver
+ hikari:
+ jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
+ username: ${DB_USERNAME}
+ password: ${DB_PASSWORD}
+ driver-class-name: org.mariadb.jdbc.Driver
+ pool-name: reqdb-pool
+ registerMbeans: true
org:
onap:
so: