agnes-the-ai-analyst/tests
Petr 985f47cdb7 Add catalog export: generate YAML metrics and tables from OpenMetadata
- New `connectors/openmetadata/transformer.py` with shared parsing logic
  for extracting categories, grain, dimensions, expressions from OM tags
- New `src/catalog_export.py` script (python -m src.catalog_export) that
  fetches metrics/tables from OpenMetadata API and writes YAML files to
  /data/docs/metrics/ and /data/docs/tables/ for agent consumption
- Refactor webapp/app.py to delegate to transformer (with inline fallback)
- Add `fields` parameter to client.get_metrics() and get_metric_by_fqn()
  for fetching tags+owners in a single API call
- Fix pre-existing mock bug in test_openmetadata_enricher (base_url)
- 101 new tests (80 transformer + 21 export), all passing
2026-03-15 01:15:30 +01:00
..
__init__.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
test_account_service.py OSS cleanup: remove internal references, harden deployment, add config env interpolation 2026-03-09 07:59:57 +01:00
test_auto_profiling.py Add self-service data onboarding system 2026-03-09 14:25:37 +01:00
test_bigquery_adapter.py Add per-partition streaming sync and hybrid query architecture 2026-03-12 13:20:41 +01:00
test_bigquery_client.py Add per-partition streaming sync and hybrid query architecture 2026-03-12 13:20:41 +01:00
test_catalog_export.py Add catalog export: generate YAML metrics and tables from OpenMetadata 2026-03-15 01:15:30 +01:00
test_config_query_mode.py Add per-partition streaming sync and hybrid query architecture 2026-03-12 13:20:41 +01:00
test_data_sync_query_mode.py Add per-partition streaming sync and hybrid query architecture 2026-03-12 13:20:41 +01:00
test_deploy_guard.py OSS cleanup: remove internal references, harden deployment, add config env interpolation 2026-03-09 07:59:57 +01:00
test_duckdb_manager.py Add per-partition streaming sync and hybrid query architecture 2026-03-12 13:20:41 +01:00
test_email_auth.py Add multi-domain support and full-email username generation 2026-03-10 10:50:01 +01:00
test_generate_sample_data.py Add --format parquet using project's ParquetManager 2026-03-10 21:46:20 +01:00
test_metrics.py Phase 2: Replace demo YAML metrics with OpenMetadata catalog data 2026-03-12 15:10:42 +01:00
test_openmetadata_client.py Implement OpenMetadata catalog integration (Phase 1) 2026-03-12 14:07:13 +01:00
test_openmetadata_enricher.py Add catalog export: generate YAML metrics and tables from OpenMetadata 2026-03-15 01:15:30 +01:00
test_openmetadata_transformer.py Add catalog export: generate YAML metrics and tables from OpenMetadata 2026-03-15 01:15:30 +01:00
test_profiler.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
test_sync_data.py Extract Jira into connectors/jira module 2026-03-09 11:17:50 +01:00
test_table_registry.py Add self-service data onboarding system 2026-03-09 14:25:37 +01:00
test_user_service.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
test_username_generation.py Fix: correct OpenMetadata catalog URL path and add debug logging 2026-03-12 14:34:12 +01:00