Dashboard
Data Platform Dashboard
Certified data products, lineage, governance & control plane
Data Flow Check
Verify that the operational data plane (Trino) is reachable.
Not run
Data Flow
Quick Access
External tools & consoles
Data Platform Architecture
Layered design, runtime components, contracts, governance and known gaps
docs/data-platform-architecture.md · Topology: docker-compose.dataplatform.yml
Layered Architecture (L0 → L7)
End-to-End Data Flow
Runtime Components
CDC Connectors
Lakehouse Tables
Orchestration, Contracts & SLOs
Security, Privacy & Tenancy
- Identity: Keycloak 24 (OIDC/SSO), realm
ulticare; JWT carriestenant_countryand roles. - Authorization: Trino file-based access control; admin all, others read-only on
iceberg. - Tenant isolation: row filter
tenant_country = current_user_tenant(); cross-border access requires consent. - PII masking: email, phone and national ID masked for non-admin roles; minimum-necessary filtering by purpose.
- Compliance: POPIA, HIPAA, GDPR, HPCSA rules; consent lifecycle; audit logging with local fallback.
- Contracts: Apicurio Avro (
BACKWARD), Pact consumer contracts, event JSON Schemas incontracts/events/. - Entitlements: marketplace tiers per product in
data-products/marketplace_entitlements.yaml. - Audit: Trino query history, access logs, AI-inference audit events, lineage evidence.
Implementation Status & Gaps
Source Documents & Artifacts
Certified Data Products
48 domain-aligned & stakeholder-specific products with schema, SLAs & access control
Data Lineage
End-to-end traceability from source systems to consumers
Lineage Artifacts
Lineage Coverage
Governance & Catalog
Data contracts, semantic models, KPI marts & marketplace entitlements
Catalog Assets
data-products/product_catalog.json
datahub/config/governance-catalogue.yml
data-products/marketplace_entitlements.yaml
data-products/semantic_models.yaml
data-products/kpi_marts.yaml
data-products/feature_views.yaml
Data Contracts
- Event Contracts: contracts/events/ (17 domains)
- Trino RBAC: trino/config/rules.json, access-control.json
- Column Masking: trino/config/column-masking.json
- Data Quality: Airflow DAG quality gates
- SLA: Hourly/daily freshness per product
Consumers & Entitlements
Data product consumers and marketplace entitlements
Product Consumers & Entitlements
| Product | Tier | Entitled roles | Consumers |
|---|
Pipeline & Data Quality
CDC to ETL triggers, data quality gates, and contract validation
CDC to ETL Trigger Flow
Data Quality Gates
- Freshness: hourly (operational) / daily (analytical)
- Completeness: >99% per critical table
- Accuracy: schema validation on ingest (Apicurio)
- Contract validation: Pact + JSON Schema
- SLA monitoring via Airflow + DataHub
Not run
Per-Epic Sequence Diagrams
Flows are rendered from the .mmd sources in docs/diagrams/ using the vendored Mermaid build — no external CDN. Each epic shows the real participants, topics and tables from this deployment.
Diagrams render when this tab is opened.
Live Tooling
Dashboards
Live KPIs and distributions queried from the Iceberg lakehouse through Trino
Live SQL over iceberg.ulticare. Only CDC-mirrored tables are populated; clinical topics (patient_risk, vitals, chw_visits) stay empty until those connectors are mirrored.
Prescription Review Status
pharmacy__prescriptionsDrone Delivery Pipeline
mobile_clinic__drone_deliveriesTop Prescribed Medications
pharmacy__prescriptionsStock Below Reorder Point
pharmacy__inventoryPrescription Volume by Day
pharmacy__prescriptionsSDG Analytics
Sustainable Development Goal indicators measured from the Iceberg lakehouse through Trino
Scores are computed live from the CDC-mirrored marts (household__*, pharmacy__*, mobile_clinic__*). The alignment index averages only goals whose source fields are populated; goals marked Data gap stay visible so missing pipelines are explicit — SDG-16 needs the compliance/audit tables mirrored first.
Last-Mile Mode Share
mobile_clinic__drone_deliveriesESG Analytics
Environmental, social and governance signals measured from the Iceberg lakehouse through Trino
E and S are computed live from the CDC-mirrored marts (household__*, pharmacy__*, mobile_clinic__*). Governance stays a Data gap until the compliance/consent/audit tables are mirrored. Household utility fields are sparse in the seed, so water, sanitation and electricity read Data gap instead of a misleading 0%.
Pillar Scores
mean of measured indicators per pillarBusiness Analytics
Commercial pipeline, campaign coverage and donor capital read from the business bronze marts
Sales-engine, CRM and donors persist to SQLite, so Debezium cannot capture them. business-extract snapshots their APIs into Kafka and the hourly etl_business_analytics DAG MERGEs the records into business__* Iceberg mirrors — the portal reads them through the same Trino path as every other mart. All monetary values are USD.
Pipeline Funnel
business__sales_opportunitiesPipeline Mix by Sector
open pipeline valueForecast by Close Month
open pipeline, weighted forecast and won valueValue Concentration
deal value by sector and stageDonor Capital
budget vs disbursed by programCountry Allocation
business__donor_country_allocationsCampaign Coverage
people reached vs coverage targetData Control Plane
Ownership, classification, quality, lifecycle, audit & access reviews
Ownership & Stewardship
17 product owners across 17 business domains, each accountable for definition, quality and lifecycle.
- Domain stewards assigned per business capability
- Stewardship dashboard in DataHub
Classification, PII & Residency
- Trino column masking
trino/config/column-masking.json - Row-level security via
access-control.json - Tenant isolation via multi-tenant IAM
- Cross-border data flow controls
Quality SLOs
- Freshness: hourly (operational) / daily (analytical)
- Completeness: >99% per critical table
- Accuracy: schema validation on ingest
- DataHub freshness monitoring enabled
Lifecycle Gates
- Airflow orchestration with retries & SLA alerts
- Debezium CDC with exactly-once semantics
- Iceberg time-travel & rollback capability
- Schema evolution with compatibility checks
Audit Evidence
- Lineage:
docs/lineage/*, DataHub lineage API - Event contracts:
contracts/events/ - Trino query history & access logs
- CDC offset tracking
Access Reviews & Adoption
- Marketplace entitlements per product
data-products/marketplace_entitlements.yaml - RBAC enforced in Trino & DataHub
- Adoption metrics via DataHub usage analytics
- Quarterly access review workflow