blob: 7ba35ef27e1bacdb3f538654ef78a7881af2f1e9 [file] [log] [blame]
BjornMagnussonXA42dcb262019-04-26 19:29:54 +00001#!/bin/bash
2
ecaiyanlinux796e8fe2019-08-21 12:10:33 +00003# This env variable is only needed if the auto test scripts tests are executed in a different folder than 'auto-test' in the integration repo
BjornMagnussonXA42dcb262019-04-26 19:29:54 +00004# Change '<local-path>' to your path to the integration repo. In addition to the auto-test, the 'common' dir is needed if not executed in the
5# integration repo.
6#
7#export SIM_GROUP=<local-path>/integration/test/mocks/datafilecollector-testharness/simulator-group/
8
9
10# Set the images for the DFC app to use for the auto tests. Do not add the image tag.
11#
12# Remote image shall point to the image in the nexus repository
13export DFC_REMOTE_IMAGE=nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server
14#
15# Local image and tag, shall point to locally built image (non-nexus path)
16export DFC_LOCAL_IMAGE=onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server
17
18
BjornMagnussonXAa79a0432019-07-17 08:26:50 +000019# Common env var for auto-test.
20
21DFC_PORT=8100
22DFC_PORT_SECURE=8433
23DFC_LOGPATH="/var/log/ONAP/application.log"
24DOCKER_SIM_NWNAME="dfcnet"
25CONSUL_HOST="consul-server"
26CONSUL_PORT=8500
27CONFIG_BINDING_SERVICE="config-binding-service"
28MR_PORT=2222
ecaiyanlinux796e8fe2019-08-21 12:10:33 +000029MR_PORT_SECURE=2223
BjornMagnussonXAa79a0432019-07-17 08:26:50 +000030DR_PORT=3906
31DR_PORT_SECURE=3907
32DRR_PORT=3908
33DRR_PORT_SECURE=3909
34DFC_APP_BASE="dfc_app"
35DFC_MAX_NUM=5
36DFC_MAX_IDX=$(($DFC_MAX_NUM - 1))
37SFTP_BASE="dfc_sftp-server"
38FTPS_BASE="dfc_ftpes-server-vsftpd"
39FTP_MAX_NUM=5
40FTP_MAX_IDX=$(($FTP_MAX_NUM - 1))
41SFTP_SIMS_CONTAINER="sftp-server0:22,sftp-server1:22,sftp-server2:22,sftp-server3:22,sftp-server4:22"
42FTPS_SIMS_CONTAINER="ftpes-server-vsftpd0:21,ftpes-server-vsftpd1:21,ftpes-server-vsftpd2:21,ftpes-server-vsftpd3:21,ftpes-server-vsftpd4:21"
43SFTP_SIMS_LOCALHOST="localhost:1022,localhost:1023,localhost:1024,localhost:1025,localhost:1026"
44FTPS_SIMS_LOCALHOST="localhost:1032,localhost:1033,localhost:1034,localhost:1035,localhost:1036"
45
46export SFTP_SIMS=$SFTP_SIMS_CONTAINER #This env will be set to SFTP_SIMS_LOCALHOST if auto test is executed with 'manual-app'
47export FTPS_SIMS=$FTPS_SIMS_CONTAINER #This env will be set to FTPS_SIMS_LOCALHOST if auto test is executed with 'manual-app'
48
49export DR_REDIR_SIM="drsim_redir" #This env will be set to 'localhost' if auto test is executed with 'manual-app'
50