summaryrefslogtreecommitdiffstats
path: root/models-errors
AgeCommit message (Expand)AuthorFilesLines
2020-07-09Bump policy/models to 2.3.1-SNAPSHOTRam Krishna Verma1-1/+1
2020-06-19Merge "Changes for Checkstyle 8.32"Ram Krishna Verma3-6/+0
2020-06-18Changes for Checkstyle 8.32liamfallon4-7/+0
2020-06-18Replaced try/catch blocks in policy/models with assertj assertions.waynedunican1-11/+9
2020-05-19Bump models master to 2.3.0-SNAPSHOTRam Krishna Verma1-1/+1
2020-05-19Bump models to 2.2.7-SNAPSHOTRam Krishna Verma1-1/+1
2020-04-24Bump models patch 2.2.6-SNAPSHOTPamela Dragosh1-1/+1
2020-04-14Bump models to 2.2.5-SNAPSHOTRam Krishna Verma1-1/+1
2020-04-11Bump models patch 2.2.4-SNAPSHOTPamela Dragosh1-1/+1
2020-03-25Bump models 2.2.3-SNAPSHOTPamela Dragosh1-1/+1
2020-03-24Bump policy-models to version 2.2.2-SNAPSHOTliamfallon1-1/+1
2020-01-10policy/models jdk 11 upgradesHOCKLA1-0/+5
2020-01-10Bumped patch version for policy/modelsHOCKLA1-1/+2
2019-12-10Fix minor checksyle issues in modelsliamfallon1-2/+3
2019-09-10Bump versions for models masterJim Hahn1-1/+1
2019-08-06Bump version in policy/modelsJim Hahn1-1/+1
2019-08-05Bump versions to 2.1.2jhh1-1/+1
2019-06-27Use ToStringTester from utils-testramverma1-2/+2
2019-06-21Bump models to 2.1.1 SNAPSHOTPamela Dragosh1-1/+1
2019-06-17Fix simple sonar issues in models: errors to sim-pdpJim Hahn1-8/+6
2019-06-17Fix simple sonar issues in modelsJim Hahn1-0/+2
2019-05-29Change version to 2.1.0Pamela Dragosh1-1/+1
2019-05-23Bump to 2.0.2-SNAPSHOTPamela Dragosh1-1/+1
2019-05-15Step snapshot version of policy modelsliamfallon1-1/+1
2019-03-26Add Legacy Op Policy Persistenceliamfallon1-1/+1
2019-03-26Add ErrorResponse to policy framework exceptionsliamfallon5-2/+149
2019-03-21Add module for error responsesPamela Dragosh5-0/+206
t|tail -1) fi #echo $lastPort if [ "${lastPort}" == "" ] then lastPort="3099" fi let nextPort=$(expr $lastPort+1) #echo $nextPort if [ ! -e "releases/$releaseDir" ] then mkdir releases/$releaseDir cd releases/$releaseDir mkdir flows mkdir flows/shared mkdir flows/shared/backups mkdir html mkdir xml mkdir lib mkdir lib/flows mkdir logs mkdir conf mkdir codecloud customSettingsFile="customSettings.js" 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 echo " 'serialReconnectTime' : 15000," >>$customSettingsFile echo " 'debugMaxLength': 1000," >>$customSettingsFile echo " 'htmlPath': 'releases/$releaseDir/html/'," >>$customSettingsFile echo " 'xmlPath': 'releases/$releaseDir/xml/'," >>$customSettingsFile echo " 'flowFile' : 'releases/$releaseDir/flows/flows.json'," >>$customSettingsFile echo " 'sharedDir': 'releases/$releaseDir/flows/shared'," >>$customSettingsFile echo " 'userDir' : 'releases/$releaseDir'," >>$customSettingsFile echo " 'httpAuth': {user:'$loginId',pass:'cc03e747a6afbbcbf8be7668acfebee5'}," >>$customSettingsFile echo " 'dbHost': '$dbHost'," >>$customSettingsFile echo " 'dbPort': '$dbPort'," >>$customSettingsFile echo " 'dbName': '$dbName'," >>$customSettingsFile echo " 'dbUser': '$dbUser'," >>$customSettingsFile echo " 'dbPassword': '$dbPassword'," >>$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" echo "Done ....." else echo "ERROR:customSettings file $customSettingsFile already exists for $releaseDir" exit fi #echo "Content of custom settings file" #echo "============================================================================" # cat $customSettingsFile #echo "============================================================================" svclogicPropFile="./conf/svclogic.properties" if [ ! -d "${appDir}/yangFiles" ] then mkdir -p "${appDir}/yangFiles" fi if [ ! -d "${appDir}/generatedJS" ] then mkdir -p "${appDir}/generatedJS" fi if [ ! -e "./$svclogicPropFile" ] then echo "org.onap.ccsdk.sli.dbtype=jdbc" >$svclogicPropFile echo "org.onap.ccsdk.sli.jdbc.url=jdbc:mysql://dbhost:3306/sdnctl" >>$svclogicPropFile echo "org.onap.ccsdk.sli.jdbc.database=sdnctl" >>$svclogicPropFile echo "org.onap.ccsdk.sli.jdbc.user=sdnctl" >>$svclogicPropFile echo "org.onap.ccsdk.sli.jdbc.password=gamma" >>$svclogicPropFile fi if [ ! -e "${appDir}/flowShareUsers.js" ] then echo "module.exports = {\"flowShareUsers\":" >${appDir}/flowShareUsers.js echo " [" >>${appDir}/flowShareUsers.js echo " ]" >>${appDir}/flowShareUsers.js echo "}" >>${appDir}/flowShareUsers.js fi grep "$releaseDir" ${appDir}/flowShareUsers.js >/dev/null 2>&1 if [ "$?" != "0" ] then num_of_lines=$(cat ${appDir}/flowShareUsers.js|wc -l) if [ $num_of_lines -gt 4 ] then content=$(head -n -2 ${appDir}/flowShareUsers.js) echo "${content}," > ${appDir}/flowShareUsers.js else content=$(head -n -2 ${appDir}/flowShareUsers.js) echo "$content" > ${appDir}/flowShareUsers.js fi echo " {" >> ${appDir}/flowShareUsers.js echo " \"name\" : \"$name\"," >> ${appDir}/flowShareUsers.js echo " \"rootDir\" : \"$releaseDir\"" >> ${appDir}/flowShareUsers.js echo " }" >> ${appDir}/flowShareUsers.js echo " ]" >> ${appDir}/flowShareUsers.js echo "}" >> ${appDir}/flowShareUsers.js fi