ric-plt/alarm-go.git
4 years agoMerge "LN0739_FM_FR12: support for options to dynamically create the AlarmDefinitions...
Abukar Mohamed [Thu, 24 Sep 2020 14:35:17 +0000 (14:35 +0000)]
Merge "LN0739_FM_FR12: support for options to dynamically create the AlarmDefinitions - provided options to dynamically configure the AlarmDefinitions - alarm manager to suppress the alarms if specific problem is unknown to it   (already existign functionality with static AlarmDefinitions ). - provided CLI interface to define alarm definitions - provided GET and DELETE interface for alarm definitions - corrected the run.sh script - corrections for build failure"

4 years agoLN0739_FM_FR12: support for options to dynamically create the AlarmDefinitions 68/4768/4
vipin [Wed, 23 Sep 2020 12:19:58 +0000 (12:19 +0000)]
LN0739_FM_FR12: support for options to dynamically create the AlarmDefinitions
- provided options to dynamically configure the AlarmDefinitions
- alarm manager to suppress the alarms if specific problem is unknown to it
  (already existign functionality with static AlarmDefinitions ).
- provided CLI interface to define alarm definitions
- provided GET and DELETE interface for alarm definitions
- corrected the run.sh script
- corrections for build failure

Change-Id: I78871f429dda255cd5b56ef69d65ca687c933c93
Signed-off-by: vipin <vipin.mavila@nokia.com>
4 years agoLN0739_FM_FR5: support functionality to escalate alarm by changing severity 69/4769/1
Anssi Mannila [Thu, 24 Sep 2020 11:02:57 +0000 (14:02 +0300)]
LN0739_FM_FR5: support functionality to escalate alarm by changing severity

Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
Change-Id: Ie7ceef74390e1dccdced0bfb25c75435a14c3833

4 years agoLN0739_FM_FR8: relaxing the active alarm and alarm history restrictions 67/4767/5
vipin [Tue, 22 Sep 2020 12:04:59 +0000 (12:04 +0000)]
LN0739_FM_FR8: relaxing the active alarm and alarm history restrictions
- new alarms can still be added if max active alarm threshold or alarm
  history threshold is reached. Alarm manager raised new alarm under
  such situations.
- Review comments closed.
- Review comments closed.

Change-Id: I885418dcc19c587d1139f8251eda735b4a2bba00
Signed-off-by: vipin <vipin.mavila@nokia.com>
4 years agoLN0739_FM_FR6: Use local UTC time to update alarm time 54/4754/6
Anssi Mannila [Tue, 22 Sep 2020 09:17:05 +0000 (12:17 +0300)]
LN0739_FM_FR6: Use local UTC time to update alarm time

Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
Change-Id: I390768a131109bb6ddf9cf09b881084500a5f076

4 years agoFix UT 52/4752/4
Mohamed Abukar [Tue, 22 Sep 2020 06:17:24 +0000 (09:17 +0300)]
Fix UT

Change-Id: Ia4fe177ede93f070b97f31c4df81856f815eb88b
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoBumping docker image version 44/4744/1
Mohamed Abukar [Mon, 21 Sep 2020 06:54:57 +0000 (09:54 +0300)]
Bumping docker image version

Change-Id: I7f57a8633e8e3df2393395b2f6fe1e3ad0313aaa
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoRename AlarmAdapter to AlarmManager 20/4720/2
Abukar Mohamed [Fri, 18 Sep 2020 11:41:33 +0000 (11:41 +0000)]
Rename AlarmAdapter to AlarmManager

Change-Id: I1d1443456d724316a07021443d13270feadd976d
Signed-off-by: Abukar Mohamed <abukar.mohamed@nokia.com>
4 years agoA local user interface (CLI) for alarm system 12/4712/2
Mohamed Abukar [Thu, 17 Sep 2020 11:47:50 +0000 (14:47 +0300)]
A local user interface (CLI) for alarm system

Change-Id: I1d1443456d724316a07021443d13270feadd975c
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoSupport for REST interface 91/4691/2
Mohamed Abukar [Wed, 9 Sep 2020 05:07:40 +0000 (08:07 +0300)]
Support for REST interface

Change-Id: I1504c788484143425721a3b4ebb4bbc7cbe85329
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoReleasing Docker image 78/4178/2 bronze
Mohamed Abukar [Thu, 18 Jun 2020 14:53:14 +0000 (17:53 +0300)]
Releasing Docker image

Change-Id: Ie9a2750b852c89a05c86cc17c123dac6a4947ec8
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoMerge "Add license file" 0.4.5 0.5.9
Abukar Mohamed [Thu, 18 Jun 2020 10:12:24 +0000 (10:12 +0000)]
Merge "Add license file"

4 years agoUpdate alert fields 36/4036/2
Mohamed Abukar [Tue, 9 Jun 2020 12:26:00 +0000 (15:26 +0300)]
Update alert fields

Change-Id: Ib7a5e93cabcc5164c060cd01e7037b9b709c454c
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoAdd Dockerfile to support unit testing alarm-go 69/3969/6
Lott, Christopher (cl778h) [Wed, 3 Jun 2020 12:52:14 +0000 (08:52 -0400)]
Add Dockerfile to support unit testing alarm-go

This dockerfile installs the prerequisites to compile the alarm-go
library and run the golang unit tests.
Add logging statements to dump AlarmMessage as struct and as marshalled
to JSON.
Add JSON schema that can be used to validate payloads.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Ib46c524e2e0593124f79be64afa23847612897c8

4 years agoEnable publication to ReadTheDocs 14/3914/5
Lott, Christopher (cl778h) [Fri, 29 May 2020 15:27:32 +0000 (11:27 -0400)]
Enable publication to ReadTheDocs

Add missing .readthedocs.yaml file that is required by the RTD job.
Correct title in index from App Manager to Alarm Go.
Update Dockerfile for latest build image name and tag.
Drop executable bit from text files.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Id46db8adfd219e5531ca9d83bcbea8c73bb2a9d0
Signed-off-by: Abukar Mohamed <abukar.mohamed@nokia.com>
4 years agoAdd license file 44/3844/1
Mohamed Abukar [Tue, 26 May 2020 07:05:04 +0000 (10:05 +0300)]
Add license file

Change-Id: I3411891d3b421074141e38fac2fe7c20363e2df9
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoBronze release 25/3625/1
Mohamed Abukar [Thu, 7 May 2020 16:17:32 +0000 (19:17 +0300)]
Bronze release

Change-Id: I292512c2dcca53f2f5fc0f136bc7d9c3fba7f6c5
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoRelease image 0.4.4 07/3607/3
Mohamed Abukar [Thu, 7 May 2020 04:31:39 +0000 (07:31 +0300)]
Release image 0.4.4

Change-Id: Iff4a4d993a3b0fe8ea7f6574f58f2b3774deae31
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoStatic RT for alarm 47/3247/3 alarm/v0.4.2
Mohamed Abukar [Fri, 10 Apr 2020 18:43:21 +0000 (21:43 +0300)]
Static RT for alarm

Change-Id: I22c96a7f567657af87d15ff6e1fbb91d1517c92c
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoNon-blocking RMR init ... 66/3066/4 alarm/v0.4.1 v0.4.1
Mohamed Abukar [Tue, 31 Mar 2020 06:46:04 +0000 (09:46 +0300)]
Non-blocking RMR init ...

Change-Id: Ibe051b2601e0947e93742b20aaa4ebeffc7aaadb
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoUpdate README, etc 16/2816/3
Mohamed Abukar [Tue, 17 Mar 2020 07:31:55 +0000 (09:31 +0200)]
Update README, etc

Change-Id: I599678d05a66d3f2ddf11ebbcd632931106ffc23
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoMerge "Prepare Dockerfile and script for SONAR"
Abukar Mohamed [Mon, 16 Mar 2020 10:51:05 +0000 (10:51 +0000)]
Merge "Prepare Dockerfile and script for SONAR"

4 years agoPrepare Dockerfile and script for SONAR 71/2771/7
Mohamed Abukar [Fri, 13 Mar 2020 12:40:47 +0000 (14:40 +0200)]
Prepare Dockerfile and script for SONAR

Change-Id: Idb3cc5da4a3388ea7484b40f63775b29eff3461c
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoRemove leading whitespace in .gitreview 73/2773/1
Lott, Christopher (cl778h) [Fri, 13 Mar 2020 13:44:18 +0000 (09:44 -0400)]
Remove leading whitespace in .gitreview

Add default remote key
Drop bogus key-value line created by automation

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I8f422b649b0aee3692298cc53ab38b680775b317

4 years agoAdd UT for REST interface & code refactor 60/2760/3
Mohamed Abukar [Wed, 11 Mar 2020 08:29:40 +0000 (10:29 +0200)]
Add UT for REST interface & code refactor

Change-Id: I50444544bdd77a7a94d0d73b02fc8293356867a0
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoAdd REST interface for testing purpose 23/2723/2 alarm/v0.4.0 v0.0.2
Mohamed Abukar [Mon, 9 Mar 2020 14:46:12 +0000 (16:46 +0200)]
Add REST interface for testing purpose

Change-Id: I32416cd314b70258b5b5c21bed8d127701696938
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoInitial alarm adapter implementation 00/2700/2 v0.4.0
Mohamed Abukar [Wed, 4 Mar 2020 08:01:45 +0000 (10:01 +0200)]
Initial alarm adapter implementation

Change-Id: I2d52584666dfe05f0739084793e70bb4fba75c43
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
4 years agoInitial alarm library implementation 68/2668/6 v0.0.1
Mohamed Abukar [Wed, 4 Mar 2020 08:01:45 +0000 (10:01 +0200)]
Initial alarm library implementation

Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
Change-Id: I1b824d422139d2135cd89905b432824afc7be71a

4 years agoAutomation adds INFO.yaml 99/2599/3
LF Jenkins CI [Wed, 26 Feb 2020 18:40:34 +0000 (18:40 +0000)]
Automation adds INFO.yaml

Change-Id: I22d8a82d4895f7d05218970ab5917cab7a595b45
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoAutomation adds .gitreview 98/2598/2
LF Jenkins CI [Wed, 26 Feb 2020 18:40:23 +0000 (18:40 +0000)]
Automation adds .gitreview

Change-Id: Ia62f5427782b647bd3b1beac8268a0fe8471a2c2
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoInitial empty repository
LF Jenkins CI [Thu, 6 Feb 2020 23:48:01 +0000 (23:48 +0000)]
Initial empty repository