summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/main/resources/application.properties
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-08-05 17:43:36 -0400
committerDan Timoney <dtimoney@att.com>2020-08-07 13:56:30 -0400
commit59be7ffb51674ef1c58b83c80214ef417bc211f3 (patch)
tree0eb4a4f89b69c1ae9340b334a563d0ab224a3faf /ms/generic-resource-api/src/main/resources/application.properties
parentd998254cf8b8888b85cca8f59f9efeed5a55f053 (diff)
Fix docker-compose test issues
Fix issues running service-topology-operation via docker-compose Issue-ID: SDNC-1310 Change-Id: I5c30c7a07f6baf9f2560b4dc405999abeb0441cf Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/generic-resource-api/src/main/resources/application.properties')
-rw-r--r--ms/generic-resource-api/src/main/resources/application.properties3
1 files changed, 3 insertions, 0 deletions
diff --git a/ms/generic-resource-api/src/main/resources/application.properties b/ms/generic-resource-api/src/main/resources/application.properties
index ac4ed2f..db03246 100644
--- a/ms/generic-resource-api/src/main/resources/application.properties
+++ b/ms/generic-resource-api/src/main/resources/application.properties
@@ -6,6 +6,8 @@ spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false
logging.level.com.att=TRACE
logging.level.org.onap=TRACE
spring.datasource.url=jdbc:mariadb://${MYSQL_DB_HOST}:3306/sdnctl
+spring.datasource.hikari.data-source-properties.useUnicode=true
+spring.datasource.hikari.data-source-properties.characterEncoding=UTF-8
spring.datasource.username=sdnc
spring.datasource.password=abc123
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
@@ -13,6 +15,7 @@ spring.datasource.platform=mariadb
spring.datasource.testWhileIdle=true
spring.datasource.validationQuery=SELECT 1
spring.jpa.show-sql=true
+spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl
# spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy