3 source /var/onap_tests/_test_base
7 "clone_all_vid_repos" "compile_all_vid_repos" "get_vid_images" "install_vid"
10 # test_clone_all_vid_repos() - Verifies that VID repositories are retrieved properly
11 function test_clone_all_vid_repos {
14 asserts_file_exist ${src_folders[vid]}/pom.xml
15 asserts_file_exist ${src_folders[vid]}/asdcclient/pom.xml
18 # test_compile_all_vid_repos() - Verifies that VID source code is compiled properly
19 function test_compile_all_vid_repos {
23 asserts_file_exist ${src_folders[vid]}/asdcclient/target/asdcclient-1.0.2-SNAPSHOT.jar
24 asserts_file_exist ${src_folders[vid]}/epsdk-app-onap/target/vid.war
25 asserts_file_exist ${src_folders[vid]}/vid-app-common/target/vid-common.war
28 # test_get_vid_images() - Verifies that VID Docker images are built properly
29 function test_get_vid_images {
33 asserts_image openecomp/vid
34 asserts_image mariadb:10
37 # test_install_vid() - Verifies taht VID services are up and running
38 function test_install_vid {
43 vid_image=`docker images | grep vid | grep latest| awk '{print $1 ":" $2}'`
44 asserts_image_running $vid_image
47 if [ "$1" != '*' ]; then
48 unset covered_functions
51 main "${covered_functions[@]}"