agnes-the-ai-analyst/webapp
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
..
static Phase 2: Replace demo YAML metrics with OpenMetadata catalog data 2026-03-12 15:10:42 +01:00
templates Phase 2: Replace demo YAML metrics with OpenMetadata catalog data 2026-03-12 15:10:42 +01:00
utils Add dynamic Business Metrics with sample e-commerce definitions 2026-03-10 22:38:44 +01:00
__init__.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
account_service.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
app.py Phase 2: Replace demo YAML metrics with OpenMetadata catalog data 2026-03-12 15:10:42 +01:00
auth.py Fix: correct OpenMetadata catalog URL path and add debug logging 2026-03-12 14:34:12 +01:00
config.py Add configurable white-label theming via instance.yaml 2026-03-11 13:58:58 +01:00
corporate_memory_service.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
desktop_auth.py Fix: correct OpenMetadata catalog URL path and add debug logging 2026-03-12 14:34:12 +01:00
email_service.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
health_service.py Extract Jira into connectors/jira module 2026-03-09 11:17:50 +01:00
notification_images.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
password_auth.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
sync_settings_service.py Add self-service data onboarding system 2026-03-09 14:25:37 +01:00
telegram_service.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
user_service.py Fix: correct OpenMetadata catalog URL path and add debug logging 2026-03-12 14:34:12 +01:00