summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-08-17 14:55:55 -0500
committerVictor Morales <victor.morales@intel.com>2017-08-17 15:01:11 -0500
commit94b3e9724e111f2731245277636b4d99f830491b (patch)
tree7ef2983f682e64bf3118624dd928fd3b9e58b949 /bootstrap/vagrant-onap/lib
parentdbdc30ad2cd10a1b6a38885f51f64ff169dfe4a4 (diff)
Refactor VFC UTs
It was refactored the Unit tests and functions of VFC scripts Change-Id: I9e7ba61ace7830c62b52556922e0ec2b4d9efa91 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-105
Diffstat (limited to 'bootstrap/vagrant-onap/lib')
-rwxr-xr-xbootstrap/vagrant-onap/lib/vfc15
1 files changed, 8 insertions, 7 deletions
diff --git a/bootstrap/vagrant-onap/lib/vfc b/bootstrap/vagrant-onap/lib/vfc
index 90a73affd..13e301598 100755
--- a/bootstrap/vagrant-onap/lib/vfc
+++ b/bootstrap/vagrant-onap/lib/vfc
@@ -3,8 +3,8 @@
set -o xtrace
source /var/onap/functions
-src_folder=$git_src_folder/vfc
+src_folder=$git_src_folder/vfc
vfc_repos=("gvnfm/vnflcm" "gvnfm/vnfmgr" "gvnfm/vnfres" "nfvo/catalog" "nfvo/driver/ems" "nfvo/driver/sfc" \
"nfvo/driver/vnfm/gvnfm" "nfvo/driver/vnfm/svnfm" "nfvo/lcm" "nfvo/resmanagement" "nfvo/wfengine")
@@ -44,17 +44,18 @@ function compile_all_vfc_repos {
# install_vfc() - Download and install vfc service from source code
function install_vfc {
- clone_all_vfc_repos
- if [[ "$compile_repo" == "False" ]]; then
- compile_all_vfc_repos
- fi
-
# TODO(sshank): Add further installation steps if necessary.
+ echo ""
}
# init_vfc() - Function that initialize VF-C services
function init_vfc {
- install_python
install_package libmysqlclient-dev
+
+ clone_all_vfc_repos
+ if [[ "$compile_repo" == "False" ]]; then
+ compile_all_vfc_repos
+ fi
+
install_vfc
}