fault/fm-rest-api
Dan Voiculeasa 6ad32bbfd0 Fix fm alarm-list and fm alarm-summary
Fixed a typo for accessing a configuration resource.
Fixed a python3 script called by fmManager on initialization. It was
modifying a dictionary while parsing it using an iterator, which doesn't
guarantee all initial elements are visited. The fm database
event_suppression table was left in a bad state, thus alarm list and
alarm summary were empty.

Tests:
  - build and deploy from iso
  - tested with the fm_api_test.py provided in the repo
  - tested some of the commands by raising a config out of date and
targeting the raised alarm
  - fm alarm-list, alarm-delete, alarm-show, alarm-summary, event-list,
event-show, event-suppress-list, event-suppress, event-unsuppress,
event-unsuppress-all produce relevant output

Story: 2008454
Task: 42632
Depends-On: I2d0f4c2c85ea8057258d56632a102b2eac7db388
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Ib3d5276c4a669a3f3f123470c31edf7a07751eaa
(cherry picked from commit c18a7865c6)
2021-08-16 15:17:56 -04:00
..
centos Modify access privilege and ownership of fm config 2020-07-20 12:41:26 -04:00
debian Use StarlingX mail list as Package Maintainer for Debian 2019-06-12 12:06:38 -05:00
fm Fix fm alarm-list and fm alarm-summary 2021-08-16 15:17:56 -04:00
opensuse Add missing Requires to fault components for opensuse 2019-10-08 18:24:30 -05:00
PKG-INFO Update the License in FM packages 2018-09-05 14:54:00 -04:00