aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_mso
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-12-08 11:57:42 -0800
committerVictor Morales <victor.morales@intel.com>2017-12-08 11:57:42 -0800
commit5464664702bc07c180ed82eb1a5d9bcc9e5d18ec (patch)
treec45bae722f80a3481965fec72385ad137c36ea6b /bootstrap/vagrant-onap/tests/test_mso
parent5d21f64981e69f6a266da1ec30754de5d8d71e26 (diff)
Centralize src_folder and repos info
The configuration values that determines where the source code will be cloned and the list of repos associated to specific project have been included in a new global configuration file, which pretends to facilitate their changes. Change-Id: I700bfe02e6b2f8bf8eef763e44b5e037357ec892 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-367
Diffstat (limited to 'bootstrap/vagrant-onap/tests/test_mso')
-rwxr-xr-xbootstrap/vagrant-onap/tests/test_mso40
1 files changed, 20 insertions, 20 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_mso b/bootstrap/vagrant-onap/tests/test_mso
index 384944c77..6a6bef772 100755
--- a/bootstrap/vagrant-onap/tests/test_mso
+++ b/bootstrap/vagrant-onap/tests/test_mso
@@ -11,11 +11,11 @@ covered_functions=(
function test_clone_all_mso_repos {
clone_repos "mso"
- asserts_file_exist $mso_src_folder/pom.xml
- asserts_file_exist $mso_src_folder/chef-repo/LICENSE.txt
- asserts_file_exist $mso_src_folder/docker-config/LICENSE.txt
- asserts_file_exist $mso_src_folder/libs/pom.xml
- asserts_file_exist $mso_src_folder/mso-config/LICENSE.txt
+ 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
@@ -23,21 +23,21 @@ function test_compile_all_mso_repos {
clone_repos "mso"
compile_repos "mso"
- asserts_file_exist $mso_src_folder/libs/ceilometer-client/target/ceilometer-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/ceilometer-model/target/ceilometer-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/glance-client/target/glance-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/glance-model/target/glance-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/heat-client/target/heat-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/heat-model/target/heat-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/keystone-client/target/keystone-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/keystone-model/target/keystone-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/nova-client/target/nova-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/nova-model/target/nova-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/openstack-client/target/openstack-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/quantum-client/target/quantum-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/quantum-model/target/quantum-model-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/swift-client/target/swift-client-1.1.0-SNAPSHOT.jar
- asserts_file_exist $mso_src_folder/libs/swift-model/target/swift-model-1.1.0-SNAPSHOT.jar
+ 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