fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42361?usp=email )
Change subject: s1gw: enable the REST interface, fix wrong REST port ......................................................................
s1gw: enable the REST interface, fix wrong REST port
REST had been disabled because only nightly builds supported it. The latest stable release (v0.4.0) also supports the REST interface, so let's enable it by default.
Also fix the REST port: mp_rest_port was incorrectly set to 8125 (the StatsD port) instead of the actual REST port 8080.
Change-Id: I012749076c652ab541e569026eb01c696ad5adc8 Related: SYS#7052, SYS#7066 --- M s1gw/S1GW_Tests.cfg M s1gw/S1GW_Tests.ttcn 2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/61/42361/1
diff --git a/s1gw/S1GW_Tests.cfg b/s1gw/S1GW_Tests.cfg index 8174b9e..54863f9 100644 --- a/s1gw/S1GW_Tests.cfg +++ b/s1gw/S1GW_Tests.cfg @@ -19,8 +19,8 @@ S1GW_Tests.mp_local_statsd_ip := "127.0.4.10"; S1GW_Tests.mp_local_statsd_port := 8125; S1GW_Tests.mp_rest_host := "127.0.0.1"; -S1GW_Tests.mp_rest_port := 8125; -S1GW_Tests.mp_rest_enable := false; +S1GW_Tests.mp_rest_port := 8080; +S1GW_Tests.mp_rest_enable := true;
[MAIN_CONTROLLER]
diff --git a/s1gw/S1GW_Tests.ttcn b/s1gw/S1GW_Tests.ttcn index f2af12a..1a1a1ab 100644 --- a/s1gw/S1GW_Tests.ttcn +++ b/s1gw/S1GW_Tests.ttcn @@ -66,7 +66,7 @@ integer mp_multi_enb_num := 42; /* number of eNBs in _multi TCs */ integer mp_multi_ue_num := 128; /* number of UEs in _multi TCs */
- boolean mp_rest_enable := false; /* whether enable the HTTP/REST interface */ + boolean mp_rest_enable := true; /* whether enable the HTTP/REST interface */ charstring mp_rest_host := "127.0.0.1"; integer mp_rest_port := 8080; }