summaryrefslogtreecommitdiffstats
path: root/dgbuilder/nodes/dge
diff options
context:
space:
mode:
authorChinthakayala,Sheshashailavas(sc2914) <sc2914@att.com>2018-04-10 18:17:44 +0000
committerChinthakayala,Sheshashailavas(sc2914) <sc2914@att.com>2018-04-10 18:23:06 +0000
commit19b75a8b179af090ed4d275a4c85515148c1f890 (patch)
tree19ee6ec6460e529ba4d5737d237f88e499b5ed7f /dgbuilder/nodes/dge
parentd200fedd1fa5513574aec2d0ee9b0d4dbc6f7cff (diff)
changed the text to look for on success upload
changed to look for the text Saving SvcLogicGraph on successfull upload Change-Id: Ic672d67e754f4e4566515963506ee00f8991fc04 Issue-ID: CCSDK-238 Signed-off-by: Chinthakayala,Sheshashailavas(sc2914) <sc2914@att.com>
Diffstat (limited to 'dgbuilder/nodes/dge')
-rw-r--r--dgbuilder/nodes/dge/dgemain/dgstart.html2
-rw-r--r--dgbuilder/nodes/dge/dgemain/dgstart.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/dgbuilder/nodes/dge/dgemain/dgstart.html b/dgbuilder/nodes/dge/dgemain/dgstart.html
index 9caa841a..a203a444 100644
--- a/dgbuilder/nodes/dge/dgemain/dgstart.html
+++ b/dgbuilder/nodes/dge/dgemain/dgstart.html
@@ -989,7 +989,7 @@ function showDgStartGenerateXmlStatus(){
console.log("calling uploadxml. sending to server");
//var successHtmlStr = "<object width='600' height='450' type='text/html' data='" + data.url + "' />";
- if( data != undefined && data != null && (data.stdout.indexOf('Saving SvcLogicGraph to database') != -1 || data.stderr.indexOf('Saving SvcLogicGraph to database') != -1)){
+ if( data != undefined && data != null && (data.stdout.indexOf('Saving SvcLogicGraph') != -1 || data.stderr.indexOf('Saving SvcLogicGraph') != -1)){
//RED.notify("<strong>Uploaded Successfully</strong>");
//console.dir(data);
var _moduleName = data.module;
diff --git a/dgbuilder/nodes/dge/dgemain/dgstart.js b/dgbuilder/nodes/dge/dgemain/dgstart.js
index f2b4815e..e55c8271 100644
--- a/dgbuilder/nodes/dge/dgemain/dgstart.js
+++ b/dgbuilder/nodes/dge/dgemain/dgstart.js
@@ -250,7 +250,7 @@ function uploadDG(filePath,moduleName,rpc,res){
}
if(stderr && !stdout){
//console.log("stderr:" + stderr);
- if(stderr.indexOf("Saving SvcLogicGraph to database") != -1){
+ if(stderr.indexOf("Saving SvcLogicGraph") != -1){
res.send(200,{'error':error,'stdout' :'','stderr':stderr,"url":dbHost,"module" : moduleName,"rpc" : rpc});
}else{
res.send(500,{'error':error,'stdout' :'','stderr':stderr});