fault/fm-rest-api/fm
Dan Voiculeasa c18a7865c6 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
2021-06-17 17:53:11 +03:00
..
fm Fix fm alarm-list and fm alarm-summary 2021-06-17 17:53:11 +03:00
scripts Fix fm-api service startup 2021-06-17 17:44:01 +03:00
.coveragerc Adding a tox coverage target for fm-rest-api. 2020-02-20 15:52:05 -06:00
.stestr.conf Create test framework for python with stestr. 2020-01-16 16:45:45 +08:00
LICENSE fm-rest-api: Fix LICENSE Permissions 2019-06-13 10:25:41 -07:00
fm-api-pmond.conf Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
requirements.txt [DevStack] WSME doesn't always get installed, force it 2019-04-02 23:27:27 +00:00
setup.cfg Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
setup.py add migrate.cfg to wheel package to install image 2019-05-02 07:58:58 +08:00
test-requirements.txt Fix stestr version so py27 tox can pass 2020-03-30 14:43:36 -04:00
tox.ini Add auto-versioning to starlingx/fault packages 2020-05-27 15:19:34 -04:00