[SDNC-5] added yang upload
and added break node
Change-Id: I8d36b5d400a51a6ebc248b100f04284cf27abcad
Signed-off-by: Chinthakayala, Sheshashailavas <sc2914@att.com>
Former-commit-id: ae6804f3c5805f78198b26de88ceb6dfa9bb335b
diff --git a/dgbuilder/red/server.js b/dgbuilder/red/server.js
index 01a769e..a5eb922 100644
--- a/dgbuilder/red/server.js
+++ b/dgbuilder/red/server.js
@@ -1084,7 +1084,8 @@
var matchedArr = fileName.match(/.zip$/);
if(matchedArr != null && matchedArr.length >0){
console.log("uploaded zip file" + fileName);
- commandToExec = appDir + "/tools/generate_props_from_yangs_zip.sh " + yangFileFullPath ;
+ //commandToExec = appDir + "/tools/generate_props_from_yangs_zip.sh " + yangFileFullPath ;
+ commandToExec = appDir + "/tools/generate_props_from_yang.sh " + yangFileFullPath ;
}else{
commandToExec = appDir + "/tools/generate_props_from_yang.sh " + yangFileFullPath ;
console.log("uploaded file" + fileName);