feat(gooddata-sdk): [AUTO] Add GEO_ICON label, GEO_ICON_SHEET setting, CustomGeoCollection metadata#1574
Open
yenkins-admin wants to merge 1 commit intomasterfrom
Open
feat(gooddata-sdk): [AUTO] Add GEO_ICON label, GEO_ICON_SHEET setting, CustomGeoCollection metadata#1574yenkins-admin wants to merge 1 commit intomasterfrom
yenkins-admin wants to merge 1 commit intomasterfrom
Conversation
…, CustomGeoCollection metadata
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1574 +/- ##
===========================================
+ Coverage 0.00% 78.62% +78.62%
===========================================
Files 158 232 +74
Lines 11048 15478 +4430
===========================================
+ Hits 0 12169 +12169
+ Misses 11048 3309 -7739 ☔ 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
Added SDK wrappers for CustomGeoCollection (entity + declarative models with description and name fields), service methods in CatalogOrganizationService (list/get/create_or_update/delete for entity API, get_declarative/put_declarative for layout API), public exports in init.py, and unit tests. GEO_ICON and GEO_ICON_SHEET required no SDK changes since they are already present in the generated API client's enum values.
Impact: new_feature | Services:
gooddata-metadata-clientFiles changed
packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/custom_geo_collection.pypackages/gooddata-sdk/src/gooddata_sdk/catalog/organization/layout/custom_geo_collection.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)
GEO_ICON and GEO_ICON_SHEET enum values — No SDK changes needed for these two enum values
CustomGeoCollection SDK wrapper scope — Create both entity model (CatalogCustomGeoCollection) and declarative layout model (CatalogDeclarativeCustomGeoCollection)
from_api implementation strategy — Use Base.from_api (cattrs.structure) without override
layout module placement — CatalogDeclarativeCustomGeoCollection in catalog/organization/layout/custom_geo_collection.py
Assumptions to verify (4)
Risks (2)
Layers touched (3)
packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/custom_geo_collection.pypackages/gooddata-sdk/src/gooddata_sdk/catalog/organization/layout/custom_geo_collection.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.pypackages/gooddata-sdk/tests/catalog/test_catalog_organization.pySource commits (gdc-nas)
f9a6963Merge pull request #21320 from Vojtasii/vto/geo-icon8dedfa1Merge pull request #21032 from Vojtasii/vto/geoe4fc01bMerge pull request #21508 from Vojtasii/vto/geo-icon-sheet80820c5Merge pull request #21585 from Vojtasii/vto/geo-confige208d68Merge pull request #20263 from hkad98/jkd/custom-geo-nameOpenAPI diff
"LabelType": { "enum": [ + "GEO_ICON", "ATTRIBUTE", "GEO", ... ] }, "WorkspaceSetting": { "enum": [ + "GEO_ICON_SHEET", ... ] }, "CustomGeoCollection": { "properties": { + "description": { "type": "string" }, + "name": { "type": "string" }, "features": { ... } } }Workflow run
Generated by SDK OpenAPI Sync workflow