1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. SPDX-License-Identifier: CC-BY-4.0
3 .. Copyright (C) 2020 AT&T Intellectual Property
8 All notable changes to this project will be documented in this file.
10 The format is based on `Keep a Changelog <http://keepachangelog.com/>`__
11 and this project adheres to `Semantic Versioning <http://semver.org/>`__.
16 * Extend and publish class and method documentation as user guide in RST
21 * Use timeout on queue get method to avoid 100% CPU usage (`RIC-354 <https://jira.o-ran-sc.org/browse/RIC-354>`_)
22 * Upgrade to RMR version 4.0.5
27 * Use RMR timeout on receive to avoid 100% CPU usage (`RIC-354 <https://jira.o-ran-sc.org/browse/RIC-354>`_)
28 * Publish message-summary dict keys as constants to avoid hardcoding strings
29 * Add wrapper and test for RMR method rmr_set_vlevel(int)
34 * Upgrade to RMR version 4.0.2
39 * Upgrade to RMR version 3.8.0
45 * Publish API documentation using Sphinx autodoc, which required
46 changes so Sphinx can run when the RMR .so file is not available,
47 such as during a ReadTheDocs build.
48 * Create new subpackage rmr/rmrclib with the C library loaded via
50 * Extend sphinx configuration to mock the new rmrclib subpackage
51 * Add method to get constants from RMR library and detect mock
52 objects to work around a bug in Sphinx 3.0.0.
53 * Split test files into test_rmr and test_rmrclib.
54 * Add function to define argtype and restype values for library functions
55 * Configure intersphinx link for RMR man pages at ReadTheDocs.io
61 * Python rmr has been moved into this repo. The module name has NOT
62 changed in order to make the transition for repos very easy. The
63 only transition needed should be prefixing rmr with ricxappframe in
64 import statements, and to include this rather than rmr in setup.
70 * RMRXapps by default now implement the rmr healthcheck probe;
71 users can also override it with a more complex handler if they
73 * Fix a bug in the unit tests where a payload mismatch wouldn't
74 actually fail the test (would now)
80 * Switch to SI95 for rmr
86 * All xapps (via the base class) now have a logger attribute that can
87 be invoked to provide mdc logging. It is a passthrough to the RIC
88 mdc logger for python (untouched, no value in an API on top at the
95 * Switch tox to use py38
96 * switch to latest builders
102 * Minor breaking change; switches the default behavior RE
103 threading for RMRXapps. The default is not to return execution,
104 but the caller (in `run`) can choose to loop in a thread.
105 * Add Dockerized examples
111 * Large change to the "feel" of this framework: rather than subclass
112 instantiation, xapps now use initialization and registration
113 functions to register handlers
114 * rmr xapps can now register handlers for specific message types (and
115 they must prodive a default callback); if the user does this then
116 "message to function routing" is now handled by the framework itself
117 * RMRXapp now runs the polling loop in a thread, and returns execution
118 back to the caller. The user is then free to loop, or do nothing,
119 and call stop() when they want.
120 * Raises tox coverage minimum to 70 from 50 (currently at 86)
126 * now allows for RMRXapps to call code before entering the infinite
128 * stop is now called before throwing NotImplemented in the case where
129 the client fails to provide a must have callback; this ensures there
130 is no dangling rmr thread
131 * stop now calls rmr_close to correctly free up any port(s)
132 * (breaking) renames `loop` to `entrypoint` since the function does
133 not have to contain a loop (though it most likely does)
134 * Changes wording around the two types of xapps (docs only)
135 * Uses a new version of rmr python that crashes when the rmr mrc fails
136 to init, which prevents an xapp trying to use an unusable rmr
137 * more unit test code coverage
138 * Adds more fields to setup like long_desc and classifiers so the pypi
140 * Removes a bad release file (will be added back in subseq. commit)