diff options
author | Victor Morales <victor.morales@intel.com> | 2018-03-13 12:36:55 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-03-15 16:58:22 +0000 |
commit | df17a7ff9ba569227e8a2b5b1863800bbb8e1806 (patch) | |
tree | 749011aaf1b514e17c31edd9c12252a95f0aec18 /bootstrap/vagrant-onap/lib/msb | |
parent | 1393fc2533cae1271126498f1661dec893922dae (diff) |
Deprecate vagrant-onap tool
The vagrant-onap tool needs to be moved to its own repo to have better
control of versions and autonomy. This change removes the project from
integration repository.
Change-Id: I90bd4505a9fc7376c31a780aa1b833ee2663af3e
Signed-off-by: Victor Morales <victor.morales@intel.com>
Depends-On: I79df8c35fccaa266a789217d441a6cf1183bd42a
Issue-ID: INT-441
Diffstat (limited to 'bootstrap/vagrant-onap/lib/msb')
-rwxr-xr-x | bootstrap/vagrant-onap/lib/msb | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/bootstrap/vagrant-onap/lib/msb b/bootstrap/vagrant-onap/lib/msb deleted file mode 100755 index bcf27fe75..000000000 --- a/bootstrap/vagrant-onap/lib/msb +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash - -source /var/onap/functions - -# _build_msb_images() - Function that creates Microservices Docker images from source code -function _build_msb_images { - if [[ "$compile_repo" != "True" ]]; then - compile_repos "msb" - fi - - build_docker_image ${src_folders[msb]}/apigateway/distributions/msb-apigateway/src/main/basedocker onap/msb/msb_base - build_docker_image ${src_folders[msb]}/apigateway/distributions/msb-apigateway/src/main/docker onap/msb/msb_apigateway - build_docker_image ${src_folders[msb]}/discovery/distributions/msb-discovery/src/main/docker onap/msb/msb_discovery -} - -# get_msb_images() - Function that retrieves the Microservices Bus images -function get_msb_images { - pull_docker_image "consul:0.9.3" - if [[ "$build_image" == "True" ]]; then - _build_msb_images - else - unset docker_version - for image in base apigateway discovery; do - pull_onap_image msb/msb_$image - done - fi -} - -# install_msb() - Downloads and configure Microservices Bus source code -function install_msb { - run_docker_image -d --net=host --name msb_consul consul:0.9.3 - run_docker_image -d --net=host --name msb_discovery nexus3.onap.org:10001/onap/msb/msb_discovery - run_docker_image -d --net=host -e "ROUTE_LABELS=visualRange:1" --name msb_internal_apigateway nexus3.onap.org:10001/onap/msb/msb_apigateway -} - -# init_msb() - Function that initialize Message Router services -function init_msb { - if [[ "$clone_repo" == "True" ]]; then - clone_repos "msb" - if [[ "$compile_repo" == "True" ]]; then - compile_repos "msb" - fi - fi - if [[ "$skip_get_images" == "False" ]]; then - get_msb_images - if [[ "$skip_install" == "False" ]]; then - install_msb - fi - fi -} |