Skip to main content

Context Map

As built

Derived from network/model/model.yaml. This context's service is built (IQVO/seller-inbound, designed by ADR 0009); 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 0002 to 0005 record what it does.

Following ddd-crew Context Mapping. This is seller-inbound's slice of the network-wide context map. Arrows point from upstream to downstream.

Upstream: what seller-inbound conforms to​

Downstream: who depends on seller-inbound​

Derived from: model.yaml → contexts[seller-inbound].inbound, .publishes, .consumes; contexts[vendor-connectivity].consumes; meta.hard_boundary.

Omitted: the contexts with no edge to this one, which are Separate Ways: delivery-promise, customer-ordering, order-sourcing, linehaul-transportation, last-mile-delivery, shipping-and-tracking.

Relationships​

NeighbourDirectionPatternChannelMessagesWhy this pattern
node-topologyU → DConformistKafka retailnetwork.node-topology.eventsNodeRegistered, NodeOperationalProfileDeclared, NodeActivated, NodeSuspended, NodeRetiredA node's status, capabilities and inbound limits are node-topology's facts. Kept in NodeInboundView.
offer-availabilityU → DConformistKafka retailnetwork.offer-availability.eventsCatalogItemPackagingDeclared, CatalogItemPackLevelRetiredThe packaging hierarchy and its GTINs are the catalogue's. Kept in CatalogPackagingView.
vendor-connectivityU → D (SI downstream)Customer/SupplierKafka retailnetwork.vendor-connectivity.eventsInboundReceiptSubmittedThe receipt shape is the Published Language; seller-inbound states what it needs.
vendor-connectivityU → D (SI upstream)Customer/SupplierKafka retailnetwork.seller-inbound.eventsInboundShipmentLabelled, InboundShipmentShipped, InboundShipmentReceivedThe Vendor API needs the manifest and the closing status; seller-inbound publishes what it needs.
node-performanceU → D (SI upstream)Conformist (node-performance conforms)Kafka retailnetwork.seller-inbound.eventsInboundShipmentShippedThe shipped instant is the start of the inbound timeliness metric; node-performance keeps what it needs.
Sellers (external)U → DOpen Host ServiceREST (seller-facing, no auth)plans, shipments, cartons, labelsA published, versionable seller API.
AnalyticsU → DPublished LanguageKafka retailnetwork.seller-inbound.analyticssix analytics-only eventsConsumers: "analytics only".
network-fulfillment (warehouse-systems fleet)noneSeparate WaysnonenoneThe hard boundary: the fleet reads the manifest through the Vendor API of vendor-connectivity only.

Notes on the patterns​

  • No Shared Kernel. sscc, gtin and nodeId are values copied from events; the validation rules for GTIN and SSCC are re-implemented in each service that receives them.
  • Customer/Supplier in both directions with vendor-connectivity, by events only. There is no runtime cycle.
  • No synchronous call. A plan against a cold read model is refused, not slowed.