| #!/bin/bash |
| |
| # Source code destination folder |
| git_src_folder=/opt |
| |
| declare -A src_folders |
| src_folders=( |
| ["aai"]="$git_src_folder/aai" |
| ["appc"]="$git_src_folder/appc" |
| ["ccsdk"]="$git_src_folder/ccsdk" |
| ["dcae"]="$git_src_folder/dcae" |
| ["mr"]="$git_src_folder/dcae/message-router" |
| ["msb"]="$git_src_folder/msb" |
| ["mso"]="$git_src_folder/mso" |
| ["multicloud"]="$git_src_folder/multicloud" |
| ["oom"]="$git_src_folder/oom" |
| ["policy"]="$git_src_folder/policy" |
| ["portal"]="$git_src_folder/portal" |
| ["robot"]="$git_src_folder/testsuite" |
| ["sdc"]="$git_src_folder/sdc" |
| ["sdnc"]="$git_src_folder/openecomp/sdnc" |
| ["vfc"]="$git_src_folder/vfc" |
| ["vid"]="$git_src_folder/vid" |
| ["vnfsdk"]="$git_src_folder/vnfsdk" |
| ["vvp"]="$git_src_folder/vvp" |
| ) |
| |
| # Repositories list |
| declare -A repos |
| repos=( |
| ["aai"]="aai/aai-common aai/aai-config aai/aai-data aai/aai-service \ |
| aai/babel aai/champ aai/data-router aai/esr-gui aai/esr-server aai/gizmo \ |
| aai/logging-service aai/model-loader aai/resources aai/rest-client \ |
| aai/router-core aai/search-data-service aai/test-config aai/traversal \ |
| aai/sparky-fe aai/sparky-be" |
| ["appc"]="appc appc/deployment" |
| ["ccsdk"]="ccsdk ccsdk/dashboard ccsdk/distribution ccsdk/parent \ |
| ccsdk/platform/blueprints ccsdk/platform/nbapi \ |
| ccsdk/platform/plugins ccsdk/sli ccsdk/sli/adaptors ccsdk/sli/core \ |
| ccsdk/sli/northbound ccsdk/sli/plugins ccsdk/storage \ |
| ccsdk/storage/esaas ccsdk/storage/pgaas ccsdk/utils" |
| ["dcae"]="dcae dcae/apod dcae/apod/analytics dcae/apod/buildtools \ |
| dcae/apod/cdap dcae/collectors dcae/collectors/ves dcae/controller \ |
| dcae/controller/analytics dcae/dcae-inventory dcae/demo \ |
| dcae/demo/startup dcae/demo/startup/aaf dcae/demo/startup/controller \ |
| dcae/demo/startup/message-router dcae/dmaapbc dcae/operation \ |
| dcae/operation/utils dcae/orch-dispatcher dcae/pgaas dcae/utils \ |
| dcae/utils/buildtools" |
| ["msb"]="msb/apigateway msb/discovery msb/java-sdk msb/swagger-sdk" |
| ["mso"]="mso mso/chef-repo mso/docker-config mso/libs mso/mso-config" |
| ["multicloud"]="multicloud multicloud/framework multicloud/openstack \ |
| multicloud/openstack/vmware multicloud/openstack/windriver \ |
| multicloud/azure" |
| ["oom"]="oom oom/registrator" |
| ["policy"]="policy/api policy/common policy/docker \ |
| policy/drools-applications policy/drools-pdp policy/engine \ |
| policy/gui policy/pap policy/pdp" |
| ["portal"]="portal portal/sdk ecompsdkos ui/dmaapbc" |
| ["robot"]="testsuite testsuite/heatbridge testsuite/properties \ |
| testsuite/python-testing-utils" |
| ["sdc"]="sdc sdc/jtosca sdc/sdc-distribution-client \ |
| sdc/sdc-docker-base sdc/sdc-titan-cassandra sdc/sdc-tosca \ |
| sdc/sdc-vnfdesign sdc/sdc-workflow-designer sdc/sdc_common" |
| ["sdnc"]="sdnc/adaptors sdnc/architecture sdnc/core sdnc/features \ |
| sdnc/northbound sdnc/oam sdnc/parent sdnc/plugins" |
| ["vfc"]="vfc/gvnfm vfc/gvnfm/vnflcm vfc/gvnfm/vnfmgr \ |
| vfc/gvnfm/vnfres vfc/nfvo vfc/nfvo/catalog vfc/nfvo/driver \ |
| vfc/nfvo/driver/ems vfc/nfvo/driver/sfc vfc/nfvo/driver/vnfm \ |
| vfc/nfvo/driver/vnfm/gvnfm vfc/nfvo/driver/vnfm/svnfm vfc/nfvo/lcm \ |
| vfc/nfvo/resmanagement vfc/nfvo/wfengine" |
| ["vid"]="vid vid/asdcclient" |
| ["vnfsdk"]="vnfsdk/compliance vnfsdk/functest vnfsdk/lctest \ |
| vnfsdk/model vnfsdk/pkgtools vnfsdk/refrepo vnfsdk/validation" |
| ["vvp"]="vvp/ansible-ice-bootstrap vvp/cms vvp/devkit \ |
| vvp/documentation vvp/engagementmgr vvp/gitlab vvp/image-scanner \ |
| vvp/jenkins vvp/portal vvp/postgresql vvp/test-engine \ |
| vvp/validation-scripts" |
| ) |
| |