digital storefront
digital storefront is a model of an e-commerce storefront: browse and search, a product page that shows a real delivery date the network has a feasible, capacity-held path for (priced per delivery tier), a cart, checkout with payment, and order history with tracking. Its differentiator is honest speed: money moves only when a shipment group actually ships.
It is a separate domain inside the
retail-network organisation (in-org, decision D1): it may
consume retailnetwork.* topics and call the network's Open Host Service
storefront routes, and it never produces or consumes a warehouse.* topic,
never calls an in-org or restricted network route, and never stores PII or
card data (only shopperId, shipToAddressId and PSP tokens). The network
owns what can be promised and how it is fulfilled; the storefront owns what a
shopper sees and pays.
All six bounded contexts and the three supporting repos (storefront-bff,
storefront-web, payment-provider-simulator) are built and merged on their
develop branches (refreshed here 2026-10-27). Every storefront service has an
entry in warehouse-infra's terraform/apps.yaml (warehouse-infra develop
d12d05f, checked 2026-12-02); checkout, customer-payments, storefront-bff
and payment-provider-simulator are applied to the k3s cluster (the two
contexts with their A2A agents; no MCP server is switched on), and the
deployment of the other five was not checked here.
The canonical model is
model/model.yaml;
the services were built from it, the 2026-10-27 as-built check folded the
differences it found back into it, and CI gates fail the build when a page
names a message the model does not have or a call the network does not allow.
The six bounded contexts
| Context | One sentence |
|---|---|
pricing | Item prices, sale windows, the delivery charge per tier, a synthetic tax table, and the binding PriceQuote. Core. |
product-discovery | The read side of browsing and search (PostgreSQL FTS + pg_trgm): ProductView and CategoryView projections. |
shopping-cart | Holds intent, the delivery quote and the tier choice per shipment group, with a labelled up-front estimate. |
checkout | The purchase saga: authorize before placing, place through the network, settle in-doubt placements by replay. |
product-content | Descriptions, media, attributes and the category tree for items the network already knows. Generic. |
customer-payments | Authorize, capture per shipment group, release, refund and re-authorize through a payment provider. Generic. |
Each context is its own Go service repo (IQVO/<context>), with
apis/openapi.yaml, apis/asyncapi.yaml, its own Postgres database, Kafka for
CloudEvents 1.0 (structured mode), and the fleet observability standard (logs,
metrics and traces over OTLP, one Tier-2 business counter each), adopted on
2026-10-26/27. checkout and customer-payments also ship a read-only MCP
server (cmd/mcp, registered in warehouse-infra and switched off) and a
read-only A2A agent (cmd/a2a, deployed; see the A2A agents
page). Every context page has a Service and operations section.
The experience layer — storefront-bff (Go, the only storefront edge under
/api/storefront, no database and no Kafka) and storefront-web (React 19,
React Router 7 SSR) — carries no domain model. payment-provider-simulator
stands in for the external payment provider with deterministic test tokens.
See Edge and supporting components.
How to read this site
- Benchmarks: the third-party research the design rules rest on.
- Strategic Design: subdomain classification, context map, ubiquitous language, event standard (generated from the model), and the Model Gap Register (S1-S6).
- Bounded Contexts: the six contexts at a glance and their 14-page ddd-crew packs, each with the service facts on its index page.
- Edge and supporting components: the BFF route table, the web app and the payment simulator's test tokens.
- Architecture Decisions: every ADR of the nine repos.
- API Reference: the REST contracts of the six
contexts and the BFF, copied from each repo's
develop.
Disclaimer
This project is a domain-driven design study. It is not associated with, endorsed by or affiliated with any company, and it uses no company's code, data, logos or trademarks. All names, figures and examples are illustrative or synthetic.