aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_sdc
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_sdc
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_sdc')
-rwxr-xr-xbootstrap/vagrant-onap/tests/test_sdc69
1 files changed, 0 insertions, 69 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_sdc b/bootstrap/vagrant-onap/tests/test_sdc
deleted file mode 100755
index 67657803e..000000000
--- a/bootstrap/vagrant-onap/tests/test_sdc
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/bash
-
-source /var/onap_tests/_test_base
-source /var/onap/sdc
-
-covered_functions=(
-"clone_all_sdc_repos" "compile_all_sdc_repos" "get_sdc_images" "install_sdc"
-)
-
-# test_clone_all_sdc_repos() - Verifies the retrieval of SDC source code repos
-function test_clone_all_sdc_repos {
- clone_repos "sdc"
-
- asserts_file_exist ${src_folders[sdc]}/pom.xml
- asserts_file_exist ${src_folders[sdc]}/sdc-os-chef/pom.xml
- asserts_file_exist ${src_folders[sdc]}/jtosca/pom.xml
- asserts_file_exist ${src_folders[sdc]}/sdc-distribution-client/pom.xml
- asserts_file_exist ${src_folders[sdc]}/sdc-titan-cassandra/pom.xml
- asserts_file_exist ${src_folders[sdc]}/sdc-tosca/pom.xml
- asserts_file_exist ${src_folders[sdc]}/sdc_common/pom.xml
-}
-
-# test_compile_all_sdc_repos() - Verifies the correct compilation of SDC repositories
-function test_compile_all_sdc_repos {
- clone_repos "sdc"
- compile_repos "sdc"
-
- #asserts_file_exist ${src_folders[sdc]}/jtosca/target/jtosca-1.1.10-SNAPSHOT.jar
- #asserts_file_exist ${src_folders[sdc]}/sdc-distribution-client/sdc-distribution-ci/target/sdc-distribution-ci-1.1.*-SNAPSHOT.jar
- #asserts_file_exist ${src_folders[sdc]}/sdc-distribution-client/sdc-distribution-client/target/sdc-distribution-client-1.1.*-SNAPSHOT.jar
- #asserts_file_exist ${src_folders[sdc]}/sdc-titan-cassandra/target/jamm-0.3.0.jar
- #asserts_file_exist ${src_folders[sdc]}/sdc-tosca/target/sdc-tosca-1.1.*-SNAPSHOT.jar
-
- #for dirc in logging sdc-artifact-generator; do
- for dirc in logging; do
- name="openecomp-$dirc"
- for module in api core; do
- fullname="$name-$module"
- asserts_file_exist ${src_folders[sdc]}/sdc_common/$name-lib/$fullname/target/$fullname-1.1.0-SNAPSHOT.jar
- done
- done
-}
-
-# test_get_sdc_images() - Verifies the correct retrieval of SDC Docker images
-function test_get_sdc_images {
- clone_repos "sdc"
- get_sdc_images
-
- for image in sanity elasticsearch cassandra kibana frontend backend; do
- asserts_image openecomp/base_sdc-$image
- done
-}
-
-# test_install_sdc() - Verifies that SDC services are up and running
-function test_install_sdc {
- clone_repos "sdc"
- get_sdc_images
- install_sdc
-
- for image in elasticsearch cassandra kibana frontend backend; do
- asserts_image_running openecomp/base_sdc-$image
- done
-}
-
-if [ "$1" != '*' ]; then
- unset covered_functions
- covered_functions=$1
-fi
-main "${covered_functions[@]}"