aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_mso
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-03-13 12:36:55 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-03-15 16:58:22 +0000
commitdf17a7ff9ba569227e8a2b5b1863800bbb8e1806 (patch)
tree749011aaf1b514e17c31edd9c12252a95f0aec18 /bootstrap/vagrant-onap/tests/test_mso
parent1393fc2533cae1271126498f1661dec893922dae (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/tests/test_mso')
-rwxr-xr-xbootstrap/vagrant-onap/tests/test_mso67
1 files changed, 0 insertions, 67 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_mso b/bootstrap/vagrant-onap/tests/test_mso
deleted file mode 100755
index 6a6bef772..000000000
--- a/bootstrap/vagrant-onap/tests/test_mso
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/bash
-
-source /var/onap_tests/_test_base
-source /var/onap/mso
-
-covered_functions=(
-"clone_all_mso_repos" "compile_all_mso_repos" "get_mso_images" "install_mso"
-)
-
-# test_clone_all_mso_repos() - Verify the source code retrieve of MSO project
-function test_clone_all_mso_repos {
- clone_repos "mso"
-
- asserts_file_exist ${src_folders[mso]}/pom.xml
- asserts_file_exist ${src_folders[mso]}/chef-repo/LICENSE.txt
- asserts_file_exist ${src_folders[mso]}/docker-config/LICENSE.txt
- asserts_file_exist ${src_folders[mso]}/libs/pom.xml
- asserts_file_exist ${src_folders[mso]}/mso-config/LICENSE.txt
-}
-
-# test_compile_all_mso_repos() - Verify the correct compilation of MSO projects
-function test_compile_all_mso_repos {
- clone_repos "mso"
- compile_repos "mso"
-
- asserts_file_exist ${src_folders[mso]}/libs/ceilometer-client/target/ceilometer-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/ceilometer-model/target/ceilometer-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/glance-client/target/glance-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/glance-model/target/glance-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/heat-client/target/heat-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/heat-model/target/heat-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/keystone-client/target/keystone-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/keystone-model/target/keystone-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/nova-client/target/nova-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/nova-model/target/nova-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/openstack-client/target/openstack-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/quantum-client/target/quantum-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/quantum-model/target/quantum-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/swift-client/target/swift-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[mso]}/libs/swift-model/target/swift-model-1.1.0-SNAPSHOT.jar
-}
-
-# test_get_mso_images() - Verify the creation of MSO Docker images
-function test_get_mso_images {
- clone_repos "mso"
- install_mso
-
- for image in mso mso-arquillian wildfly ubuntu-update jacoco; do
- asserts_image openecomp/$image
- done
-}
-
-# test_install_mso - Verify the execution of MSO Docker images
-function test_install_mso {
- clone_repos "mso"
- install_mso
- install_mso_docker_config
-
- asserts_image_running openecomp/mso
- asserts_image_running mariadb:10.1.11
-}
-
-if [ "$1" != '*' ]; then
- unset covered_functions
- covered_functions=$1
-fi
-main "${covered_functions[@]}"