feat: add federation API client methods and tests#49
Open
SergioLangaritaBenitez wants to merge 14 commits into
Open
feat: add federation API client methods and tests#49SergioLangaritaBenitez wants to merge 14 commits into
SergioLangaritaBenitez wants to merge 14 commits into
Conversation
- Add 21 new methods to client.py (health, deployments, volumes, buckets, metrics, quotas, system_logs) - Add load_config utility function in _utils.py - Fix make_request UnboundLocalError on POST/PUT without data - Add 29 unit tests across test_client.py and test_utils.py - Fix all style issues (flake8 clean across project)
RK181
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementa los 4 métodos del cliente para la API de federación definida en
federation-api.md:get_federation(service_name)— GET /system/federation/{name}add_federation_members(service_name, members, clusters, storage_providers)— POSTupdate_federation_members(service_name, members, update, clusters, storage_providers)— PUTremove_federation_members(service_name, members, delete)— DELETEIncluye 8 tests unitarios siguiendo el patrón existente.