diff options
author | Steve Smokowski <ss835w@att.com> | 2019-06-18 15:26:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-06-18 15:26:10 +0000 |
commit | 7c69f07593a8c7474bd7a69a65979dc0635f1526 (patch) | |
tree | 79ce2336642ada485244a830a5c79011eac54617 /mso-api-handlers/mso-api-handler-infra/src/main/resources | |
parent | 703517112032025146a968db5c830c7389f5166f (diff) | |
parent | 1a592b9e45f95d694fbf649f41304f148e3c40fe (diff) |
Merge "Changes related to eviction of connections"
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/resources')
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/main/resources/application.yaml | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/resources/application.yaml b/mso-api-handlers/mso-api-handler-infra/src/main/resources/application.yaml index 03934edf20..136acfb9e1 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/resources/application.yaml +++ b/mso-api-handlers/mso-api-handler-infra/src/main/resources/application.yaml @@ -29,10 +29,13 @@ mso: spring: datasource: - jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb - username: ${DB_USERNAME} - password: ${DB_PASSWORD} - driver-class-name: org.mariadb.jdbc.Driver + 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 jpa: show-sql: true hibernate: @@ -45,11 +48,13 @@ spring: request: datasource: - jdbcUrl: 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 #Actuator management: endpoints: |