summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/main/resources/application.properties
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-02-16 17:10:36 -0500
committerDan Timoney <dtimoney@att.com>2021-02-17 09:54:53 -0500
commit0acd15c5231c03ffed3743f4028214e3c71c11a3 (patch)
treebb195497ddb6bbedb69c1c069ada1d2160104d62 /ms/generic-resource-api/src/main/resources/application.properties
parentbd7b33d74173c4372f5184ffb9c734f7148aee3f (diff)
Redesign GRA database tables to support parallel updates
Added new classes to support new tables for networks, vnfs, and vf-modules to allow parallel updates to different parts of the same service instance. Also, changed database initialization to use liquibase to create database tables. Change-Id: I53be2d7dc6a2bcdcc29300b95ba0c906e90d3238 Issue-ID: SDNC-1481 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, 1 insertions, 2 deletions
diff --git a/ms/generic-resource-api/src/main/resources/application.properties b/ms/generic-resource-api/src/main/resources/application.properties
index ac6ae39..2be250b 100644
--- a/ms/generic-resource-api/src/main/resources/application.properties
+++ b/ms/generic-resource-api/src/main/resources/application.properties
@@ -16,8 +16,7 @@ spring.datasource.platform=mysql
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.properties.hibernate.default_schema=${MYSQL_DATABASE}
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
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl