diff options
author | Dan Timoney <dtimoney@att.com> | 2018-02-27 14:10:22 -0500 |
---|---|---|
committer | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-02-27 20:41:26 -0500 |
commit | 912f98b9cdfe0f636239b8f94fccf7858bffac26 (patch) | |
tree | 0bab8151af12780eabfcefad42464db7d24e0e8f /odlsli/src/main/scripts/installFeatures.sh | |
parent | b46add8acac65c428c55d9fbea4c329cf17a9af8 (diff) |
Create nitrogen dockers
Updated dockers to install Nitrogen artifacts.
Change-Id: I9710346f064fa5fff0d92b5d6de32cc84d9e1b3d
Issue-ID: CCSDK-179
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'odlsli/src/main/scripts/installFeatures.sh')
-rw-r--r-- | odlsli/src/main/scripts/installFeatures.sh | 85 |
1 files changed, 2 insertions, 83 deletions
diff --git a/odlsli/src/main/scripts/installFeatures.sh b/odlsli/src/main/scripts/installFeatures.sh index 37532e7d..e6b35bdd 100644 --- a/odlsli/src/main/scripts/installFeatures.sh +++ b/odlsli/src/main/scripts/installFeatures.sh @@ -21,87 +21,6 @@ # ============LICENSE_END========================================================= ### -ODL_HOME=${ODL_HOME:-/opt/opendaylight/current} -ODL_ADMIN_PASSWORD=${ODL_ADMIN_PASSWORD:-Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U} -SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc} -SDNC_FEATURE_DIR=${SDNC_FEATURE_DIR:-${SDNC_HOME}/features} +CCSDK_HOME=${CCSDK_HOME:-/opt/onap/ccsdk} -SDNC_CORE_FEATURES=" \ - slicore-utils \ - dblib \ - filters \ - sli \ - sliPluginUtils \ - sliapi" - -SDNC_ADAPTORS_FEATURES=" \ - aai-service \ - mdsal-resource \ - resource-assignment \ - sql-resource" - -SDNC_NORTHBOUND_FEATURES=" \ - asdcApi \ - dataChange" - -SDNC_PLUGINS_FEATURES=" \ - properties-node \ - restapi-call-node" - - -SDNC_CORE_VERSION=${SDNC_CORE_VERSION:-0.0.1-SNAPSHOT} -SDNC_ADAPTORS_VERSION=${SDNC_ADAPTORS_VERSION:-0.0.1-SNAPSHOT} -SDNC_NORTHBOUND_VERSION=${SDNC_NORTHBOUND_VERSION:-0.0.1-SNAPSHOT} -SDNC_PLUGINS_VERSION=${SDNC_PLUGINS_VERSION:-0.0.1-SNAPSHOT} - -echo "Enabling core features" -${ODL_HOME}/bin/client -u karaf feature:install odl-mdsal-all -${ODL_HOME}/bin/client -u karaf feature:install odl-mdsal-apidocs -${ODL_HOME}/bin/client -u karaf feature:install odl-restconf-all - - - - -echo "Installing SDN-C core" -for feature in ${SDNC_CORE_FEATURES} -do - if [ -f ${SDNC_FEATURE_DIR}/sdnc-${feature}/install-feature.sh ] - then - ${SDNC_FEATURE_DIR}/sdnc-${feature}/install-feature.sh - else - echo "No installer found for feature sdnc-${feature}" - fi -done - -echo "Installing SDN-C adaptors" -for feature in ${SDNC_ADAPTORS_FEATURES} -do - if [ -f ${SDNC_FEATURE_DIR}/sdnc-${feature}/install-feature.sh ] - then - ${SDNC_FEATURE_DIR}/sdnc-${feature}/install-feature.sh - else - echo "No installer found for feature sdnc-${feature}" - fi -done - -echo "Installing SDN-C northbound" -for feature in ${SDNC_NORTHBOUND_FEATURES} -do - if [ -f ${SDNC_FEATURE_DIR}/sdnc-${feature}/install-feature.sh ] - then - ${SDNC_FEATURE_DIR}/sdnc-${feature}/install-feature.sh - else - echo "No installer found for feature sdnc-${feature}" - fi -done - -echo "Installing SDN-C plugins" -for feature in ${SDNC_PLUGINS_FEATURES} -do - if [ -f ${SDNC_FEATURE_DIR}/sdnc-${feature}/install-feature.sh ] - then - ${SDNC_FEATURE_DIR}/sdnc-${feature}/install-feature.sh - else - echo "No installer found for feature sdnc-${feature}" - fi -done +${CCSDK_HOME}/bin/installCcsdkFeatures.sh
\ No newline at end of file |