blob: 3cb315c9535be4e64c8fd77d5335b14501ca7cd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
#!/bin/bash
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2017-2018
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#############################################################################
# URL repository
git_url="https://git.onap.org/"
# Source code destination folder
git_src_folder=/opt/onap
declare -A src_folders
src_folders=(
["aai"]="$git_src_folder/aai"
["appc"]="$git_src_folder/appc"
["ccsdk"]="$git_src_folder/ccsdk"
["ci-management"]="$git_src_folder/ci-management"
["dcae"]="$git_src_folder/dcae"
["dmaap"]="$git_src_folder/dmaap"
["integration"]="$git_src_folder/integration"
["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"
["ci-management"]="ci-management"
["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"
["dmaap"]="dmaap dmaap/buscontroller dmaap/datarouter dmaap/dbcapi \
dmaap/messagerouter dmaap/messagerouter/dmaapclient \
dmaap/messagerouter/messageservice dmaap/messagerouter/mirroragent \
dmaap/messagerouter/msgrtr"
["integration"]="integration integration/devtool integration/seccom"
["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"
)
|