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.
| Sticky | Colour | Meaning here |
|---|---|---|
| Command | blue #a5d8ff | AuthorizeReturn, IssueLabel, CancelReturn, ApplyOutcome |
| Aggregate | yellow #ffec99 | ReturnAuthorization |
| Domain Event | orange #ffc078 | an event published or consumed |
| Policy | lilac #d0bfff | a rule from policies |
| Read Model | green #b2f2bb | OrderGroupView, ReturnsNetworkView, ReturnOutcomeFacts |
| External System | pink #fcc2d7 | another context or an actor |
| Hotspot | red #ff8787 | an open question |
1. The facts arrive
2. Authorize and decide
3. Label, cancel, expire
4. Outcome and restock
Hotspots
| Hotspot | Where it comes from |
|---|---|
| Nothing stops a second authorization of the same group | Aggregate note: two authorizations of one group are distinct aggregates (service ADR 0002 A3) |
| The label call is off by default | Policy 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 AUTHORIZED | Policy LazyExpiry: there is no sweeper (service ADR 0002 A4) |
| No fleet vendor reports a graded outcome yet | Policy 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_FAILED | Aggregate note: MarkInTransit and MarkPickupFailed have no caller; policy PickupIsRecordedNotRun |