feat(gooddata-sdk): [AUTO] Add IP allowlist policy CRUD endpoints to metadata API#1616
Open
yenkins-admin wants to merge 2 commits into
Open
feat(gooddata-sdk): [AUTO] Add IP allowlist policy CRUD endpoints to metadata API#1616yenkins-admin wants to merge 2 commits into
yenkins-admin wants to merge 2 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1616 +/- ##
==========================================
+ Coverage 79.01% 79.06% +0.05%
==========================================
Files 231 232 +1
Lines 15619 15695 +76
==========================================
+ Hits 12341 12410 +69
- Misses 3278 3285 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
Implemented IP allowlist policy CRUD endpoints. Added CatalogIpAllowlistPolicy entity model, full CRUD service methods (list/get/create/update/delete) plus add_targets/remove_targets action methods on CatalogOrganizationService, public re-export in init.py, and an integration test with VCR cassette reference.
Impact: new_feature | Services:
gooddata-metadata-clientSource commits (gdc-nas):
147ec88by Peter Plocháň — Merge pull request #22741 from gooddata/dnik/md-allowlist-crudFiles changed
packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/ip_allowlist_policy.pypackages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/tests/catalog/test_catalog_organization.pyAgent decisions
Decisions (4)
HTTP layer for missing generated client methods — Use requests.request() directly inside a private _ip_api_call() helper on the service, mirroring GoodDataApiClient._do_post_request()
No generated client_class() for CatalogIpAllowlistPolicy — Return NotImplemented from client_class() with type: ignore, override from_api() and add to_api_dict() for manual (de)serialization
Storing users/user_groups as list[str] (IDs only) — Store users and user_groups as list[str] containing only the entity IDs
addTargets/removeTargets actions reuse _ip_api_call — Route add/remove target action POSTs through the same _ip_api_call helper used for CRUD
Assumptions to verify (4)
Risks (3)
Layers touched (3)
packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/ip_allowlist_policy.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.pypackages/gooddata-sdk/tests/catalog/test_catalog_organization.pyOpenAPI diff
Workflow run
Generated by SDK OpenAPI Sync workflow