aboutsummaryrefslogtreecommitdiffstats
path: root/dgbuilder/red
diff options
context:
space:
mode:
authorMarcus G K Williams <marcus.williams@intel.com>2017-09-28 14:56:12 -0700
committerMarcus G K Williams <marcus.williams@intel.com>2017-10-04 10:23:30 -0700
commita3d1f087bedc18368de3cfa17ce72a97a9d521b0 (patch)
tree06a6e02e277aeb2b6fb122f8c1ce7eff6fc7b7e0 /dgbuilder/red
parentc7e9728a0e11599ddd62c3ba4eb441fac25a008d (diff)
Fix dgbuilder mysql upload
Since code moved from sdnc to ccsdk dgbuilder has not been able to upload or activate directed graphs to test them in containers for development purposes. This patch updates parts of dgbuilder that pointed to sdnc. Issue-Id: SDNC-92 Change-Id: I8021312df8c97673ed71232783183e92a06b7bd3 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 4783e789681d753fc27e5ada1a6b17cc7d7df084
Diffstat (limited to 'dgbuilder/red')
-rw-r--r--dgbuilder/red/server.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/dgbuilder/red/server.js b/dgbuilder/red/server.js
index a5eb922d..91bee453 100644
--- a/dgbuilder/red/server.js
+++ b/dgbuilder/red/server.js
@@ -950,11 +950,11 @@ function createServer(_server,_settings) {
//console.log("settingsStr:" + settingsStr);
fs.writeFileSync(settingsFile,settingsStr);
var svcLogicPropStr = "" ;
- svcLogicPropStr += "org.openecomp.sdnc.sli.dbtype=jdbc" + "\n";
- svcLogicPropStr += "org.openecomp.sdnc.sli.jdbc.url=jdbc:mysql://" + dbHost + ":" + dbPort + "/" + dbName + "\n";
- svcLogicPropStr += "org.openecomp.sdnc.sli.jdbc.database=" + dbName + "\n";
- svcLogicPropStr += "org.openecomp.sdnc.sli.jdbc.user=" + dbUser + "\n";
- svcLogicPropStr += "org.openecomp.sdnc.sli.jdbc.password=" + dbPassword;
+ svcLogicPropStr += "org.onap.ccsdk.sli.dbtype=jdbc" + "\n";
+ svcLogicPropStr += "org.onap.ccsdk.sli.jdbc.url=jdbc:mysql://" + dbHost + ":" + dbPort + "/" + dbName + "\n";
+ svcLogicPropStr += "org.onap.ccsdk.sli.jdbc.database=" + dbName + "\n";
+ svcLogicPropStr += "org.onap.ccsdk.sli.jdbc.user=" + dbUser + "\n";
+ svcLogicPropStr += "org.onap.ccsdk.sli.jdbc.password=" + dbPassword;
//create svclogic.properties file in the conf dir
var svcPropFile = userDir + "/conf/svclogic.properties";