summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/main/resources/dblib.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/dblib.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/dblib.properties')
-rw-r--r--ms/generic-resource-api/src/main/resources/dblib.properties8
1 files changed, 4 insertions, 4 deletions
diff --git a/ms/generic-resource-api/src/main/resources/dblib.properties b/ms/generic-resource-api/src/main/resources/dblib.properties
index d5e5286..568a9c4 100644
--- a/ms/generic-resource-api/src/main/resources/dblib.properties
+++ b/ms/generic-resource-api/src/main/resources/dblib.properties
@@ -23,11 +23,11 @@
org.onap.ccsdk.sli.dbtype=jdbc
org.onap.ccsdk.sli.jdbc.hosts=dbhost
-org.onap.ccsdk.sli.jdbc.url=jdbc:mysql://dbhost:3306/gradb
+org.onap.ccsdk.sli.jdbc.url=jdbc:mysql://dbhost:3306/${MYSQL_DATABASE}
org.onap.ccsdk.sli.jdbc.driver=org.mariadb.jdbc.Driver
-org.onap.ccsdk.sli.jdbc.database=gradb
-org.onap.ccsdk.sli.jdbc.user=gra
-org.onap.ccsdk.sli.jdbc.password=test123
+org.onap.ccsdk.sli.jdbc.database=${MYSQL_DATABASE}
+org.onap.ccsdk.sli.jdbc.user=${MYSQL_USER}
+org.onap.ccsdk.sli.jdbc.password=${MYSQL_PASSWORD}
org.onap.ccsdk.sli.jdbc.connection.name=dbhost
org.onap.ccsdk.sli.jdbc.connection.timeout=50
org.onap.ccsdk.sli.jdbc.request.timeout=100