feat(gooddata-sdk): [AUTO] Add AI Lake multi-datasource CRUD endpoints to database instances#1599
feat(gooddata-sdk): [AUTO] Add AI Lake multi-datasource CRUD endpoints to database instances#1599yenkins-admin wants to merge 3 commits into
Conversation
…s to database instances
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1599 +/- ##
==========================================
+ Coverage 78.96% 79.01% +0.04%
==========================================
Files 231 231
Lines 15578 15614 +36
==========================================
+ Hits 12301 12337 +36
Misses 3277 3277 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tychtjan
left a comment
There was a problem hiding this comment.
Remove transcripts and try rerunning the ai lake cassettes again
ℹ️ Reply posted — no code changesTip Responded to @tychtjan without committing any code changes (agent judged no files needed to change). Note 📼 Recording cassettes against staging — a follow-up commit will land shortly:
Invalidating cassettes for:
CI will be red until recording lands. That's expected. Actions🛑 1 blocked by policy 🛑 Blocked by policy (1)
Proposed manual action: Claude output available in workflow artifacts. |
|
Tip 📼 ✅ Cassettes recorded for the requested tests.
Pushed in the recording commit. CI should now go green. |
Summary
Added AI Lake multi-datasource CRUD to CatalogAILakeService: new CatalogDataSourceInfo model class, four new service methods (list_database_data_sources, add_database_data_source, remove_database_data_source, update_database_data_source) wrapping the pre-generated AILakeDatabasesApi client, public export of CatalogDataSourceInfo in init.py, and four integration tests with VCR cassettes.
Impact: new_feature | Services:
gooddata-afm-clientFiles changed
packages/gooddata-sdk/src/gooddata_sdk/catalog/ai_lake/service.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/tests/catalog/test_catalog_ai_lake_databases.pyAgent decisions
Decisions (4)
CatalogDataSourceInfo.id nullability — id: str | None = None — optional field defaulting to None
Location of CatalogDataSourceInfo — Defined inline in catalog/ai_lake/service.py alongside CatalogAILakeOperation
Service extension vs. new service class — Extended existing CatalogAILakeService with _ai_lake_databases_api
update parameter naming — update_database_data_source(instance_id, old_data_source_id, new_data_source_id, *, data_source_name=None)
Assumptions to verify (4)
Risks (3)
Layers touched (3)
packages/gooddata-sdk/src/gooddata_sdk/catalog/ai_lake/service.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/tests/catalog/test_catalog_ai_lake_databases.pySource commits (gdc-nas)
5f4ada3Merge pull request #22493 from gooddata/c.mze-cq-2269OpenAPI diff
Workflow run
Generated by SDK OpenAPI Sync workflow