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 * Add Metrics API (`RIC-381 <https://jira.o-ran-sc.org/browse/RIC-381>`_)
21 * Revise Alarm manager to send via RMR wormhole (`RIC-529 <https://jira.o-ran-sc.org/browse/RIC-529>`_)
26 * Add configuration-change API (`RIC-425 <https://jira.o-ran-sc.org/browse/RIC-425>`_)
31 * Revise alarm message type (`RIC-514 <https://jira.o-ran-sc.org/browse/RIC-514>`_)
36 * Extend RMR module to support wormhole methods
37 * Add alarm API (`RIC-380 <https://jira.o-ran-sc.org/browse/RIC-380>`_)
42 * Extend and publish class and method documentation as user guide in RST
47 * Use timeout on queue get method to avoid 100% CPU usage (`RIC-354 <https://jira.o-ran-sc.org/browse/RIC-354>`_)
48 * Upgrade to RMR version 4.0.5
53 * Use RMR timeout on receive to avoid 100% CPU usage (`RIC-354 <https://jira.o-ran-sc.org/browse/RIC-354>`_)
54 * Publish message-summary dict keys as constants to avoid hardcoding strings
55 * Add wrapper and test for RMR method rmr_set_vlevel(int)
60 * Upgrade to RMR version 4.0.2
65 * Upgrade to RMR version 3.8.0
70 * Publish API documentation using Sphinx autodoc, which required
71 changes so Sphinx can run when the RMR .so file is not available,
72 such as during a ReadTheDocs build.
73 * Create new subpackage rmr/rmrclib with the C library loaded via
75 * Extend sphinx configuration to mock the new rmrclib subpackage
76 * Add method to get constants from RMR library and detect mock
77 objects to work around a bug in Sphinx 3.0.0.
78 * Split test files into test_rmr and test_rmrclib.
79 * Add function to define argtype and restype values for library functions
80 * Configure intersphinx link for RMR man pages at ReadTheDocs.io
85 * Python rmr has been moved into this repo. The module name has NOT
86 changed in order to make the transition for repos very easy. The
87 only transition needed should be prefixing rmr with ricxappframe in
88 import statements, and to include this rather than rmr in setup.
93 * RMRXapps by default now implement the rmr healthcheck probe;
94 users can also override it with a more complex handler if they
96 * Fix a bug in the unit tests where a payload mismatch wouldn't
97 actually fail the test (would now)
102 * Switch to SI95 for rmr
107 * All xapps (via the base class) now have a logger attribute that can
108 be invoked to provide mdc logging. It is a passthrough to the RIC
109 mdc logger for python (untouched, no value in an API on top at the
115 * Switch tox to use py38
116 * switch to latest builders
121 * Minor breaking change; switches the default behavior RE
122 threading for RMRXapps. The default is not to return execution,
123 but the caller (in `run`) can choose to loop in a thread.
124 * Add Dockerized examples
129 * Large change to the "feel" of this framework: rather than subclass
130 instantiation, xapps now use initialization and registration
131 functions to register handlers
132 * rmr xapps can now register handlers for specific message types (and
133 they must prodive a default callback); if the user does this then
134 "message to function routing" is now handled by the framework itself
135 * RMRXapp now runs the polling loop in a thread, and returns execution
136 back to the caller. The user is then free to loop, or do nothing,
137 and call stop() when they want.
138 * Raises tox coverage minimum to 70 from 50 (currently at 86)
143 * now allows for RMRXapps to call code before entering the infinite
145 * stop is now called before throwing NotImplemented in the case where
146 the client fails to provide a must have callback; this ensures there
147 is no dangling rmr thread
148 * stop now calls rmr_close to correctly free up any port(s)
149 * (breaking) renames `loop` to `entrypoint` since the function does
150 not have to contain a loop (though it most likely does)
151 * Changes wording around the two types of xapps (docs only)
152 * Uses a new version of rmr python that crashes when the rmr mrc fails
153 to init, which prevents an xapp trying to use an unusable rmr
154 * more unit test code coverage
155 * Adds more fields to setup like long_desc and classifiers so the pypi
157 * Removes a bad release file (will be added back in subseq. commit)