Update DFC tests to use file based conifg
[integration.git] / test / mocks / datafilecollector-testharness / simulator-group / docker-compose-setup.sh
1 #/bin/bash
2 #
3 # Modifications copyright (C) 2021 Nokia. All rights reserved.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11
12 # Script for manually starting all simulators with test setting below
13
14 export MR_TC="--tc710"                                 # Test behaviour for MR sim
15 export MR_GROUPS="OpenDcae-c12:PM_MEAS_FILES"          # Comma-separated list of <consumer-group>:<change-identifier>
16 export MR_FILE_PREFIX_MAPPING="PM_MEAS_FILES:A"        # Comma-separated list of <change-identifer>:<file-name-prefix>
17
18 export DR_TC="--tc normal"                             # Test behaviour for DR sim
19 export DR_FEEDS="1:A,2:B,3:C,4:D"                      # Comma-separated of <feed-id>:<file-name-prefixes> for DR sim
20
21 export DR_REDIR_TC="--tc normal"                       # Test behaviour for DR redir sim
22 export DR_REDIR_FEEDS="1:A,2:B,3:C,4:D"                # Comma-separated of <feed-id>:<file-name-prefixes> for DR redir sim
23
24 export NUM_PNFS="700"                                  # Number of unuqie PNFs to generate file for
25 export FILE_SIZE="1MB"                                 # File size for file (1KB, 1MB, 5MB, 50MB or ALL)
26
27 export NUM_FTPFILES="105"                              # Number of FTP files to generate per PNF
28 export FTP_TYPE="SFTP"                                 # Type of FTP files to generate (SFTP, FTPES or ALL)
29 export FTP_FILE_PREFIXES="A,B,C,D"                     # Comma separated list of file name prefixes for ftp files
30 export NUM_FTP_SERVERS=1                               # Number of FTP server to distribute the PNFs (Max 5)
31
32 export NUM_HTTPFILES="105"                              # Number of HTTP files to generate per PNF
33 export HTTP_TYPE="HTTP"                                 # Type of HTTP files to generate (HTTP, HTTPS or ALL)
34 export HTTP_FILE_PREFIXES="A,B,C,D"                     # Comma separated list of file name prefixes for http files
35 export NUM_HTTP_SERVERS=1                               # Number of HTTP server to distribute the PNFs (Max 5)
36 export BASIC_AUTH_LOGIN=demo
37 export BASIC_AUTH_PASSWORD=demo123456!
38
39 export SFTP_SIMS="localhost:21,localhost:22,localhost:23,localhost:24,localhost:25"  # Comma separated list for SFTP servers host:port
40 export FTPES_SIMS="localhost:1022,localhost:1023,localhost:1024,localhost:1026,localhost:1026" # Comma separated list for FTPES servers host:port
41 export HTTP_SIMS="localhost:81,localhost:82,localhost:83,localhost:84,localhost:85"  # Comma separated list for HTTP servers host:port
42 export HTTP_JWT_SIMS="localhost:32001,localhost:32002,localhost:32003,localhost:32004,localhost:32005"  # Comma separated list for HTTP JWT servers host:port
43 export HTTPS_SIMS="localhost:444,localhost:445,localhost:446,localhost:447,localhost:448"  # Comma separated list for HTTPS (enabling client certificate authorization and basic authorization) servers host:port
44 export HTTPS_SIMS_NO_AUTH="localhost:8081,localhost:8082,localhost:8083,localhost:8084,localhost:8085"  # Comma separated list for HTTPS (with no authorization) servers host:port
45 export HTTPS_JWT_SIMS="localhost:32101,localhost:32102,localhost:32103,localhost:32104,localhost:32105"  # Comma separated list for HTTPS JWT servers host:port
46
47 export DR_REDIR_SIM="localhost"                               # Hostname of DR redirect server
48
49 source ./simulators-start.sh