feat(gooddata-sdk): [AUTO] Add parameters include option to analyticalDashboards and visualizations#1601
Open
yenkins-admin wants to merge 2 commits into
Open
feat(gooddata-sdk): [AUTO] Add parameters include option to analyticalDashboards and visualizations#1601yenkins-admin wants to merge 2 commits into
yenkins-admin wants to merge 2 commits into
Conversation
…lDashboards and visualizations
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1601 +/- ##
==========================================
+ Coverage 78.96% 79.00% +0.03%
==========================================
Files 231 231
Lines 15578 15578
==========================================
+ Hits 12301 12307 +6
+ Misses 3277 3271 -6 ☔ 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 integration test for the visualization objects entity endpoint to cover the API change that added a 'parameters' relationship to JsonApiVisualizationObjectOut and changed the 'included' array type from JsonApiVisualizationObjectOutIncludes to JsonApiMetricOutIncludes (which now includes JsonApiParameterOutWithLinks). The existing SDK wrapper code (VisualizationService) required no changes because it already uses _check_return_type=False and SideLoads handles any type of included object. Similarly the AnalyticalDashboard entity response change (added parameters relationship + included) requires no SDK wrapper changes since no SDK method wraps that entity endpoint directly.
Impact: modification | Services:
gooddata-metadata-clientFiles changed
packages/gooddata-sdk/tests/catalog/test_catalog_workspace_content.pyAgent decisions
Decisions (4)
No SDK model changes — Left SDK wrapper code (VisualizationService, SideLoads) unchanged
No AnalyticalDashboard entity test — Only added test for VisualizationService, not for analytical dashboard entity endpoint
Integration test placement — Added test to test_catalog_workspace_content.py
Test assertion style — Used len > 0 and isinstance checks instead of specific counts
Assumptions to verify (4)
Risks (2)
Layers touched (1)
packages/gooddata-sdk/tests/catalog/test_catalog_workspace_content.pySource commits (gdc-nas)
25451effeat(metadata-api): add parameters to analyticalDashboardscf3402ffeat(metadata-api): add parameters to visualizationsOpenAPI diff
Workflow run
Generated by SDK OpenAPI Sync workflow