and this project adheres to `Semantic Versioning <http://semver.org/>`__.
+[2.0.0] - 2021-06-14
+--------------------
+* Add Xapp registration/deregistration APIs (`RIC-706 <https://jira.o-ran-sc.org/browse/RIC-706>`_)
+* Upgrade SDL 3.0.0 version, SDL scaling (`RIC-699 <https://jira.o-ran-sc.org/browse/RIC-699>`_)
+* Upgrade SDL 3.0.0 version, notification fix (`RIC-795 <https://jira.o-ran-sc.org/browse/RIC-795>`_)
+
+
[1.6.0] - 2020-10-23
--------------------
* Add SDL wrapping API (`RIC-659 <https://jira.o-ran-sc.org/browse/RIC-659>`_)
def handle_events(self):
"""
handle_events is a non-blocking function that returns a tuple containing channel
- name and message received from an event. The registered callback function will
- still be called when an event is received.
+ name and a list of message(s) received from an event. The registered callback
+ function will still be called when an event is received.
This function is called if SDL user decides to handle notifications in its own
event loop. Calling this function after start_event_listener raises an exception.
Returns
-------
Tuple:
- (channel: str, message: str)
+ (channel: str, message: list of str)
"""
return self._sdl.handle_events()
setup(
name="ricxappframe",
- version="1.6.0",
+ version="2.0.0",
packages=find_packages(exclude=["tests.*", "tests"]),
author="O-RAN Software Community",
description="Xapp and RMR framework for Python",
url="https://gerrit.o-ran-sc.org/r/admin/repos/ric-plt/xapp-frame-py",
- install_requires=["inotify_simple", "msgpack", "mdclogpy", "ricsdl>=2.1.0,<3.0.0", "requests"],
+ install_requires=["inotify_simple", "msgpack", "mdclogpy", "ricsdl>=3.0.0,<4.0.0", "requests"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Telecommunications Industry",
# test is cb called
CALLED = True
assert channel == CH
- assert event == EVENT
+ assert event[0] == EVENT
sdl = SDLWrapper(use_fake_sdl=True)
sdl.subscribe_channel(NS, cb, "channel")
nonlocal CALLED
CALLED = True
assert channel == CH
- assert event == EVENT
+ assert event[0] == EVENT
sdl = SDLWrapper(use_fake_sdl=True)
sdl.subscribe_channel(NS, cb, "channel")