fault/fm-rest-api/fm/fm/api/controllers
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
..
v1 Handle cgts-client calls for non-admin users 2021-08-31 13:23:46 +00:00
__init__.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
root.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00