summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_ccsdk
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_ccsdk
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_ccsdk')
-rwxr-xr-xbootstrap/vagrant-onap/tests/test_ccsdk90
1 files changed, 0 insertions, 90 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_ccsdk b/bootstrap/vagrant-onap/tests/test_ccsdk
deleted file mode 100755
index 28de27065..000000000
--- a/bootstrap/vagrant-onap/tests/test_ccsdk
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/bash
-
-source /var/onap_tests/_test_base
-source /var/onap/ccsdk
-
-covered_functions=(
-"clone_ccsdk_repos" "compile_ccsdk_repos" "get_ccsdk_images"
-)
-
-# test_clone_ccsdk_repos() - Verify that CCSDL repositories are retrieved properly
-function test_clone_ccsdk_repos {
- clone_repos "ccsdk"
-
- asserts_file_exist ${src_folders[ccsdk]}/dashboard/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/distribution/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/parent/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/platform/blueprints/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/platform/nbapi/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/platform/plugins/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/sli/adaptors/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/sli/core/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/sli/northbound/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/sli/plugins/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/storage/esaas/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/storage/pgaas/pom.xml
- asserts_file_exist ${src_folders[ccsdk]}/utils/pom.xml
-}
-
-# test_compile_ccsdk_repos() - Verify the compilation of CCSDK repositories
-function test_compile_ccsdk_repos {
- clone_repos "ccsdk"
- compile_repos "ccsdk"
-
- asserts_file_exist ${src_folders[ccsdk]}/dashboard/ccsdk-app-common/target/ccsdk-app-common-1.1.0-SNAPSHOT.jar
- asserts_file_exist ${src_folders[ccsdk]}/dashboard/ccsdk-app-os/target/ccsdk-app-os-1.1.0-SNAPSHOT.war
- asserts_file_exist ${src_folders[ccsdk]}/dashboard/ccsdk-app-overlay/target/ccsdk-app-overlay-1.1.0-SNAPSHOT.war
- asserts_file_exist ${src_folders[ccsdk]}/distribution/dgbuilder/target/dgbuilder.0.1.0-SNAPSHOT.zip
- asserts_file_exist ${src_folders[ccsdk]}/distribution/platform-logic/installer/target/platform-logic-installer-0.1.0-SNAPSHOT.zip
- asserts_file_exist ${src_folders[ccsdk]}/platform/nbapi/target/commonnbapi-*.war
-
- #for adaptor in aai-service mdsal-resource resource-assignment sql-resource; do
- #for component in features provider; do
- #asserts_file_exist ${src_folders[ccsdk]}/sli/adaptors/$adaptor/$component/target/$adaptor-$component-0.1.0-SNAPSHOT.jar
- #done
- #asserts_file_exist ${src_folders[ccsdk]}/sli/adaptors/$adaptor/installer/target/sdnc-$adaptor-0.1.0-SNAPSHOT-installer.zip
- #done
-
- #for core in dblib filters sli sliapi sliPluginUtils; do
- for core in dblib; do
- for component in features provider; do
- asserts_file_exist ${src_folders[ccsdk]}/sli/core/$core/$component/target/$core-$component-*-SNAPSHOT.jar
- done
- asserts_file_exist ${src_folders[ccsdk]}/sli/core/$core/installer/target/sdnc-$core-*-SNAPSHOT-installer.zip
- done
- #asserts_file_exist ${src_folders[ccsdk]}/sli/core/sli/common/target/sli-common-*-SNAPSHOT.jar
- #asserts_file_exist ${src_folders[ccsdk]}/sli/core/sli/recording/target/sli-recording-*-SNAPSHOT.jar
- #asserts_file_exist ${src_folders[ccsdk]}/sli/core/sliapi/model/target/sliapi-model-*-SNAPSHOT.jar
-
- for northbound in asdcApi dataChange; do
- for component in features model provider; do
- asserts_file_exist ${src_folders[ccsdk]}/sli/northbound/$northbound/$component/target/$northbound-$component-*-SNAPSHOT.jar
- done
- asserts_file_exist ${src_folders[ccsdk]}/sli/northbound/$northbound/installer/target/sdnc-$northbound-*-SNAPSHOT-installer.zip
- done
- asserts_file_exist ${src_folders[ccsdk]}/sli/northbound/dmaap-listener/target/dmaap-listener-*-SNAPSHOT.jar
- asserts_file_exist ${src_folders[ccsdk]}/sli/northbound/ueb-listener/target/ueb-listener-*-SNAPSHOT.jar
-
- for plugin in properties-node restapi-call-node; do
- for component in features provider; do
- asserts_file_exist ${src_folders[ccsdk]}/sli/plugins/$plugin/$component/target/$plugin-$component-*-SNAPSHOT.jar
- done
- asserts_file_exist ${src_folders[ccsdk]}/sli/plugins/$plugin/installer/target/sdnc-$plugin-*-SNAPSHOT-installer.zip
- done
-}
-
-# test_get_ccsdk_images() - Verify that CCSDK images are retrieved or built properly
-function test_get_ccsdk_images {
- clone_repos "ccsdk"
- get_ccsdk_images
-
- for image in dgbuilder odlsli odl ubuntu; do
- asserts_image onap/ccsdk-$image-image
- done
-}
-
-if [ "$1" != '*' ]; then
- unset covered_functions
- covered_functions=$1
-fi
-main "${covered_functions[@]}"