Skip to content

v5.0.0

Compare
Choose a tag to compare
@stefan-ka stefan-ka released this 22 Oct 12:26

Changes in v5.0.0:
With this release we changed the CML grammar for upstream-downstream relationships on Context Maps. The positions of the brackets with the U, D, and relationship patterns (OHS, PL, ACL, CF) can no longer be placed as flexible as before. The only allowed positions are on the left and right of the arrow now:

BoundedContext1 [U]->[D] BoundedContext2

The following positionings are no longer supported:
[U]BoundedContext1 ->[D] BoundedContext2
BoundedContext1 [U]-> BoundedContext2[D]
[U]BoundedContext1 -> BoundedContext2[D]

New possibilities:
Instead of flexible bracket positioning we introduced that the brackets can now be omitted on one side of the arrow. Examples of valid upstream-downstream declarations:

BoundedContext1 -> BoundedContext2
BoundedContext1 [U]->[D] BoundedContext2
BoundedContext1 ->[D] BoundedContext2
BoundedContext1 [U]-> BoundedContext2
BoundedContext1 [U,OHS,PL]->[D,ACL] BoundedContext2
BoundedContext1 [OHS,PL]->[ACL] BoundedContext2
BoundedContext1 [U,OHS,PL]-> BoundedContext2
BoundedContext1 [OHS,PL]-> BoundedContext2
BoundedContext1 ->[D,ACL] BoundedContext2
BoundedContext1 ->[ACL] BoundedContext2

Note that customer-supplier relationships always require both brackets with at least the S (supplier) and C (customer):

BoundedContext1 [S]->[C] BoundedContext2
BoundedContext1 [U,S]->[D,C] BoundedContext2
BoundedContext1 [U,S,PL]->[D,C] BoundedContext2
BoundedContext1 [S,PL]->[C] BoundedContext2

(all examples work with the inverted direction (<-) as well)