fault/fm-rest-api/fm/fm/api/controllers/v1
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
..
__init__.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
alarm.py python3: Fix python3 compatibility issues 2021-08-16 13:10:27 +00:00
base.py python3: Fix python3 compatibility issues 2021-08-16 13:10:27 +00:00
collection.py fault: Clean-up /usr/bin/env instances 2019-06-12 15:28:41 -07:00
event_log.py python3: Fix python3 compatibility issues 2021-08-16 13:10:27 +00:00
event_suppression.py python3: Fix python3 compatibility issues 2021-08-16 13:10:27 +00:00
link.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
query.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
sysinv.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
types.py python3: Fix python3 compatibility issues 2021-08-16 13:10:27 +00:00
utils.py Handle cgts-client calls for non-admin users 2021-08-31 13:23:46 +00:00