X-Git-Url: https://gerrit.onap.org/r/gitweb?p=ccsdk%2Fdistribution.git;a=blobdiff_plain;f=dgbuilder%2FcreateReleaseDir.sh;h=fddb1a6f4c5afd66868f5828d1868eeb12b202dd;hp=00d185f71da31ea114b72de216796d7d3a7653b8;hb=347321e1530e50084d54b2428fc3b6310853c957;hpb=6741df81b766bb1dc271c214b923b18f52c20892 diff --git a/dgbuilder/createReleaseDir.sh b/dgbuilder/createReleaseDir.sh index 00d185f7..fddb1a6f 100755 --- a/dgbuilder/createReleaseDir.sh +++ b/dgbuilder/createReleaseDir.sh @@ -21,6 +21,11 @@ dbName="sdnctl" dbUser="sdnctl" dbPassword="gamma" gitLocalRepository="$4" +restConfUrl="http://localhost:8181/restconf/operations/SLI-API:execute-graph" +restConfUser="admin" +restConfPassword="admin" +formatXML="Y" +formatJSON="Y" lastPort=$(find "releases/" -name "customSettings.js" |xargs grep uiPort|cut -d: -f2|sed -e s/,//|sort|tail -1) echo $lastPort|grep uiPort >/dev/null 2>&1 @@ -54,6 +59,7 @@ if [ ! -e "./$customSettingsFile" ] then echo "module.exports = {" >$customSettingsFile echo " 'name' : '$name'," >>$customSettingsFile + echo " 'loginId' :'$loginId'," >>$customSettingsFile echo " 'emailAddress' :'$emailid'," >>$customSettingsFile echo " 'uiPort' :$nextPort," >>$customSettingsFile echo " 'mqttReconnectTime': 15000," >>$customSettingsFile @@ -70,7 +76,13 @@ then echo " 'dbName': '$dbName'," >>$customSettingsFile echo " 'dbUser': '$dbUser'," >>$customSettingsFile echo " 'dbPassword': '$dbPassword'," >>$customSettingsFile - echo " 'gitLocalRepository': '$gitLocalRepository'" >>$customSettingsFile + echo " 'gitLocalRepository': '$gitLocalRepository'," >>$customSettingsFile + echo " 'restConfUrl': '$restConfUrl'," >>$customSettingsFile + echo " 'restConfUser': '$restConfUser'," >>$customSettingsFile + echo " 'restConfPassword': '$restConfPassword'," >>$customSettingsFile + echo " 'formatXML': '$formatXML'," >>$customSettingsFile + echo " 'formatJSON': '$formatJSON'," >>$customSettingsFile + echo " 'enableHttps': true" >>$customSettingsFile echo " }" >>$customSettingsFile fi #echo "Created custom settings file $customSettingsFile"