fault/fm-rest-api/fm/fm
Pablo Bovina 51ba594bf8 Handle cgts-client calls for non-admin users
Handle http client exceptions for non-admin
users. This is because some alarms/events
metadata are not available for them.

For example if the call fails the user will see the a
value like:

"host=controller-1.port=enp0s8"

instead of:

"host=controller-1.port=0cbb441a-874d-418e-bd57-7aa1b8ab0044"

Before this if an error in translation happened, the user
experienced an alert badge saying "Unable to retrieve
Events", then the user seen an empty table.

Story: 2009077
Task: 43093

Signed-off-by: Pablo Bovina <pablo.bovina@windriver.com>
Change-Id: I68eeb103a6fe97beb1fb7969a1cd9503210cdcb0
2021-08-31 13:23:46 +00:00
..
api Handle cgts-client calls for non-admin users 2021-08-31 13:23:46 +00:00
cmd Use newer flake8 on python3.8 zuul systems 2020-11-16 13:35:31 -06:00
common Remove fm.common.utils.generate_uuid. 2020-01-17 12:04:21 +08:00
db Remove fm.common.utils.generate_uuid. 2020-01-17 12:04:21 +08:00
objects python3: Fix python3 compatibility issues 2021-08-16 13:10:27 +00:00
tests python3: Fix python3 compatibility issues 2021-08-16 13:10:27 +00:00
__init__.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
config-generator.conf Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00