From 91a399ace5df7b6599fa9288e9a356e1466ecd62 Mon Sep 17 00:00:00 2001 From: RehanRaza Date: Mon, 1 Jun 2020 17:31:08 +0200 Subject: [PATCH] Update test scripts to use env variable ALLOW_HTTP Change-Id: I742d19337ce563170f8d7a833f6c94181db705ba Issue-ID: NONRTRIC-240 Signed-off-by: RehanRaza --- near-rt-ric-simulator/test/1.1.x-alpha.2/build_and_start.sh | 2 +- near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh | 2 +- near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/near-rt-ric-simulator/test/1.1.x-alpha.2/build_and_start.sh b/near-rt-ric-simulator/test/1.1.x-alpha.2/build_and_start.sh index 4cabff3..8b8da57 100755 --- a/near-rt-ric-simulator/test/1.1.x-alpha.2/build_and_start.sh +++ b/near-rt-ric-simulator/test/1.1.x-alpha.2/build_and_start.sh @@ -27,6 +27,6 @@ docker build -t a1test . echo "Starting $1 mode" #Run the container in interactive mode, unsecure port 8085, secure port 8185. -docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=1.1.x-alpha.2 -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test +docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=1.1.x-alpha.2 -e ALLOW_HTTP=true -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test diff --git a/near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh b/near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh index 9537d30..2c8cba4 100755 --- a/near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh +++ b/near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh @@ -27,5 +27,5 @@ docker build -t a1test . echo "Starting $1 mode" #Run the container in interactive mode, unsecure port 8085, secure port 8185. -docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=OSC_2.1.0 -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test +docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=OSC_2.1.0 -e ALLOW_HTTP=true -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test diff --git a/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh b/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh index 0d48fbf..0bd0f1c 100755 --- a/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh +++ b/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh @@ -27,4 +27,4 @@ docker build -t a1test . echo "Starting ric-sim" #Run the container in interactive mode, unsecure port 8085, secure port 8185 -docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=STD_1.1.3 -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test \ No newline at end of file +docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=STD_1.1.3 -e ALLOW_HTTP=true -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test \ No newline at end of file -- 2.16.6