Commit 00f8651
committed
feat: add AAC YAML support, replace Node.js CLI
Add native support for Analytics-as-Code (AAC) YAMLs in the Python SDK,
replacing the experimental Node.js-based gdc CLI with a pure Python
implementation using the gooddata-code-convertors WASM package.
- New aac.py module with individual conversion functions and workspace-level
load/store for all supported AAC types (datasets, metrics, visualizations,
dashboards, plugins, attribute hierarchies)
- Rewritten gdc CLI: no npm/Node.js dependency, reads gooddata.yaml directly
- Config alignment: SDK now understands VSCode plugin config fields
(workspace_id, data_source, source_dir)
- Extended CatalogWorkspaceService with load_and_put_aac_workspace and
get_and_store_aac_workspace methods
- 24 tests covering conversions, format detection, config parsing, and CLI
JIRA: DX-326
risk: low1 parent 35605f6 commit 00f8651
22 files changed
Lines changed: 1228 additions & 196 deletions
File tree
- packages/gooddata-sdk
- src/gooddata_sdk
- catalog/workspace
- cli
- tests
- catalog
- fixtures/aac
- dashboards
- datasets
- metrics
- visualisations
- cli
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
183 | 202 | | |
184 | 203 | | |
185 | 204 | | |
| |||
0 commit comments