From: Lott, Christopher (cl778h) Date: Tue, 7 Jul 2020 09:56:07 +0000 (-0400) Subject: Correct doc for alarm message-type value X-Git-Tag: 1.6.0~6 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F4328%2F2;hp=e1efe3b0d8fe2c0e0c17fab73341a0fb15281a76;p=ric-plt%2Fxapp-frame-py.git Correct doc for alarm message-type value Value was previously 13111, now 110. Signed-off-by: Lott, Christopher (cl778h) Change-Id: I62ec74376b12125cb5dc16ceddf4bf439629a646 --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..38b6a85 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,21 @@ +# https://help.github.com/articles/dealing-with-line-endings/ + +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files you want to always be normalized +# and converted to native line endings on checkout. +*.css text +*.htm text diff=html +*.html text diff=html +*.java text diff=java +*.js text +*.jsp text +*.less text +*.properties text +*.sql text +*.xml text + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary diff --git a/docs/alarm_api.rst b/docs/alarm_api.rst index 0734075..ffe37af 100644 --- a/docs/alarm_api.rst +++ b/docs/alarm_api.rst @@ -23,7 +23,7 @@ port number from environment variables defined as the constants `ALARM_MGR_SERVICE_NAME_ENV` and `ALARM_MGR_SERVICE_PORT_ENV` in the `ricxappframe.alarm.alarm` module. The message type is set to constant `RIC_ALARM_UPDATE` in the `ricxappframe.alarm.alarm` module, -currently 13111. +currently 110. The complete API for the Alarm feature appears below. diff --git a/ricxappframe/alarm/alarm.py b/ricxappframe/alarm/alarm.py index 3711165..1048ca7 100644 --- a/ricxappframe/alarm/alarm.py +++ b/ricxappframe/alarm/alarm.py @@ -42,7 +42,7 @@ RETRIES = 4 ############## # constants -RIC_ALARM_UPDATE = 110 +RIC_ALARM_UPDATE = 110 # message type ALARM_MGR_SERVICE_NAME_ENV = "ALARM_MGR_SERVICE_NAME" ALARM_MGR_SERVICE_PORT_ENV = "ALARM_MGR_SERVICE_PORT"