aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_vnfsdk
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_vnfsdk
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_vnfsdk')
-rwxr-xr-xbootstrap/vagrant-onap/tests/test_vnfsdk57
1 files changed, 0 insertions, 57 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_vnfsdk b/bootstrap/vagrant-onap/tests/test_vnfsdk
deleted file mode 100755
index cd29a9733..000000000
--- a/bootstrap/vagrant-onap/tests/test_vnfsdk
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-
-source /var/onap_tests/_test_base
-source /var/onap/vnfsdk
-
-covered_functions=(
-"clone_all_vnfsdk_repos" "compile_all_vnfsdk_repos" "get_vnfsdk_images" "install_vnfsdk"
-)
-
-# test_clone_all_vnfsdk_repos() - Verify the cloning of VNFSDK source repo.
-function test_clone_all_vnfsdk_repos {
- clone_repos "vnfsdk"
-
- asserts_file_exist ${src_folders[vnfsdk]}/compliance/veslibrary/README
- asserts_file_exist ${src_folders[vnfsdk]}/functest/pom.xml
- asserts_file_exist ${src_folders[vnfsdk]}/lctest/pom.xml
- asserts_file_exist ${src_folders[vnfsdk]}/model/docs/index.rst
- asserts_file_exist ${src_folders[vnfsdk]}/pkgtools/pom.xml
- asserts_file_exist ${src_folders[vnfsdk]}/refrepo/pom.xml
- asserts_file_exist ${src_folders[vnfsdk]}/validation/pom.xml
-}
-
-# test_compile_all_vnfsdk_repos () - Verify if VNFSDK source repo compiles correctly.
-function test_compile_all_vnfsdk_repos {
- clone_repos "vnfsdk"
- compile_repos "vnfsdk"
-
- asserts_file_exist ${src_folders[vnfsdk]}/lctest/lifecycle-test/target/lifecycle-test-service-1.0.0-SNAPSHOT.war
- asserts_file_exist ${src_folders[vnfsdk]}/pkgtools/target/vnf-sdk-pkgtools-1.0.0-SNAPSHOT.zip
- asserts_file_exist ${src_folders[vnfsdk]}/refrepo/vnfmarket-be/vnf-sdk-marketplace/target/ROOT.war
- asserts_file_exist ${src_folders[vnfsdk]}/validation/csarvalidation/target/validation-csar-1.0.0-SNAPSHOT.jar
-}
-
-# test_get_vnfsdk_images() - Verify that the VNFSDK images are created or retrieved
-function test_get_vnfsdk_images {
- clone_repos "vnfsdk"
- get_vnfsdk_images
-
- asserts_image refrepo:1.0-STAGING-latest
- asserts_image refrepo:latest
-}
-
-# test_install_vnfsdk() - Verify that VNFSDK docker images are running.
-function test_install_vnfsdk {
- clone_repos "vnfsdk"
- get_vnfsdk_images
- install_vnfsdk
-
- asserts_image_running refrepo:1.0-STAGING-latest
- asserts_image refrepo:latest
-}
-
-if [ "$1" != '*' ]; then
- unset covered_functions
- covered_functions=$1
-fi
-main "${covered_functions[@]}"