forked from pgorecki/python-ddd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauctions.cml
More file actions
36 lines (26 loc) · 884 Bytes
/
auctions.cml
File metadata and controls
36 lines (26 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
ContextMap OnlineAuctionsContextMap {
type = SYSTEM_LANDSCAPE
state = TO_BE
contains ListingContext
contains BiddingContext
contains PaymentContext
BiddingContext [SK]<->[SK] ListingContext
BiddingContext [D, CF] <- PaymentContext
}
BoundedContext ListingContext implements ListingDomain
BoundedContext BiddingContext implements BiddingDomain
BoundedContext PaymentContext implements PaymentDomain
Domain OnlineAuctionsDomain {
Subdomain ListingDomain {
type = SUPPORTING_DOMAIN
domainVisionStatement = "Subdomain managing all listings of items for sale"
}
Subdomain BiddingDomain {
type = CORE_DOMAIN
domainVisionStatement = "Subdomain managing ongoing bidding"
}
Subdomain PaymentDomain {
type = GENERIC_SUBDOMAIN
domainVisionStatement = "Subdomain managing payments"
}
}