Files
python-observabilityclient/observabilityclient/rbac.py
Jaromir Wysoglad 72dcb9b9d4 Refactor obsC rbac module
The idea is to make the code usable from outside of the
observabilityclient by Aetos and services like
Aodh or Watcher.

This includes:
- Rename of the class to a more descriptive "PromQLRbac"
- Renaming PromQLRbac functions to better names
- Getting rid of the "disable_rbac" logic in the rbac module
- Using the PrometheusAPIClient directly for Prometheus requests
- Ability to specify any project_id
- Moving the code out of v1/ folder

Change-Id: I920b4730be110e82cd577b81a30e3a5af6280c98
2025-04-22 05:19:13 -04:00

6.2 KiB