Fix dummy values in gRPC message sent to RC xApp 25/8125/1 1.2.2
authorAlexandre Huff <alexandrehuff@utfpr.edu.br>
Tue, 26 Apr 2022 12:42:11 +0000 (09:42 -0300)
committerAlexandre Huff <alexandrehuff@utfpr.edu.br>
Tue, 26 Apr 2022 12:42:11 +0000 (09:42 -0300)
commit11a46a4ddf9a5ee409a3ca7686f458ae7de9dadb
treeb11f31e19a4e71b071941bd4f81a457dd8fc33c3
parentf54c7f2e5ea5dd191972a3cf4550845ee0da629e
Fix dummy values in gRPC message sent to RC xApp

TS xApp did not populate ran_name, plmn_id, and e2_node_id
in gRPC messages sent to RC xApp. These fields were always
set up with dummy values.

This change maps the nodeb's information from the handoff target cell,
and populates the required information in corresponding fields.
This change also adds a generic REST client API to send HTTP requests,
and allows the E2 Manager endpoint used by TS to changed using the
environment variable SERVICE_E2MGR_HTTP_BASE_URL.

Issue-ID: RICAPP-187

Signed-off-by: Alexandre Huff <alexandrehuff@utfpr.edu.br>
Change-Id: I45acb87ad2391199658d41457919279e46c97fdf
15 files changed:
.gitignore
CMakeLists.txt
Dockerfile
container-tag.yaml
docs/user-guide.rst
ext/protobuf/CMakeLists.txt
src/ts_xapp/CMakeLists.txt
src/ts_xapp/ts_xapp.cpp
src/utils/CMakeLists.txt [moved from src/ts_xapp/Makefile with 59% similarity]
src/utils/restclient.cpp [new file with mode: 0644]
src/utils/restclient.hpp [new file with mode: 0644]
test/app/CMakeLists.txt
test/app/README
test/app/rc_xapp.cpp
xapp-descriptor/config-file.json [moved from xapp-descriptor/config.json with 96% similarity]