aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/installer/src/main/scripts
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2018-04-26 16:08:16 -0700
committerPatrick Brady <pb071s@att.com>2018-04-26 16:08:27 -0700
commitb777c1a042ae8529b02fdb6394d271f6f24ce98c (patch)
treebb2641c25108f26f6078531245f2a009290f5a5f /platform-logic/installer/src/main/scripts
parent01e568d1057eeaa952fad7ea8534baf59ca5990c (diff)
Move to new xml dg loader
Made it so the xml dgs will load using the same loader as the json dgs currently use. Added the Generic_Restart to the activate list Change-Id: I26286238a6322f5f391ab44f26816f90ad71df56 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-863
Diffstat (limited to 'platform-logic/installer/src/main/scripts')
-rw-r--r--platform-logic/installer/src/main/scripts/install-converted-dgs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform-logic/installer/src/main/scripts/install-converted-dgs.sh b/platform-logic/installer/src/main/scripts/install-converted-dgs.sh
index 13e05b5..34c313c 100644
--- a/platform-logic/installer/src/main/scripts/install-converted-dgs.sh
+++ b/platform-logic/installer/src/main/scripts/install-converted-dgs.sh
@@ -49,6 +49,9 @@ mkdir -p ${DG_JSON_DIR}/converted-xml
# Generate XML DGs from JSON DGs
$JAVA_HOME/bin/java -cp ${DG_LOADER} org.onap.sdnc.dg.loader.DGXMLGenerator ${DG_JSON_DIR} ${DG_JSON_DIR}/converted-xml
+#Load legacy xml DGs to the SVC_LOGIC DB in the MySQL Docker Container
+$JAVA_HOME/bin/java -cp ${DG_LOADER} org.onap.sdnc.dg.loader.DGXMLLoad ${SVCLOGIC_DIR}/graphs/appc ${APPC_HOME}/data/properties/dblib.properties
+
# Load converted XML DGs to the SVC_LOGIC DB in the MySQL Docker Container
$JAVA_HOME/bin/java -cp ${DG_LOADER} org.onap.sdnc.dg.loader.DGXMLLoad ${DG_JSON_DIR}/converted-xml ${APPC_HOME}/data/properties/dblib.properties