MetaCell / cloud-harness

Other
16 stars 5 forks source link

Generic user attributes API #776

Closed filippomc closed 1 month ago

filippomc commented 1 month ago

Closes CH-152

Implemented solution

The quotas Python API has been refactored to extract the logic that traverses users and groups to get the attributes.

How to test this PR

The logic has not changed, only refactored, and it's covered by the user quotas unit tests. An example to call the API is given also in the docs; in order to test it, need to configure keycloak to be reachable on port 8080 and the host to be configured as in the generated values.yaml file

Sanity checks:

Breaking changes (select one):

Possible deployment updates issues (select one):

Test coverage (select one):

Documentation (select one):

Nice to have (if relevant):