Add support for config file parsing and watching 87/4487/4 2.2.0
authorE. Scott Daniels <daniels@research.att.com>
Wed, 29 Jul 2020 16:39:54 +0000 (12:39 -0400)
committerE. Scott Daniels <daniels@research.att.com>
Fri, 31 Jul 2020 15:03:24 +0000 (11:03 -0400)
commitd486a17c04f3d6d865f787168d446f4cfea3be25
treeec96b9f778cee268c3007de823bd838aadde3cde
parentef3620529c936a8790d6970c57198b4caee09c0d
Add support for config file parsing and watching

This change introduces the ability to load and parse
the json xapp descriptor (config) file. It also provides
the ability for the xAPP to register a callback function
which is executed when the descriptor is changed.

Issue-ID: RIC-428

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I7a1147aa8055599ef4b36ab17960e32ccb5b741f
30 files changed:
CHANGES
CMakeLists.txt
doc/src/lib/setup.im
doc/src/user/Makefile
doc/src/user/config.im [new file with mode: 0644]
doc/src/user/cpp_frame.im
doc/src/user/example1.im
doc/src/user/example2.im
doc/src/user/example3.im
doc/src/user/example4.im
doc/src/user/example5.im [new file with mode: 0644]
doc/src/user/jhash.im
doc/src/user/user_guide.xfm
docs/rel-notes.rst
docs/user-guide.rst
examples/Makefile
examples/xapp_t3.cpp [new file with mode: 0644]
src/config/CMakeLists.txt [new file with mode: 0644]
src/config/config.cpp [new file with mode: 0644]
src/config/config.hpp [new file with mode: 0644]
src/config/config_cb.cpp [new file with mode: 0644]
src/config/config_cb.hpp [new file with mode: 0644]
src/json/jhash.cpp
src/json/jwrapper.c
test/Makefile
test/config1.json [new file with mode: 0644]
test/config_test.cpp [new file with mode: 0644]
test/metrics_test.cpp
test/unit_test.cpp
test/unit_test.sh