agnes-the-ai-analyst/tests
Petr 5fc9526627 Phase 2: Replace demo YAML metrics with OpenMetadata catalog data
- Add get_metric_by_fqn() to OpenMetadataClient
- Add get_metrics() to CatalogEnricher with TTL caching
- Implement _parse_om_metric() to extract category/grain from OpenMetadata tags
- Implement _load_metrics_from_catalog() to fetch and categorize metrics
- Implement _build_om_metric_detail() to convert OpenMetadata format to MetricParser JSON
- Add /api/catalog/metrics/<fqn> endpoint for metric detail modal
- Update _load_metrics_data() to prefer catalog over YAML fallback
- Update metric_modal.js to route catalog:{fqn} to catalog API endpoint
- Delete 10 demo YAML files from docs/metrics/
- Replace metric tests with new unit tests for catalog parsing functions (19 tests)

Catalog metrics provide single source of truth vs maintaining demo YAML files.
UI remains unchanged - only data source changes from YAML to OpenMetadata catalog.
2026-03-12 15:10:42 +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_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 Implement OpenMetadata catalog integration (Phase 1) 2026-03-12 14:07:13 +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