summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/main/resources
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-12-03 15:31:57 -0500
committerDan Timoney <dtimoney@att.com>2020-12-03 15:31:57 -0500
commit721d88fe8742498ff82139b6163382e3ff814c0e (patch)
tree2a3b5eabe805b4a5360791e706cd2b0f1cb7db10 /ms/generic-resource-api/src/main/resources
parent7e70034065ade4c6526dfd5d8b1f042ae3fb37a8 (diff)
Fixes for network-topology-operation
Added test script and implemented missing preload query needed to support network-topology-operation RPC. Change-Id: I4bf12882d4d3535c3627dcde8162d83b41a18263 Issue-ID: SDNC-1428 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/generic-resource-api/src/main/resources')
-rw-r--r--ms/generic-resource-api/src/main/resources/startGra.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ms/generic-resource-api/src/main/resources/startGra.sh b/ms/generic-resource-api/src/main/resources/startGra.sh
index cdf1566..c35d63f 100644
--- a/ms/generic-resource-api/src/main/resources/startGra.sh
+++ b/ms/generic-resource-api/src/main/resources/startGra.sh
@@ -56,13 +56,13 @@ echo -e "\nDatabase ready"
# Initialize schema
if [ -f ${SDNC_CONFIG_DIR}/schema-mysql.sql ]
then
- mysql -h ${MYSQL_DB_HOST} -u ${MYSQL_USER} -p${MYSQL_PASSWD} ${MYSQL_DATABASE} < ${SDNC_CONFIG_DIR}/schema-mysql.sql
+ mysql -h ${MYSQL_DB_HOST} -u ${MYSQL_USER} -p${MYSQL_PASSWORD} ${MYSQL_DATABASE} < ${SDNC_CONFIG_DIR}/schema-mysql.sql
fi
# Load data
if [ -f ${SDNC_CONFIG_DIR}/data-mysql.sql ]
then
- mysql -h ${MYSQL_HOST} -u ${MYSQL_USER} -p${MYSQL_PASSWORD} ${MYSQL_DATABASE} < ${SDNC_CONFIG_DIR}/data-mysql.sql
+ mysql -h ${MYSQL_DB_HOST} -u ${MYSQL_USER} -p${MYSQL_PASSWORD} ${MYSQL_DATABASE} < ${SDNC_CONFIG_DIR}/data-mysql.sql
fi
if [ ! -f ${SDNC_CERT_DIR}/${TRUSTSTORE} ]; then