X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fsdnc%2Fsrc%2Fmain%2Fscripts%2FstartODL.sh;h=818f10469d31b6482630612b959ac6b0a74e0f30;hb=7c101c303f7640f229e739a5825c0a2ec72bad9c;hp=ea46c2ee0d48784c8bb63b67312b3a41f7e23be4;hpb=eac16270874b8ecc7ac65d2869015be38fa25a71;p=sdnc%2Foam.git diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh index ea46c2ee..818f1046 100755 --- a/installation/sdnc/src/main/scripts/startODL.sh +++ b/installation/sdnc/src/main/scripts/startODL.sh @@ -283,6 +283,7 @@ printf "%s\n" " MY_ODL_CLUSTER=$MY_ODL_CLUSTER" printf "%s\n" " PEER_ODL_CLUSTER=$PEER_ODL_CLUSTER" printf "%s\n" " SDNR_NORTHBOUND=$SDNR_NORTHBOUND" printf "%s\n" " AAF_ENABLED=$SDNC_AAF_ENABLED" +printf "%s\n" " OOM_ENABLED=$OOM_ENABLED" if "$SDNC_AAF_ENABLED"; then export SDNC_AAF_STORE_DIR=/opt/app/osaaf/local @@ -312,7 +313,7 @@ if $SDNRINIT ; then fi fi -if $OOM_ENABLED; then +if ! $OOM_ENABLED; then # # Wait for database # @@ -332,16 +333,12 @@ fi if [ ! -f "${SDNC_HOME}"/.installed ] then - if $OOM_ENABLED; then + if ! $OOM_ENABLED; then # for integration testing. In OOM, a separate job takes care of installing it. if $SDNC_DB_INIT; then printf "Installing SDN-C database\n" "${SDNC_HOME}"/bin/installSdncDb.sh fi - printf "Installing SDN-C keyStore\n" - "${SDNC_HOME}"/bin/addSdncKeyStore.sh - printf "Installing A1-adapter trustStore\n" - "${SDNC_HOME}"/bin/addA1TrustStore.sh #${CCSDK_HOME}/bin/installOdlHostKey.sh @@ -352,6 +349,11 @@ then fi fi + printf "Installing SDN-C keyStore\n" + "${SDNC_HOME}"/bin/addSdncKeyStore.sh + printf "Installing A1-adapter trustStore\n" + "${SDNC_HOME}"/bin/addA1TrustStore.sh + if $SDNRWT ; then install_sdnrwt_features ; fi # The enable_odl_cluster call should not be moved above this line as the cleanFeatureBoot will overwrite entries. Ex: odl-jolokia if $ENABLE_ODL_CLUSTER ; then enable_odl_cluster ; fi