aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_ccsdk
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_ccsdk
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_ccsdk')
-rwxr-xr-xbootstrap/vagrant-onap/tests/test_ccsdk64
1 files changed, 32 insertions, 32 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_ccsdk b/bootstrap/vagrant-onap/tests/test_ccsdk
index 489ccdb2d..28de27065 100755
--- a/bootstrap/vagrant-onap/tests/test_ccsdk
+++ b/bootstrap/vagrant-onap/tests/test_ccsdk
@@ -11,19 +11,19 @@ covered_functions=(
function test_clone_ccsdk_repos {
clone_repos "ccsdk"
- asserts_file_exist $ccsdk_src_folder/dashboard/pom.xml
- asserts_file_exist $ccsdk_src_folder/distribution/pom.xml
- asserts_file_exist $ccsdk_src_folder/parent/pom.xml
- asserts_file_exist $ccsdk_src_folder/platform/blueprints/pom.xml
- asserts_file_exist $ccsdk_src_folder/platform/nbapi/pom.xml
- asserts_file_exist $ccsdk_src_folder/platform/plugins/pom.xml
- asserts_file_exist $ccsdk_src_folder/sli/adaptors/pom.xml
- asserts_file_exist $ccsdk_src_folder/sli/core/pom.xml
- asserts_file_exist $ccsdk_src_folder/sli/northbound/pom.xml
- asserts_file_exist $ccsdk_src_folder/sli/plugins/pom.xml
- asserts_file_exist $ccsdk_src_folder/storage/esaas/pom.xml
- asserts_file_exist $ccsdk_src_folder/storage/pgaas/pom.xml
- asserts_file_exist $ccsdk_src_folder/utils/pom.xml
+ 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
@@ -31,45 +31,45 @@ function test_compile_ccsdk_repos {
clone_repos "ccsdk"
compile_repos "ccsdk"
- asserts_file_exist $ccsdk_src_folder/dashboard/ccsdk-app-common/target/ccsdk-app-common-1.1.0-SNAPSHOT.jar
- asserts_file_exist $ccsdk_src_folder/dashboard/ccsdk-app-os/target/ccsdk-app-os-1.1.0-SNAPSHOT.war
- asserts_file_exist $ccsdk_src_folder/dashboard/ccsdk-app-overlay/target/ccsdk-app-overlay-1.1.0-SNAPSHOT.war
- asserts_file_exist $ccsdk_src_folder/distribution/dgbuilder/target/dgbuilder.0.1.0-SNAPSHOT.zip
- asserts_file_exist $ccsdk_src_folder/distribution/platform-logic/installer/target/platform-logic-installer-0.1.0-SNAPSHOT.zip
- asserts_file_exist $ccsdk_src_folder/platform/nbapi/target/commonnbapi-*.war
+ 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 $ccsdk_src_folder/sli/adaptors/$adaptor/$component/target/$adaptor-$component-0.1.0-SNAPSHOT.jar
+ #asserts_file_exist ${src_folders[ccsdk]}/sli/adaptors/$adaptor/$component/target/$adaptor-$component-0.1.0-SNAPSHOT.jar
#done
- #asserts_file_exist $ccsdk_src_folder/sli/adaptors/$adaptor/installer/target/sdnc-$adaptor-0.1.0-SNAPSHOT-installer.zip
+ #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 $ccsdk_src_folder/sli/core/$core/$component/target/$core-$component-*-SNAPSHOT.jar
+ asserts_file_exist ${src_folders[ccsdk]}/sli/core/$core/$component/target/$core-$component-*-SNAPSHOT.jar
done
- asserts_file_exist $ccsdk_src_folder/sli/core/$core/installer/target/sdnc-$core-*-SNAPSHOT-installer.zip
+ asserts_file_exist ${src_folders[ccsdk]}/sli/core/$core/installer/target/sdnc-$core-*-SNAPSHOT-installer.zip
done
- #asserts_file_exist $ccsdk_src_folder/sli/core/sli/common/target/sli-common-*-SNAPSHOT.jar
- #asserts_file_exist $ccsdk_src_folder/sli/core/sli/recording/target/sli-recording-*-SNAPSHOT.jar
- #asserts_file_exist $ccsdk_src_folder/sli/core/sliapi/model/target/sliapi-model-*-SNAPSHOT.jar
+ #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 $ccsdk_src_folder/sli/northbound/$northbound/$component/target/$northbound-$component-*-SNAPSHOT.jar
+ asserts_file_exist ${src_folders[ccsdk]}/sli/northbound/$northbound/$component/target/$northbound-$component-*-SNAPSHOT.jar
done
- asserts_file_exist $ccsdk_src_folder/sli/northbound/$northbound/installer/target/sdnc-$northbound-*-SNAPSHOT-installer.zip
+ asserts_file_exist ${src_folders[ccsdk]}/sli/northbound/$northbound/installer/target/sdnc-$northbound-*-SNAPSHOT-installer.zip
done
- asserts_file_exist $ccsdk_src_folder/sli/northbound/dmaap-listener/target/dmaap-listener-*-SNAPSHOT.jar
- asserts_file_exist $ccsdk_src_folder/sli/northbound/ueb-listener/target/ueb-listener-*-SNAPSHOT.jar
+ 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 $ccsdk_src_folder/sli/plugins/$plugin/$component/target/$plugin-$component-*-SNAPSHOT.jar
+ asserts_file_exist ${src_folders[ccsdk]}/sli/plugins/$plugin/$component/target/$plugin-$component-*-SNAPSHOT.jar
done
- asserts_file_exist $ccsdk_src_folder/sli/plugins/$plugin/installer/target/sdnc-$plugin-*-SNAPSHOT-installer.zip
+ asserts_file_exist ${src_folders[ccsdk]}/sli/plugins/$plugin/installer/target/sdnc-$plugin-*-SNAPSHOT-installer.zip
done
}