Problem
Bounded contexts are defined but their relationships remain implicit, so integration happens ad hoc through shared databases, copied models, and unspoken dependencies. Teams are surprised when upstream changes break them.
Also known as: context-map, ddd-context-map
Document and choose the relationships between bounded contexts so that integration and team dependencies are explicit.
Bounded contexts are defined but their relationships remain implicit, so integration happens ad hoc through shared databases, copied models, and unspoken dependencies. Teams are surprised when upstream changes break them.
A context map is a high-level view of how bounded contexts relate. It records both technical integration and the organizational relationship behind it, such as who can demand changes from whom.
Identify each context, then label each link. In an upstream-downstream link, the upstream decides what is published and the downstream consumes it.
[Catalog] --OHS/PL--> [Ordering] --customer/supplier--> [Billing]
|
ACL v
[Legacy ERP]
[Ordering] <==partnership==> [Inventory]
Relationship types in short:
None — documentation and design
Low
Medium — requires DDD vocabulary
Map drawn aspirationally rather than reflecting reality
Conformist relationships adopted unknowingly, importing foreign models
Map never updated after reorganizations