2.3 KiB
Data domain: digital-core
The running instance of the digital-core data domain: its stack, its generated data products and its dbt project. Owned and operated by the domain's data product engineering team.
It brings together work from three teams, each in its own repository:
| Input | Owner | Repository | Used as |
|---|---|---|---|
| Domain platform | Data platform team | semprini-data-domain | the platform/ submodule |
| Domain data model | Modelling team | the domain's semprini-domain-*-datamodel repository |
product declarations and entities to generate from |
| Data product templates | Engineering teams | semprini-data-product-templates | what a product directory looks like, and the agent that generates it |
| Path | What |
|---|---|
compose.yml |
The domain stack: includes platform/compose.domain.yml |
.env |
Domain name, ports and secrets (generated, never committed) |
products/<slug>/ |
Data products generated from a template for one model declaration |
dbt/ |
dbt project for experience data products, built into the lakehouse |
dbt/schedules.yml |
When the management zone's Airflow runs them |
Record which model and template versions a product was generated from in its commit
message, e.g. Generate canonical-party from digital-datamodel v1.0.0, templates v0.1.0.
Run
The data management zone must be up first (semprini-data: ./stack-data.sh up mgmt).
git submodule update --init # after cloning
platform/setup-domain.sh # .env with generated secrets (idempotent)
docker compose up -d --build # the domain stack
uv run data-domain deploy <templates>/canonical_data_product/example # platform smoke test
uv run data-domain test <templates>/canonical_data_product/example
Run data-domain from this directory; it acts on the domain repository it is run in.
Register with Keycloak (classification groups), OpenMetadata and Airflow, then start the dbt-worker that the registration enables:
platform/domain-integration.sh register all
docker compose up -d
Ports (127.0.0.1): GraphQL 20000, Kafka 20001, Flink 20002, Trino 20003,
MinIO console 20004. See platform/README.md for the platform.