Changes to framework usage: 16/2716/6
authorTommy Carpenter <tc677g@att.com>
Mon, 9 Mar 2020 17:46:37 +0000 (13:46 -0400)
committerTommy Carpenter <tc677g@att.com>
Tue, 10 Mar 2020 13:37:58 +0000 (09:37 -0400)
commitf9cd5cc676355485c2d9c8bc2be22ddad4874382
treeba83f89184ab59430be4f0b75795bcd3bef97a53
parent06c2edc43327744be4ef1114fd99edfd111039fa
Changes to framework usage:

    * rather than subclass instantiation, xapps now use initialization and registration functions to register handlers
    * rmr xapps can now register handlers for specific message types (and they must prodive a default callback); if the user does this then "message to function routing" is now handled by the framework itself
    * RMRXapp now runs the polling loop in a thread, and returns execution back to the caller. The user is then free to loop, or do nothing, and call stop() when they want.
    * Raises tox coverage minimum to 70 from 50 (currently at 86)

Issue-ID: RIC-228
Change-Id: I15bfb708dbd14a46dc1207296e77383642d22b29
Signed-off-by: Tommy Carpenter <tc677g@att.com>
14 files changed:
Dockerfile-Unit-Test [new file with mode: 0644]
docs/overview.rst
docs/release-notes.rst
examples/ping_xapp.py
examples/pong_xapp.py
examples/test_route.rt
ricxappframe/xapp_frame.py
ricxappframe/xapp_rmr.py
setup.py
tests/fixtures/test_local.rt [new file with mode: 0644]
tests/test_init.py [new file with mode: 0644]
tests/test_xapp.py [deleted file]
tests/test_xapps.py [new file with mode: 0644]
tox.ini