Skip to content

Commit c9361b7

Browse files
committed
Update README for team maps (improvement)
1 parent d2ba1e4 commit c9361b7

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ BoundedContext customersBackendTeam = new BoundedContext("Customers Backend Team
113113
BoundedContext customersFrontendTeam = new BoundedContext("Customers Frontend Team", BoundedContextType.TEAM)
114114
.realizing(customerSelfService);
115115
BoundedContext contractsTeam = new BoundedContext("Contracts", BoundedContextType.TEAM)
116-
.realizing(policyManagementContext);
117-
BoundedContext claimsTeam = new BoundedContext("Claims", BoundedContextType.TEAM)
116+
.realizing(policyManagementContext)
118117
.realizing(riskManagementContext);
119118

120119
ContextMap contextMap = new ContextMap()
@@ -125,7 +124,6 @@ ContextMap contextMap = new ContextMap()
125124
.addBoundedContext(customersBackendTeam)
126125
.addBoundedContext(customersFrontendTeam)
127126
.addBoundedContext(contractsTeam)
128-
.addBoundedContext(claimsTeam)
129127
.addRelationship(new UpstreamDownstreamRelationship(customerManagement, customerSelfService)
130128
.setCustomerSupplier(true))
131129
.addRelationship(new UpstreamDownstreamRelationship(customerManagement, policyManagementContext)
@@ -134,8 +132,7 @@ ContextMap contextMap = new ContextMap()
134132
.addRelationship(new Partnership(policyManagementContext, riskManagementContext))
135133
.addRelationship(new UpstreamDownstreamRelationship(customersBackendTeam, customersFrontendTeam)
136134
.setCustomerSupplier(true))
137-
.addRelationship(new UpstreamDownstreamRelationship(customersBackendTeam, contractsTeam))
138-
.addRelationship(new Partnership(contractsTeam, claimsTeam));
135+
.addRelationship(new UpstreamDownstreamRelationship(customersBackendTeam, contractsTeam));
139136

140137
new ContextMapGenerator()
141138
.generateContextMapGraphic(contextMap, Format.PNG, "/home/user/myContextMap.png");

examples/team-map-example-1.png

-23.9 KB
Loading

examples/team-map-example-2.png

-16.7 KB
Loading

0 commit comments

Comments
 (0)