From: Lott, Christopher (cl778h) Date: Mon, 22 Jun 2020 20:16:48 +0000 (-0400) Subject: Change alarm msg type to 110 to match RMR constant X-Git-Tag: 1.2.1~1 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=37f008ee7c54649c816b82cb538206dee1dc12c8;p=ric-plt%2Fxapp-frame-py.git Change alarm msg type to 110 to match RMR constant Issue-ID: RIC-514 Signed-off-by: Lott, Christopher (cl778h) Change-Id: I3df9dbfaf9dc5ac1a1bb5180c1eb71b986e2b4cc --- diff --git a/docs/release-notes.rst b/docs/release-notes.rst index ff97a5e..9b48b8a 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -11,6 +11,11 @@ The format is based on `Keep a Changelog `__ and this project adheres to `Semantic Versioning `__. +[1.2.1] - 2020-06-22 +-------------------- +* Revise alarm message type (`RIC-514 `_) + + [1.2.0] - 2020-06-04 -------------------- * Extend RMR module to support wormhole methods diff --git a/ricxappframe/alarm/alarm.py b/ricxappframe/alarm/alarm.py index 9a3ba2d..2c8272d 100644 --- a/ricxappframe/alarm/alarm.py +++ b/ricxappframe/alarm/alarm.py @@ -39,8 +39,7 @@ RETRIES = 4 ############## # constants -RIC_ALARM_UPDATE = 13111 -# RIC_ALARM_QUERY = 13112 # TBD +RIC_ALARM_UPDATE = 110 # Publish dict keys as constants for convenience of client code. # Mixed lower/upper casing to comply with the Adapter JSON requirements. diff --git a/setup.py b/setup.py index 2f598d6..0ae8d23 100644 --- a/setup.py +++ b/setup.py @@ -32,9 +32,9 @@ def _long_descr(): setup( name="ricxappframe", - version="1.2.0", + version="1.2.1", packages=find_packages(exclude=["tests.*", "tests"]), - author="Tommy Carpenter, E. Scott Daniels", + 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=["msgpack", "mdclogpy", "ricsdl>=2.0.3,<3.0.0"], diff --git a/tests/fixtures/test_local.rt b/tests/fixtures/test_local.rt index 10d9321..b94ef0a 100644 --- a/tests/fixtures/test_local.rt +++ b/tests/fixtures/test_local.rt @@ -10,5 +10,5 @@ mse| 0 | -1 | 127.0.0.1:3563 mse| 46656 | 777 | 127.0.0.1:3563 mse| 1 | -1 | 127.0.0.1:3564 mse| 2 | -1 | 127.0.0.1:3564 -mse| 13111 | -1 | 127.0.0.1:4567 +mse| 110 | -1 | 127.0.0.1:4567 newrt|end