Aligning FTC's for Mediator with Custom Adapter
[nonrtric.git] / test / common / test_env-oran-h-release.sh
1 #!/bin/bash
2
3 #  ============LICENSE_START===============================================
4 #  Copyright (C) 2020-2023 Nordix Foundation. All rights reserved.
5 #  Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved.
6 #  ========================================================================
7 #  Licensed under the Apache License, Version 2.0 (the "License");
8 #  you may not use this file except in compliance with the License.
9 #  You may obtain a copy of the License at
10 #
11 #       http://www.apache.org/licenses/LICENSE-2.0
12 #
13 #  Unless required by applicable law or agreed to in writing, software
14 #  distributed under the License is distributed on an "AS IS" BASIS,
15 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 #  See the License for the specific language governing permissions and
17 #  limitations under the License.
18 #  ============LICENSE_END=================================================
19 #
20 #Profile for ORAN H release
21 TEST_ENV_PROFILE="ORAN-H-RELEASE"
22 FLAVOUR="ORAN"
23
24 ########################################
25 ## Nexus repo settings
26 ########################################
27
28 # Nexus repos for developed images
29 NEXUS_PROXY_REPO="nexus3.o-ran-sc.org:10001/"
30 NEXUS_RELEASE_REPO="nexus3.o-ran-sc.org:10002/"
31 NEXUS_SNAPSHOT_REPO="nexus3.o-ran-sc.org:10003/"
32 NEXUS_STAGING_REPO="nexus3.o-ran-sc.org:10004/"
33
34 # Nexus repos for images used by test (not developed by the project)
35 NEXUS_RELEASE_REPO_ONAP="nexus3.onap.org:10002/"  # Only for released ONAP images
36 NEXUS_RELEASE_REPO_ORAN=$NEXUS_RELEASE_REPO
37
38 ########################################
39 # Set up of image and tags for the test.
40 ########################################
41
42 # NOTE: One environment variable containing the image name and tag is create by the test script
43 # for each image from the env variables below.
44 # The variable is created by removing the suffix "_BASE" from the base image variable name.
45 # Example: A1PMS_IMAGE_BASE -> A1PMS_IMAGE
46 # This var will point to the local or remote image depending on cmd line arguments.
47 # In addition, the repo and the image tag version are selected from the list of image tags based on the cmd line argument.
48 # For images built by the script, only tag #1 shall be specified
49 # For project images, only tag #1, #2, #3 and #4 shall be specified
50 # For ORAN images (non project), only tag #5 shall be specified
51 # For ONAP images (non project), only tag #6 shall be specified
52 # For all other images, only tag #7 shall be specified
53 # 1 XXX_LOCAL: local images: <image-name>:<local-tag>
54 # 2 XXX_REMOTE_SNAPSHOT: snapshot images: <snapshot-nexus-repo><image-name>:<snapshot-tag>
55 # 3 XXX_REMOTE: staging images: <staging-nexus-repo><image-name>:<staging-tag>
56 # 4 XXX_REMOTE_RELEASE: release images: <release-nexus-repo><image-name>:<release-tag>
57 # 5 XXX_REMOTE_RELEASE_ORAN: ORAN release images: <oran-release-nexus-repo><image-name>:<release-tag>
58 # 6 XXX_REMOTE_RELEASE_ONAP: ONAP release images: <onap-release-nexus-repo><image-name>:<release-tag>
59 # 7 XXX_PROXY: other images, not produced by the project: <proxy-nexus-repo><mage-name>:<proxy-tag>
60
61
62 # A1PMS base image and tags
63 A1PMS_IMAGE_BASE="o-ran-sc/nonrtric-plt-a1policymanagementservice"
64 A1PMS_IMAGE_TAG_LOCAL="2.6.0-SNAPSHOT"
65 A1PMS_IMAGE_TAG_REMOTE_SNAPSHOT="2.6.0-SNAPSHOT"
66 A1PMS_IMAGE_TAG_REMOTE="2.6.0"
67 A1PMS_IMAGE_TAG_REMOTE_RELEASE="2.6.0"
68
69 # ICS image and tags
70 ICS_IMAGE_BASE="o-ran-sc/nonrtric-plt-informationcoordinatorservice"
71 ICS_IMAGE_TAG_LOCAL="1.5.0-SNAPSHOT"
72 ICS_IMAGE_TAG_REMOTE_SNAPSHOT="1.5.0-SNAPSHOT"
73 ICS_IMAGE_TAG_REMOTE="1.5.0"
74 ICS_IMAGE_TAG_REMOTE_RELEASE="1.5.0"
75 #Note: Update var ICS_FEATURE_LEVEL if image version is changed
76
77 #Control Panel image and tags
78 CONTROL_PANEL_IMAGE_BASE="o-ran-sc/nonrtric-controlpanel"
79 CONTROL_PANEL_IMAGE_TAG_LOCAL="2.5.0-SNAPSHOT"
80 CONTROL_PANEL_IMAGE_TAG_REMOTE_SNAPSHOT="2.5.0-SNAPSHOT"
81 CONTROL_PANEL_IMAGE_TAG_REMOTE="2.5.0"
82 CONTROL_PANEL_IMAGE_TAG_REMOTE_RELEASE="2.5.0"
83
84
85 # Gateway image and tags
86 NRT_GATEWAY_IMAGE_BASE="o-ran-sc/nonrtric-gateway"
87 NRT_GATEWAY_IMAGE_TAG_LOCAL="1.2.0-SNAPSHOT"
88 NRT_GATEWAY_IMAGE_TAG_REMOTE_SNAPSHOT="1.2.0-SNAPSHOT"
89 NRT_GATEWAY_IMAGE_TAG_REMOTE="1.2.0"
90 NRT_GATEWAY_IMAGE_TAG_REMOTE_RELEASE="1.2.0"
91
92
93 # SDNC A1 Controller image and tags - Note using released honolulu ONAP image
94 SDNC_A1_CONTROLLER_IMAGE_BASE="onap/sdnc-image"
95 SDNC_A1_CONTROLLER_IMAGE_TAG_REMOTE_RELEASE_ONAP="2.4.2"
96 #No local image for ONAP SDNC, remote release image always used
97
98 # ORAN SDNC adapter kept as reference
99 # SDNC A1 Controller image and tags - still using cherry version, no new version for D-Release
100 #SDNC_A1_CONTROLLER_IMAGE_BASE="o-ran-sc/nonrtric-a1-controller"
101 #SDNC_A1_CONTROLLER_IMAGE_TAG_LOCAL="2.0.1-SNAPSHOT"
102 #SDNC_A1_CONTROLLER_IMAGE_TAG_REMOTE_SNAPSHOT="2.0.1-SNAPSHOT"
103 #SDNC_A1_CONTROLLER_IMAGE_TAG_REMOTE="2.0.1"
104 #SDNC_A1_CONTROLLER_IMAGE_TAG_REMOTE_RELEASE="2.0.1"
105
106 #SDNC DB remote image and tag
107 #The DB is part of SDNC so handled in the same way as SDNC
108 SDNC_DB_IMAGE_BASE="mariadb"
109 SDNC_DB_IMAGE_TAG_REMOTE_PROXY="10.5"
110
111 #Older SDNC db image kept for reference
112 #SDNC DB remote image and tag
113 #SDNC_DB_IMAGE_BASE="mysql/mysql-server"
114 #SDNC_DB_IMAGE_TAG_REMOTE_PROXY="5.6"
115 #No local image for SSDNC DB, remote image always used
116
117
118 # RAPP Catalogue image and tags
119 RAPP_CAT_IMAGE_BASE="o-ran-sc/nonrtric-plt-rappcatalogue"
120 RAPP_CAT_IMAGE_TAG_LOCAL="1.2.0-SNAPSHOT"
121 RAPP_CAT_IMAGE_TAG_REMOTE_SNAPSHOT="1.2.0-SNAPSHOT"
122 RAPP_CAT_IMAGE_TAG_REMOTE="1.2.0"
123 RAPP_CAT_IMAGE_TAG_REMOTE_RELEASE="1.2.0"
124
125
126 # Near RT RIC Simulator image and tags
127 RIC_SIM_IMAGE_BASE="o-ran-sc/a1-simulator"
128 RIC_SIM_IMAGE_TAG_LOCAL="latest"
129 RIC_SIM_IMAGE_TAG_REMOTE_SNAPSHOT="2.5.0-SNAPSHOT"
130 RIC_SIM_IMAGE_TAG_REMOTE="2.5.0"
131 RIC_SIM_IMAGE_TAG_REMOTE_RELEASE="2.5.0"
132
133 # ORAN Near RT RIC Simulator image and tags
134 RICMEDIATOR_SIM_IMAGE_BASE="o-ran-sc/ric-plt-a1"
135 RICMEDIATOR_SIM_IMAGE_TAG_REMOTE_RELEASE_ORAN="3.1.1"
136
137 # ORAN Near RT RIC Simulator DB image and tags
138 RICMEDIATOR_SIM_DB_IMAGE_BASE="o-ran-sc/ric-plt-dbaas"
139 RICMEDIATOR_SIM_DB_IMAGE_TAG_REMOTE_RELEASE_ORAN="0.6.2"
140
141 # DMAAP Mediator Service
142 DMAAP_MED_IMAGE_BASE="o-ran-sc/nonrtric-plt-dmaapmediatorproducer"
143 DMAAP_MED_IMAGE_TAG_LOCAL="1.2.0-SNAPSHOT"
144 DMAAP_MED_IMAGE_TAG_REMOTE_SNAPSHOT="1.2.0-SNAPSHOT"
145 DMAAP_MED_IMAGE_TAG_REMOTE="1.2.0"
146 DMAAP_MED_IMAGE_TAG_REMOTE_RELEASE="1.2.0"
147
148 # DMAAP Adapter Service
149 DMAAP_ADP_IMAGE_BASE="o-ran-sc/nonrtric-plt-dmaapadapter"
150 DMAAP_ADP_IMAGE_TAG_LOCAL="1.3.0-SNAPSHOT"
151 DMAAP_ADP_IMAGE_TAG_REMOTE_SNAPSHOT="1.3.0-SNAPSHOT"
152 DMAAP_ADP_IMAGE_TAG_REMOTE="1.3.0"
153 DMAAP_ADP_IMAGE_TAG_REMOTE_RELEASE="1.3.0"
154
155 # Helm Manager
156 HELM_MANAGER_IMAGE_BASE="o-ran-sc/nonrtric-plt-helmmanager"
157 HELM_MANAGER_IMAGE_TAG_LOCAL="1.3.0-SNAPSHOT"
158 HELM_MANAGER_IMAGE_TAG_REMOTE_SNAPSHOT="1.3.0-SNAPSHOT"
159 HELM_MANAGER_IMAGE_TAG_REMOTE="1.3.0"
160 HELM_MANAGER_IMAGE_TAG_REMOTE_RELEASE="1.3.0"
161
162 # Auth sidecar
163 AUTHSIDECAR_IMAGE_BASE="o-ran-sc/nonrtric-auth-token-fetch"
164 AUTHSIDECAR_IMAGE_TAG_LOCAL="1.1.1-SNAPSHOT"
165 AUTHSIDECAR_IMAGE_TAG_REMOTE_SNAPSHOT="1.1.1-SNAPSHOT"
166 AUTHSIDECAR_IMAGE_TAG_REMOTE="1.1.1"
167 AUTHSIDECAR_IMAGE_TAG_REMOTE_RELEASE="1.1.1"
168
169 #MR stub image and tag
170 MRSTUB_IMAGE_BASE="mrstub"
171 MRSTUB_IMAGE_TAG_LOCAL="latest"
172 #No remote image for MR stub, local image always used
173
174
175 #Callback receiver image and tag
176 CR_IMAGE_BASE="callback-receiver"
177 CR_IMAGE_TAG_LOCAL="latest"
178 #No remote image for CR, local image always used
179
180
181 #Producer stub image and tag
182 PROD_STUB_IMAGE_BASE="producer-stub"
183 PROD_STUB_IMAGE_TAG_LOCAL="latest"
184 #No remote image for producer stub, local image always used
185
186 #Http proxy remote image and tag
187 HTTP_PROXY_IMAGE_BASE="nodejs-http-proxy"
188 HTTP_PROXY_IMAGE_TAG_LOCAL="latest"
189 #No local image for http proxy, remote image always used
190
191 #ONAP Zookeeper remote image and tag
192 ONAP_ZOOKEEPER_IMAGE_BASE="onap/dmaap/zookeeper"
193 ONAP_ZOOKEEPER_IMAGE_TAG_REMOTE_RELEASE_ONAP="6.1.0"
194 #No local image for ONAP Zookeeper, remote image always used
195
196 #ONAP Kafka remote image and tag
197 ONAP_KAFKA_IMAGE_BASE="onap/dmaap/kafka111"
198 ONAP_KAFKA_IMAGE_TAG_REMOTE_RELEASE_ONAP="1.1.1"
199 #No local image for ONAP Kafka, remote image always used
200
201 #ONAP DMAAP-MR remote image and tag
202 ONAP_DMAAPMR_IMAGE_BASE="onap/dmaap/dmaap-mr"
203 ONAP_DMAAPMR_IMAGE_TAG_REMOTE_RELEASE_ONAP="1.3.0"
204 #No local image for ONAP DMAAP-MR, remote image always used
205
206 #Kube proxy remote image and tag
207 KUBE_PROXY_IMAGE_BASE="nodejs-kube-proxy"
208 KUBE_PROXY_IMAGE_TAG_LOCAL="latest"
209 #No remote image for kube proxy, local image always used
210
211 #PVC Cleaner remote image and tag
212 PVC_CLEANER_IMAGE_BASE="ubuntu"
213 PVC_CLEANER_IMAGE_TAG_REMOTE_PROXY="20.10"
214 #No local image for pvc cleaner, remote image always used
215
216 #Kafka Procon image and tag
217 KAFKAPC_IMAGE_BASE="kafka-procon"
218 KAFKAPC_IMAGE_TAG_LOCAL="latest"
219 #No local image for pvc cleaner, remote image always used
220
221 #Chartmusem remote image and tag
222 CHART_MUS_IMAGE_BASE="ghcr.io/helm/chartmuseum"
223 CHART_MUS_IMAGE_TAG_REMOTE_OTHER="v0.13.1"
224 #No local image for chart museum, remote image always used
225
226 #Keycloak remote image and tag
227 KEYCLOAK_IMAGE_BASE="quay.io/keycloak/keycloak"
228 KEYCLOAK_IMAGE_TAG_REMOTE_OTHER="17.0.0"
229 #No local image for chart museum, remote image always used
230
231 # List of app short names produced by the project
232 PROJECT_IMAGES_APP_NAMES="A1PMS ICS CP RC RICSIM NGW DMAAPADP DMAAPMED HELMMANAGER AUTHSIDECAR"  # Add SDNC here if oran image is used
233
234 # List of app short names which images pulled from ORAN
235 ORAN_IMAGES_APP_NAMES=""  # Not used
236
237 # List of app short names which images pulled from ONAP
238 ONAP_IMAGES_APP_NAMES="DMAAPMR SDNC"   # SDNC added as ONAP image
239
240
241 ########################################
242 # Detailed settings per app
243 ########################################
244
245 # Port number variables
246 # =====================
247 # Port number vars <name>_INTERNAL_PORT and <name>_INTERNAL_SECURE_PORT are set as pod/container port in kube and container port in docker
248 #
249 # Port number vars <name>_EXTERNAL_PORT and <name>_EXTERNAL_SECURE_PORT are set as svc port in kube and localhost port in docker
250 #
251 # For some components, eg. MR, can be represented as the MR-STUB and/or the DMAAP MR. For these components
252 # special vars named <name>_LOCALHOST_PORT and <name>_LOCALHOST_SECURE_PORT are used as localhost ports instead of
253 # name>_EXTERNAL_PORT and <name>_EXTERNAL_SECURE_PORT ports in docker in order to prevent overlapping ports on local host
254 #
255 # For KUBE PROXY there are special external port for docker as the proxy exposes also the kube svc port on localhost,
256 # therefore a special set of external port are needed for docker <name>_DOCKER_EXTERNAL_PORT and <name>_DOCKER_EXTERNAL_SECURE_PORT
257
258 DOCKER_SIM_NWNAME="nonrtric-docker-net"                  # Name of docker private network
259
260 KUBE_NONRTRIC_NAMESPACE="nonrtric"                       # Namespace for all nonrtric components
261 KUBE_SIM_NAMESPACE="nonrtric-ft"                         # Namespace for simulators (except MR and RICSIM)
262 KUBE_A1SIM_NAMESPACE="a1-sim"                            # Namespace for a1-p simulators (RICSIM)
263 KUBE_ONAP_NAMESPACE="onap"                               # Namespace for onap (only message router)
264 KUBE_SDNC_NAMESPACE="onap"                               # Namespace for sdnc
265 KUBE_KEYCLOAK_NAMESPACE="keycloak"                       # Namespace for keycloak
266
267 A1PMS_EXTERNAL_PORT=8081                                   # A1PMS container external port (host -> container)
268 A1PMS_INTERNAL_PORT=8081                                   # A1PMS container internal port (container -> container)
269 A1PMS_EXTERNAL_SECURE_PORT=8433                            # A1PMS container external secure port (host -> container)
270 A1PMS_INTERNAL_SECURE_PORT=8433                            # A1PMS container internal secure port (container -> container)
271 A1PMS_APIS="V1 V2"                                         # Supported northbound api versions
272 A1PMS_VERSION="V2"                                         # Tested version of northbound API
273 A1PMS_API_PREFIX="/a1-policy"                              # api url prefix, only for V2
274
275 A1PMS_APP_NAME="policymanagementservice"                   # Name for A1PMS container
276 A1PMS_DISPLAY_NAME="Policy Management Service"
277 A1PMS_HOST_MNT_DIR="./mnt"                                 # Mounted dir, relative to compose file, on the host
278 A1PMS_LOGPATH="/var/log/policy-agent/application.log"      # Path the application log in the A1PMS container
279 A1PMS_APP_NAME_ALIAS="policy-agent-container"              # Alias name, name used by the control panel
280 A1PMS_CONFIG_KEY="policy-agent"                            # Key for consul config
281 A1PMS_PKG_NAME="org.onap.ccsdk.oran.a1policymanagementservice"  # Java base package name
282 A1PMS_ACTUATOR="/actuator/loggers/$A1PMS_PKG_NAME"           # Url for trace/debug
283 A1PMS_ALIVE_URL="$A1PMS_API_PREFIX/v2/status"                # Base path for alive check
284 A1PMS_COMPOSE_DIR="a1pms"                                    # Dir in simulator_group for docker-compose
285 A1PMS_CONFIG_MOUNT_PATH="/opt/app/policy-agent/config"     # Path in container for config file
286 A1PMS_DATA_MOUNT_PATH="/opt/app/policy-agent/data"         # Path in container for data file
287 A1PMS_CONFIG_FILE="application.yaml"                       # Container config file name
288 A1PMS_DATA_FILE="application_configuration.json"           # Container data file name
289 A1PMS_CONTAINER_MNT_DIR="/var/policy-management-service"   # Mounted dir in the container
290 A1PMS_FEATURE_LEVEL="NO-DMAAP ADAPTER-CLASS"               # Space separated list of features
291 A1PMS_ADAPTER_CLASS=""                                     # Class name set by override file
292 A1PMS_ADAPTER_POLICY_TYPE=""                               # Policy type set by override file
293
294 ICS_APP_NAME="informationservice"                        # Name for ICS container
295 ICS_DISPLAY_NAME="Information Coordinator Service"       # Display name for ICS container
296 ICS_EXTERNAL_PORT=8083                                   # ICS container external port (host -> container)
297 ICS_INTERNAL_PORT=8083                                   # ICS container internal port (container -> container)
298 ICS_EXTERNAL_SECURE_PORT=8434                            # ICS container external secure port (host -> container)
299 ICS_INTERNAL_SECURE_PORT=8434                            # ICS container internal secure port (container -> container)
300
301 ICS_LOGPATH="/var/log/information-coordinator-service/application.log" # Path the application log in the ICS container
302 ICS_APP_NAME_ALIAS="information-service-container"       # Alias name, name used by the control panel
303 ICS_HOST_MNT_DIR="./mnt"                                 # Mounted db dir, relative to compose file, on the host
304 ICS_CONTAINER_MNT_DIR="/var/information-coordinator-service" # Mounted dir in the container
305 ICS_ACTUATOR="/actuator/loggers/org.oransc.ics"          # Url for trace/debug
306 ICS_CERT_MOUNT_DIR="./cert"
307 ICS_ALIVE_URL="/status"                                  # Base path for alive check
308 ICS_COMPOSE_DIR="ics"                                    # Dir in simulator_group for docker-compose
309 ICS_CONFIG_MOUNT_PATH=/opt/app/information-coordinator-service/config # Internal container path for configuration
310 ICS_CONFIG_FILE=application.yaml                         # Config file name
311 ICS_FEATURE_LEVEL="TYPE-SUBSCRIPTIONS INFO-TYPE-INFO RESP_CODE_CHANGE_1 DEFAULT_TYPE_VALIDATION"  # Space separated list of features
312
313 MR_DMAAP_APP_NAME="message-router"                       # Name for the Dmaap MR
314 MR_STUB_APP_NAME="mr-stub"                               # Name of the MR stub
315 MR_DMAAP_DISPLAY_NAME="DMAAP Message Router"
316 MR_STUB_DISPLAY_NAME="Message Router stub"
317 MR_STUB_CERT_MOUNT_DIR="./cert"
318 MR_EXTERNAL_PORT=3904                                    # MR dmaap/stub container external port
319 MR_INTERNAL_PORT=3904                                    # MR dmaap/stub container internal port
320 MR_EXTERNAL_SECURE_PORT=3905                             # MR dmaap/stub container external secure port
321 MR_INTERNAL_SECURE_PORT=3905                             # MR dmaap/stub container internal secure port
322 MR_DMAAP_LOCALHOST_PORT=3904                             # MR stub container external port (host -> container)
323 MR_STUB_LOCALHOST_PORT=3908                              # MR stub container external port (host -> container)
324 MR_DMAAP_LOCALHOST_SECURE_PORT=3905                      # MR stub container internal port (container -> container)
325 MR_STUB_LOCALHOST_SECURE_PORT=3909                       # MR stub container external secure port (host -> container)
326 MR_READ_TOPIC="A1-POLICY-AGENT-READ"                     # Read topic
327 MR_WRITE_TOPIC="A1-POLICY-AGENT-WRITE"                   # Write topic
328 MR_READ_URL="/events/$MR_READ_TOPIC/users/policy-agent?timeout=15000&limit=100" # Path to read messages from MR
329 MR_WRITE_URL="/events/$MR_WRITE_TOPIC"                   # Path to write messages to MR
330 MR_STUB_ALIVE_URL="/"                                    # Base path for mr stub alive check
331 MR_DMAAP_ALIVE_URL="/topics"                             # Base path for dmaap-mr alive check
332 MR_DMAAP_COMPOSE_DIR="dmaapmr"                           # Dir in simulator_group for dmaap mr for - docker-compose
333 MR_STUB_COMPOSE_DIR="mrstub"                             # Dir in simulator_group for mr stub for - docker-compose
334 MR_KAFKA_APP_NAME="message-router-kafka"                 # Kafka app name, if just named "kafka" the image will not start...
335 MR_KAFKA_PORT=9092                                       # Kafka port number
336 MR_KAFKA_DOCKER_LOCALHOST_PORT=30098                     # Kafka port number for docker localhost
337 MR_KAFKA_KUBE_NODE_PORT=30099                            # Kafka node port number for kube
338 MR_ZOOKEEPER_APP_NAME="zookeeper"                        # Zookeeper app name
339 MR_ZOOKEEPER_PORT="2181"                                 # Zookeeper port number
340 MR_DMAAP_HOST_MNT_DIR="/mnt"                             # Basedir localhost for mounted files
341 MR_DMAAP_HOST_CONFIG_DIR="/configs1"                      # Config files dir on localhost
342
343 CR_APP_NAME="callback-receiver"                          # Name for the Callback receiver
344 CR_DISPLAY_NAME="Callback receiver"
345 CR_EXTERNAL_PORT=8090                                    # Callback receiver container external port (host -> container)
346 CR_INTERNAL_PORT=8090                                    # Callback receiver container internal port (container -> container)
347 CR_EXTERNAL_SECURE_PORT=8091                             # Callback receiver container external secure port (host -> container)
348 CR_INTERNAL_SECURE_PORT=8091                             # Callback receiver container internal secure port (container -> container)
349 CR_APP_CALLBACK="/callbacks"                             # Url for callbacks
350 CR_APP_CALLBACK_MR="/callbacks-mr"                       # Url for callbacks (data from mr which contains string encoded jsons in a json arr)
351 CR_APP_CALLBACK_TEXT="/callbacks-text"                   # Url for callbacks (data containing text data)
352 CR_ALIVE_URL="/reset"                                    # Base path for alive check
353 CR_COMPOSE_DIR="cr"                                      # Dir in simulator_group for docker-compose
354
355 PROD_STUB_APP_NAME="producer-stub"                       # Name for the Producer stub
356 PROD_STUB_DISPLAY_NAME="Producer Stub"
357 PROD_STUB_EXTERNAL_PORT=8092                             # Producer stub container external port (host -> container)
358 PROD_STUB_INTERNAL_PORT=8092                             # Producer stub container internal port (container -> container)
359 PROD_STUB_EXTERNAL_SECURE_PORT=8093                      # Producer stub container external secure port (host -> container)
360 PROD_STUB_INTERNAL_SECURE_PORT=8093                      # Producer stub container internal secure port (container -> container)
361 PROD_STUB_JOB_CALLBACK="/callbacks/job"                  # Callback path for job create/update/delete
362 PROD_STUB_SUPERVISION_CALLBACK="/callbacks/supervision"  # Callback path for producer supervision
363 PROD_STUB_ALIVE_URL="/"                                  # Base path for alive check
364 PROD_STUB_COMPOSE_DIR="prodstub"                         # Dir in simulator_group for docker-compose
365
366 RIC_SIM_DISPLAY_NAME="Near-RT RIC A1 Simulator"
367 RIC_SIM_BASE="g"                                         # Base name of the RIC Simulator container, shall be the group code
368                                                          # Note, a prefix is added to each container name by the .env file in the 'ric' dir
369 RIC_SIM_PREFIX="ricsim"                                  # Prefix added to ric container name, added in the .env file in the 'ric' dir
370                                                          # This prefix can be changed from the command line
371 RIC_SIM_INTERNAL_PORT=8085                               # RIC Simulator container internal port (container -> container).
372                                                          # (external ports allocated by docker)
373 RIC_SIM_INTERNAL_SECURE_PORT=8185                       # RIC Simulator container internal secure port (container -> container).
374                                                          # (external ports allocated by docker)
375 RIC_SIM_CERT_MOUNT_DIR="./cert"
376
377 RIC_SIM_COMPOSE_DIR="ric"                                # Dir in simulator group for docker compose
378 RIC_SIM_ALIVE_URL="/"                                    # Base path for alive check
379 RIC_SIM_COMMON_SVC_NAME=""                               # Name of svc if one common svc is used for all ric sim groups (stateful sets)
380
381 RICMEDIATOR_SIM_DISPLAY_NAME="ORAN Near-RT RIC A1 Simulator"
382 RICMEDIATOR_SIM_DB_DISPLAY_NAME="ORAN Near-RT RIC A1 Simulator DB"
383 RICMEDIATOR_SIM_BASE="g"                                     # Base name of the RIC Simulator container, shall be the group code
384                                                          # Note, a prefix is added to each container name by the .env file in the 'ric' dir
385 RICMEDIATOR_SIM_PREFIX="ricsim"                              # Prefix added to ric container name, added in the .env file in the 'ric' dir
386                                                          # This prefix can be changed from the command line
387 RICMEDIATOR_SIM_INTERNAL_PORT=10000                      # RIC Simulator container internal port (container -> container).
388                                                          # (external ports allocated by docker)
389 RICMEDIATOR_SIM_INTERNAL_SECURE_PORT=10001               # RIC Simulator container internal secure port (container -> container).
390                                                          # (external ports allocated by docker)
391                                                          # This port number is not supported by app, kept only for consistency with other ric sims
392 RICMEDIATOR_SIM_CERT_MOUNT_DIR="./cert"
393
394 RICMEDIATOR_SIM_COMPOSE_DIR="ricmediator"                # Dir in simulator group for docker compose
395 RICMEDIATOR_SIM_ALIVE_URL="/a1-p/healthcheck"            # Base path for alive check
396 RICMEDIATOR_SIM_COMMON_SVC_NAME=""                       # Name of svc if one common svc is used for all ric sim groups (stateful sets)
397
398
399 # For ONAP sdnc
400 SDNC_APP_NAME="a1controller"                             # Name of the SNDC A1 Controller container
401 SDNC_DISPLAY_NAME="SDNC A1 Controller"
402 SDNC_EXTERNAL_PORT=8282                                  # SNDC A1 Controller container external port (host -> container)
403 SDNC_INTERNAL_PORT=8181                                  # SNDC A1 Controller container internal port (container -> container)
404 SDNC_EXTERNAL_SECURE_PORT=8443                           # SNDC A1 Controller container external secure port (host -> container)
405 SDNC_INTERNAL_SECURE_PORT=8443                           # SNDC A1 Controller container internal secure port (container -> container)
406 SDNC_DB_APP_NAME="sdncdb"                                # Name of the SDNC DB container
407 SDNC_A1_TRUSTSTORE_PASSWORD="a1adapter"                  # SDNC truststore password
408 SDNC_USER="admin"                                        # SDNC username
409 SDNC_PWD="admin"                                         # SNDC PWD
410 SDNC_PWD="Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"   # SNDC PWD
411 #SDNC_API_URL="/rests/operations/A1-ADAPTER-API:"         # Base url path for SNDC API (for upgraded sdnc)
412 SDNC_API_URL="/restconf/operations/A1-ADAPTER-API:"      # Base url path for SNDC API
413 SDNC_ALIVE_URL="/apidoc/explorer/"                       # Base url path for SNDC API docs (for alive check)
414 SDNC_COMPOSE_DIR="sdnc"
415 SDNC_COMPOSE_FILE="docker-compose-2.yml"
416 SDNC_KUBE_APP_FILE="app2.yaml"
417 SDNC_KARAF_LOG="/opt/opendaylight/data/log/karaf.log"    # Path to karaf log
418 #SDNC_RESPONSE_JSON_KEY="A1-ADAPTER-API:output"           # Key name for output json in replies from sdnc (for upgraded sdnc)
419 SDNC_RESPONSE_JSON_KEY="output"                          # Key name for output json in replies from sdnc
420 SDNC_FEATURE_LEVEL=""                                    # Space separated list of features
421
422 RAPP_CAT_APP_NAME="rappcatalogueservice"                 # Name for the RAPP Catalogue
423 RAPP_CAT_DISPLAY_NAME="RAPP Catalogue"
424 RAPP_CAT_EXTERNAL_PORT=8680                              # RAPP Catalogue container external port (host -> container)
425 RAPP_CAT_INTERNAL_PORT=8680                              # RAPP Catalogue container internal port (container -> container)
426 RAPP_CAT_EXTERNAL_SECURE_PORT=8633                       # RAPP Catalogue container external secure port (host -> container)
427 RAPP_CAT_INTERNAL_SECURE_PORT=8633                       # RAPP Catalogue container internal secure port (container -> container)
428 RAPP_CAT_ALIVE_URL="/services"                           # Base path for alive check
429 RAPP_CAT_COMPOSE_DIR="rapp_catalogue"                    # Dir in simulator_group for docker-compose
430
431 CONTROL_PANEL_APP_NAME="controlpanel"                    # Name of the Control Panel container
432 CONTROL_PANEL_DISPLAY_NAME="Control Panel"
433 CONTROL_PANEL_EXTERNAL_PORT=8080                         # Control Panel container external port (host -> container)
434 CONTROL_PANEL_INTERNAL_PORT=8080                         # Control Panel container internal port (container -> container)
435 CONTROL_PANEL_EXTERNAL_SECURE_PORT=8880                  # Control Panel container external port (host -> container)
436 CONTROL_PANEL_INTERNAL_SECURE_PORT=8082                  # Control Panel container internal port (container -> container)
437 CONTROL_PANEL_LOGPATH="/var/log/nonrtric-gateway/application.log"  # Path the application log in the Control Panel container
438 CONTROL_PANEL_ALIVE_URL="/"                              # Base path for alive check
439 CONTROL_PANEL_COMPOSE_DIR="control_panel"                # Dir in simulator_group for docker-compose
440 CONTROL_PANEL_CONFIG_FILE=nginx.conf                     # Config file name
441 CONTROL_PANEL_HOST_MNT_DIR="./mnt"                       # Mounted dir, relative to compose file, on the host
442 CONTROL_PANEL_CONFIG_MOUNT_PATH=/etc/nginx               # Container internal path for config
443 CONTROL_PANEL_NGINX_KUBE_RESOLVER="kube-dns.kube-system.svc.cluster.local valid=5s"  #nginx resolver for kube
444 CONTROL_PANEL_NGINX_DOCKER_RESOLVER="127.0.0.11"         # nginx resolver for docker
445 CONTROL_PANEL_PATH_POLICY_PREFIX="/a1-policy/"           # Path prefix for forwarding policy calls to NGW
446 CONTROL_PANEL_PATH_ICS_PREFIX="/data-producer/"          # Path prefix for forwarding ics calls to NGW
447 CONTROL_PANEL_PATH_ICS_PREFIX2="/data-consumer/"         # Path prefix for forwarding ics calls to NGW
448
449 NRT_GATEWAY_APP_NAME="nonrtricgateway"                   # Name of the Gateway container
450 NRT_GATEWAY_DISPLAY_NAME="NonRT-RIC Gateway"
451 NRT_GATEWAY_EXTERNAL_PORT=9090                           # Gateway container external port (host -> container)
452 NRT_GATEWAY_INTERNAL_PORT=9090                           # Gateway container internal port (container -> container)
453 NRT_GATEWAY_EXTERNAL_SECURE_PORT=9091                    # Gateway container external port (host -> container)
454 NRT_GATEWAY_INTERNAL_SECURE_PORT=9091                    # Gateway container internal port (container -> container)
455 NRT_GATEWAY_LOGPATH="/var/log/nonrtric-gateway/application.log" # Path the application log in the Gateway container
456 NRT_GATEWAY_HOST_MNT_DIR="./mnt"                         # Mounted dir, relative to compose file, on the host
457 NRT_GATEWAY_ALIVE_URL="/actuator/metrics"                # Base path for alive check
458 NRT_GATEWAY_COMPOSE_DIR="ngw"                            # Dir in simulator_group for docker-compose
459 NRT_GATEWAY_CONFIG_MOUNT_PATH=/opt/app/nonrtric-gateway/config  # Container internal path for config
460 NRT_GATEWAY_CONFIG_FILE=application.yaml                 # Config file name
461 NRT_GATEWAY_PKG_NAME="org.springframework.cloud.gateway" # Java base package name
462 NRT_GATEWAY_ACTUATOR="/actuator/loggers/$NRT_GATEWAY_PKG_NAME" # Url for trace/debug
463
464 HTTP_PROXY_APP_NAME="httpproxy"                          # Name of the Http Proxy container
465 HTTP_PROXY_DISPLAY_NAME="Http Proxy"
466 HTTP_PROXY_EXTERNAL_PORT=8740                            # Http Proxy container external port (host -> container)
467 HTTP_PROXY_INTERNAL_PORT=8080                            # Http Proxy container internal port (container -> container)
468 HTTP_PROXY_EXTERNAL_SECURE_PORT=8742                     # Http Proxy container external secure port (host -> container)
469 HTTP_PROXY_INTERNAL_SECURE_PORT=8433                     # Http Proxy container internal secure port (container -> container)
470 HTTP_PROXY_WEB_EXTERNAL_PORT=8741                        # Http Proxy container external port (host -> container)
471 HTTP_PROXY_WEB_INTERNAL_PORT=8081                        # Http Proxy container internal port (container -> container)
472 HTTP_PROXY_WEB_EXTERNAL_SECURE_PORT=8743                 # Http Proxy container external secure port (host -> container)
473 HTTP_PROXY_WEB_INTERNAL_SECURE_PORT=8434                 # Http Proxy container internal secure port (container -> container
474 HTTP_PROXY_CONFIG_PORT=0                                 # Port number for proxy config, will be set if proxy is started
475 HTTP_PROXY_CONFIG_HOST_NAME=""                           # Proxy host, will be set if proxy is started
476 HTTP_PROXY_ALIVE_URL="/"                                 # Base path for alive check
477 HTTP_PROXY_COMPOSE_DIR="httpproxy"                       # Dir in simulator_group for docker-compose
478 HTTP_PROXY_BUILD_DIR="http-https-proxy"                  # Dir in simulator_group for image build - note, reuses source from kubeproxy
479
480 KUBE_PROXY_APP_NAME="kubeproxy"                          # Name of the Kube Http Proxy container
481 KUBE_PROXY_DISPLAY_NAME="Kube Http Proxy"
482 KUBE_PROXY_EXTERNAL_PORT=8730                            # Kube Http Proxy container external port (host -> container)
483 KUBE_PROXY_INTERNAL_PORT=8080                            # Kube Http Proxy container internal port (container -> container)
484 KUBE_PROXY_EXTERNAL_SECURE_PORT=8782                     # Kube Proxy container external secure port (host -> container)
485 KUBE_PROXY_INTERNAL_SECURE_PORT=8433                     # Kube Proxy container internal secure port (container -> container)
486 KUBE_PROXY_WEB_EXTERNAL_PORT=8731                        # Kube Http Proxy container external port (host -> container)
487 KUBE_PROXY_WEB_INTERNAL_PORT=8081                        # Kube Http Proxy container internal port (container -> container)
488 KUBE_PROXY_WEB_EXTERNAL_SECURE_PORT=8783                 # Kube Proxy container external secure port (host -> container)
489 KUBE_PROXY_WEB_INTERNAL_SECURE_PORT=8434                 # Kube Proxy container internal secure port (container -> container
490
491 KUBE_PROXY_DOCKER_EXTERNAL_PORT=8732                     # Kube Http Proxy container external port, docker (host -> container)
492 KUBE_PROXY_DOCKER_EXTERNAL_SECURE_PORT=8784              # Kube Proxy container external secure port, docker (host -> container)
493 KUBE_PROXY_WEB_DOCKER_EXTERNAL_PORT=8733                 # Kube Http Proxy container external port, docker (host -> container)
494 KUBE_PROXY_WEB_DOCKER_EXTERNAL_SECURE_PORT=8785          # Kube Proxy container external secure port, docker (host -> container)
495
496 KUBE_PROXY_PATH=""                                       # Proxy url path, will be set if proxy is started
497 KUBE_PROXY_ALIVE_URL="/"                                 # Base path for alive check
498 KUBE_PROXY_COMPOSE_DIR="kubeproxy"                       # Dir in simulator_group for docker-compose
499
500 PVC_CLEANER_APP_NAME="pvc-cleaner"                      # Name for Persistent Volume Cleaner container
501 PVC_CLEANER_DISPLAY_NAME="Persistent Volume Cleaner"    # Display name for Persistent Volume Cleaner
502 PVC_CLEANER_COMPOSE_DIR="pvc-cleaner"                   # Dir in simulator_group for yamls
503
504 DMAAP_ADP_APP_NAME="dmaapadapterservice"                 # Name for Dmaap Adapter container
505 DMAAP_ADP_DISPLAY_NAME="Dmaap Adapter Service"           # Display name for Dmaap Adapter container
506 DMAAP_ADP_EXTERNAL_PORT=9087                             # Dmaap Adapter container external port (host -> container)
507 DMAAP_ADP_INTERNAL_PORT=8084                             # Dmaap Adapter container internal port (container -> container)
508 DMAAP_ADP_EXTERNAL_SECURE_PORT=9088                      # Dmaap Adapter container external secure port (host -> container)
509 DMAAP_ADP_INTERNAL_SECURE_PORT=8435                      # Dmaap Adapter container internal secure port (container -> container)
510
511 DMAAP_ADP_HOST_MNT_DIR="./mnt"                           # Mounted db dir, relative to compose file, on the host
512 DMAAP_ADP_ACTUATOR="/actuator/loggers/org.oran.dmaapadapter"   # Url for trace/debug
513 DMAAP_ADP_ALIVE_URL="/actuator/info"                     # Base path for alive check
514 DMAAP_ADP_COMPOSE_DIR="dmaapadp"                         # Dir in simulator_group for docker-compose
515 DMAAP_ADP_CONFIG_MOUNT_PATH="/opt/app/dmaap-adapter-service/config" # Internal container path for configuration
516 DMAAP_ADP_DATA_MOUNT_PATH="/opt/app/dmaap-adapter-service/data" # Path in container for data file
517 DMAAP_ADP_DATA_FILE="application_configuration.json"  # Container data file name
518 DMAAP_ADP_CONFIG_FILE=application.yaml                   # Config file name
519 DMAAP_ADP_CONFIG_FILE_TEMPLATE=application2.yaml         # Template config file name
520 DMAAP_ADP_FEATURE_LEVEL="GENERATED_PROD_NAME FILTERSPEC FILTERSCHEMA"            # Space separated list of features
521                                                          # FILTERSCHEMA corrected type schema from rel h
522 DMAAP_MED_APP_NAME="dmaapmediatorservice"                # Name for Dmaap Mediator container
523 DMAAP_MED_DISPLAY_NAME="Dmaap Mediator Service"          # Display name for Dmaap Mediator container
524 DMAAP_MED_EXTERNAL_PORT=8085                             # Dmaap Mediator container external port (host -> container)
525 DMAAP_MED_INTERNAL_PORT=8085                             # Dmaap Mediator container internal port (container -> container)
526 DMAAP_MED_EXTERNAL_SECURE_PORT=8185                      # Dmaap Mediator container external secure port (host -> container)
527 DMAAP_MED_INTERNAL_SECURE_PORT=8185                      # Dmaap Mediator container internal secure port (container -> container)
528
529 DMAAP_MED_HOST_MNT_DIR="./mnt"                          # Mounted db dir, relative to compose file, on the host
530 DMAAP_MED_ALIVE_URL="/health_check"                      # Base path for alive check
531 DMAAP_MED_COMPOSE_DIR="dmaapmed"                         # Dir in simulator_group for docker-compose
532 DMAAP_MED_DATA_MOUNT_PATH="/configs"                     # Path in container for data file
533 DMAAP_MED_HOST_DATA_FILE="type_config_1.json"            # Host data file name
534 DMAAP_MED_CONTR_DATA_FILE="type_config.json"             # Container data file name
535 DMAAP_MED_FEATURE_LEVEL="KAFKATYPES FILTERSCHEMA"        # Space separated list of features
536                                                          # KAFKATYPES support for kafka type from rel f
537                                                          # FILTERSCHEMA corrected kafka type schema from rel h
538
539 KAFKAPC_APP_NAME="kafka-procon"                          # Name for the Kafka procon
540 KAFKAPC_DISPLAY_NAME="Kafka Producer/Consumer"
541 KAFKAPC_EXTERNAL_PORT=8096                               # Kafka procon container external port (host -> container)
542 KAFKAPC_INTERNAL_PORT=8090                               # Kafka procon container internal port (container -> container)
543 KAFKAPC_EXTERNAL_SECURE_PORT=8097                        # Kafka procon container external secure port (host -> container)
544 KAFKAPC_INTERNAL_SECURE_PORT=8091                        # Kafka procon container internal secure port (container -> container)
545 KAFKAPC_ALIVE_URL="/"                                    # Base path for alive check
546 KAFKAPC_COMPOSE_DIR="kafka-procon"                       # Dir in simulator_group for docker-compose
547 KAFKAPC_BUILD_DIR="kafka-procon"                         # Build dir
548
549 CHART_MUS_APP_NAME="chartmuseum"                         # Name for the chart museum app
550 CHART_MUS_DISPLAY_NAME="Chart Museum"
551 CHART_MUS_EXTERNAL_PORT=8201                             # chart museum container external port (host -> container)
552 CHART_MUS_INTERNAL_PORT=8080                             # chart museum container internal port (container -> container)
553 CHART_MUS_ALIVE_URL="/health"                            # Base path for alive check
554 CHART_MUS_COMPOSE_DIR="chartmuseum"                      # Dir in simulator_group for docker-compose
555 CHART_MUS_CHART_CONTR_CHARTS="/tmp/charts"               # Local dir container for charts
556
557 HELM_MANAGER_APP_NAME="helmmanagerservice"               # Name for the helm manager app
558 HELM_MANAGER_DISPLAY_NAME="Helm Manager"
559 HELM_MANAGER_EXTERNAL_PORT=8211                          # helm manager container external port (host -> container)
560 HELM_MANAGER_INTERNAL_PORT=8083                          # helm manager container internal port (container -> container)
561 HELM_MANAGER_EXTERNAL_SECURE_PORT=8212                   # helm manager container external secure port (host -> container)
562 HELM_MANAGER_INTERNAL_SECURE_PORT=8443                   # helm manager container internal secure port (container -> container)
563 HELM_MANAGER_CLUSTER_ROLE=cluster-admin                  # Kubernetes cluster role for helm manager
564 HELM_MANAGER_SA_NAME=helm-manager-sa                     # Service account name
565 HELM_MANAGER_ALIVE_URL="/helm/charts"                    # Base path for alive check
566 HELM_MANAGER_COMPOSE_DIR="helmmanager"                   # Dir in simulator_group for docker-compose
567 HELM_MANAGER_USER="helmadmin"
568 HELM_MANAGER_PWD="itisasecret"
569
570 KEYCLOAK_APP_NAME="keycloak"                             # Name for the keycloak app
571 KEYCLOAK_DISPLAY_NAME="Keycloak"
572 KEYCLOAK_EXTERNAL_PORT=80                                # keycloak container external port (host -> container)
573 KEYCLOAK_INTERNAL_PORT=8080                              # keycloak container internal port (container -> container)
574 KEYCLOAK_ADMIN_URL_PREFIX="/realms/master"
575 KEYCLOAK_REALM_URL_PREFIX="/admin/realms"
576 KEYCLOAK_TOKEN_URL_PREFIX="/realms"
577 KEYCLOAK_ALIVE_URL="/realms/master"                      # Base path for alive check
578 KEYCLOAK_COMPOSE_DIR="keycloak"
579 KEYCLOAK_ADMIN_USER="admin"
580 KEYCLOAK_ADMIN_PWD="admin"
581 KEYCLOAK_ADMIN_CLIENT="admin-cli"
582 KEYCLOAK_KC_PROXY="edge"
583
584 ISTIO_COMPOSE_DIR="istio"
585
586 # See jwt-info.txt in simulator-group/kubeproxy for detailed info
587 ISTIO_GENERIC_JWKS_KEY='{ "keys":[{"kty":"RSA","e":"AQAB","kid":"dc1b272d-124e-417f-b6e3-eda9c0e29509","n":"u1SU1LfVLPHCozMxH2Mo4lgOEePzNm0tRgeLezV6ffAt0gunVTLw7onLRnrq0_IzW7yWR7QkrmBL7jTKEn5u-qKhbwKfBstIs-bMY2Zkp18gnTxKLxoS2tFczGkPLPgizskuemMghRniWaoLcyehkd3qqGElvW_VDL5AaWTg0nLVkjRo9z-40RQzuVaE8AkAFmxZzow3x-VJYKdjykkJ0iT9wCS0DRTXu269V264Vf_3jvredZiKRkgwlL9xNAwxXFg0x_XFw005UWVRIkdgcKWTjpBP2dPwVZ4WWC-9aGVd-Gyn1o0CLelf4rEjGoXbAAEgAqeGUxrcIlbjXfbcmw"}]}'
588 ISTIO_GENERIC_JWT="eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzdWJkb21haW4iLCJpc3MiOiJLVUJFUFJPWFkifQ.T5p9ip8yBRAYpArajFGhUlpfnV0HAbA7dPsSojYx1BNo6nwt_cpt6xJ8x66XwV-KqHud_S8hlnixLBYRtUiU8v7lWdk8RhBwW7w4CJs6n8ByvKsjJU8se18RWbSqsi-IQRsdkMiHz5fKosfCGVj6hI214S_yY988ICV7kl9anQhaD8zUPQQvso2zaAkT1qTgC5pxpZc3lB5526DvzsmYr_gaeE-GcbKW9hFoYppOhItL74IRVqRBs_pbaAauUg-9v_bRaJc5yOo3UMFDNiI2HCB6mdgJTLNb8bsT5qExgcbCRpUnOCF0I6PrvVlGft4zZkvz7I0I-8emVn4m-PV-BA"
589
590 AUTHSIDECAR_APP_NAME="authsidecar"
591 AUTHSIDECAR_DISPLAY_NAME="Authentication Token Fetcher"
592 ########################################
593 # Setting for common curl-base function
594 ########################################
595
596 UUID=""                                                  # UUID used as prefix to the policy id to simulate a real UUID
597                                                          # Testscript need to set the UUID otherwise this empty prefix is used