Code Review
/
sim
/
a1-interface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Callout hooks towards external server for create and delete operations
[sim/a1-interface.git]
/
near-rt-ric-simulator
/
test
/
EXT_SRV_TEST
/
basic_test.sh
diff --git
a/near-rt-ric-simulator/test/EXT_SRV_TEST/basic_test.sh
b/near-rt-ric-simulator/test/EXT_SRV_TEST/basic_test.sh
old mode 100644
(file)
new mode 100755
(executable)
index
14490be
..
2deec7f
--- a/
near-rt-ric-simulator/test/EXT_SRV_TEST/basic_test.sh
+++ b/
near-rt-ric-simulator/test/EXT_SRV_TEST/basic_test.sh
@@
-34,12
+34,12
@@
fi
if [ $1 == "nonsecure" ]; then
#Default http port for the simulator
if [ $1 == "nonsecure" ]; then
#Default http port for the simulator
- PORT=
808
5
+ PORT=
909
5
# Set http protocol
HTTPX="http"
else
#Default https port for the simulator
# Set http protocol
HTTPX="http"
else
#Default https port for the simulator
- PORT=
818
5
+ PORT=
919
5
# Set https protocol
HTTPX="https"
fi
# Set https protocol
HTTPX="https"
fi
@@
-47,11
+47,11
@@
fi
. ../common/test_common.sh
. ../common/elapse_time_curl.sh
. ../common/test_common.sh
. ../common/elapse_time_curl.sh
-echo "===
Simulato
r hello world ==="
+echo "===
External serve
r hello world ==="
RESULT="OK"
do_curl GET / 200
RESULT="OK"
do_curl GET / 200
-echo "=== Reset
simulato
r a1policy instances ==="
+echo "=== Reset
external serve
r a1policy instances ==="
RESULT="All a1 policy instances deleted"
do_curl POST /serveradmin/deleteinstances 200
RESULT="All a1 policy instances deleted"
do_curl POST /serveradmin/deleteinstances 200