Skip to main content

EventStorming

As built

Derived from network/model/model.yaml. This context's service is built (IQVO/customer-returns, decided by ADR 0012); the model carries its as-built contracts, and identifiers (Err... names, routes, CloudEvents types) are the names the service uses. Where the model left a choice open, the service's own ADRs 0001 to 0005 record what it does.

Process-level boards in the ddd-crew EventStorming glossary & cheat sheet notation. Every sticky comes from model.yaml; every hotspot is a residual the model states in a policy or a note. The network-wide board is EventStorming big picture.

StickyColourMeaning here
Commandblue #a5d8ffAuthorizeReturn, IssueLabel, CancelReturn, ApplyOutcome
Aggregateyellow #ffec99ReturnAuthorization
Domain Eventorange #ffc078an event published or consumed
Policylilac #d0bfffa rule from policies
Read Modelgreen #b2f2bbOrderGroupView, ReturnsNetworkView, ReturnOutcomeFacts
External Systempink #fcc2d7another context or an actor
Hotspotred #ff8787an open question

1. The facts arrive​

2. Authorize and decide​

3. Label, cancel, expire​

4. Outcome and restock​

Hotspots​

HotspotWhere it comes from
Nothing stops a second authorization of the same groupAggregate note: two authorizations of one group are distinct aggregates (service ADR 0002 A3)
The label call is off by defaultPolicy ReverseLabelCall: shipping-and-tracking serves POST /return-labels (its ADR 0017), but the call is config-gated; unset, a label request answers label-unavailable
An untouched expired authorization stays AUTHORIZEDPolicy LazyExpiry: there is no sweeper (service ADR 0002 A4)
No fleet vendor reports a graded outcome yetPolicy FirstFittingOutcomeCompletes: vendor-connectivity serves the return advices and the outcome route (its ADR 0014), but the fleet's network-fulfillment has no client for them on its develop
Nothing sets IN_TRANSIT or PICKUP_FAILEDAggregate note: MarkInTransit and MarkPickupFailed have no caller; policy PickupIsRecordedNotRun