agnes-the-ai-analyst/tests
Petr c5c24cb45b Implement OpenMetadata catalog integration (Phase 1)
Add OpenMetadata REST API connector and enricher to merge table/column metadata
from OpenMetadata catalog at sync and query time.

Changes:
- connectors/openmetadata/client.py: HTTP client for OM API
- connectors/openmetadata/enricher.py: Data enrichment with TTL cache
- tests/test_openmetadata_*: Unit tests for client and enricher
- src/config.py: Add catalog_fqn field to TableConfig
- src/data_sync.py: Use enricher in _generate_schema_yaml (catalog > BQ API > data_description.md)
- webapp/app.py: Initialize enricher, enrich catalog data with tags/tier/owners/url
- config/instance.yaml.example: Document openmetadata section

Features:
- FQN auto-derivation: bigquery.{table.id}
- TTL cache (default 1h) to avoid repeated API calls
- Graceful degradation: disabled if token missing, silent on HTTP errors
- Column description priority: catalog > BQ API > (none)
- Table description priority: catalog > data_description.md
2026-03-12 14:07:13 +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 Add dynamic Business Metrics with sample e-commerce definitions 2026-03-10 22:38:44 +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 Add multi-domain support and full-email username generation 2026-03-10 10:50:01 +01:00