From 19b75a8b179af090ed4d275a4c85515148c1f890 Mon Sep 17 00:00:00 2001 From: "Chinthakayala,Sheshashailavas(sc2914)" Date: Tue, 10 Apr 2018 18:17:44 +0000 Subject: 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) --- dgbuilder/nodes/dge/dgemain/dgstart.html | 2 +- dgbuilder/nodes/dge/dgemain/dgstart.js | 2 +- 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 = ""; - 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("Uploaded Successfully"); //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}); -- cgit 1.2.3-korg