Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,20 @@ BoundedContext:
(('domainVisionStatement' ('=')? domainVisionStatement=STRING)? &
('type' ('=')? type=BoundedContextType)? &
(('responsibilities' ('=')? responsibilities+=STRING) ("," responsibilities+=STRING)*)? &
(('businessDecisions' ('=')? businessDecisions+=STRING) ("," businessDecisions+=STRING)*)? &
(('assumptions' ('=')? assumptions+=STRING) ("," assumptions+=STRING)*)? &
(('verificationMetrics' ('=')? verificationMetrics+=STRING) ("," verificationMetrics+=STRING)*)? &
(('openQuestions' ('=')? openQuestions+=STRING) ("," openQuestions+=STRING)*)? &
('implementationTechnology' ('=')? implementationTechnology=STRING)? &
('knowledgeLevel' ('=')? knowledgeLevel=KnowledgeLevel)?)
('businessModel' ('=')? businessModel=STRING)? &
('evolution' ('=')? evolution=Evolution)? &
('evolution' ('=')? evolution=Evolution)? &
('roleType' ('=')? roleType=ContextRoleType)? &
((application = Application)? &
(modules += SculptorModule)* &
(aggregates += Aggregate)* &
(domainServices += Service)*)
(domainServices += Service)* &
(domainTerms += DomainTerm)*)
CLOSE
)?
;
Expand Down Expand Up @@ -176,6 +182,8 @@ Aggregate :
"Aggregate" name=ID (OPEN
(
(('responsibilities' ('=')? responsibilities+=STRING) ("," responsibilities+=STRING)*)? &
(('invariants' ('=')? invariants+=STRING) ("," invariants+=STRING)*)? &
(('policies' ('=')? policies+=STRING) ("," policies+=STRING)*)? &
(
(('useCases' ('=')? userRequirements += [UseCase]) ("," userRequirements += [UseCase])*) |
(('userStories' ('=')? userRequirements += [UserStory]) ("," userRequirements += [UserStory])*) |
Expand All @@ -190,7 +198,9 @@ Aggregate :
('storageSimilarity' ('=')? storageSimilarity=Similarity)? &
('securityCriticality' ('=')? securityCriticality=Criticality)? &
('securityZone' ('=')? securityZone=STRING)? &
('securityAccessGroup' ('=')? securityAccessGroup=STRING)?
('securityAccessGroup' ('=')? securityAccessGroup=STRING)? &
(throughput = Throughput)? &
(size = Size)?
)
((services+=Service) |
(resources+=Resource) |
Expand All @@ -199,6 +209,63 @@ Aggregate :
CLOSE)?
;

Throughput:
"Throughput" (OPEN
((commandHandlingRate = CommandHandlingRate)? &
(totalClientsNumber = TotalClientsNumber)? &
(concurrencyConflictChance = ConcurrencyConflictChance)?)
CLOSE)
;

Size:
"Size" (OPEN
((eventGrowthRate = EventGrowthRate)? &
(singleInstanceLifetime = SingleInstanceLifetime)? &
(eventsPersistedCount = EventsPersistedCount)?)
CLOSE)
;

CommandHandlingRate:
"CommandHandlingRate" (OPEN
(averageMax=AverageMax)
CLOSE)
;

TotalClientsNumber:
"TotalClientsNumber" (OPEN
(averageMax=AverageMax)
CLOSE)
;

ConcurrencyConflictChance:
"ConcurrencyConflictChance" (OPEN
(averageMax=AverageMax)
CLOSE)
;

EventGrowthRate:
"EventGrowthRate" (OPEN
(averageMax=AverageMax)
CLOSE)
;

SingleInstanceLifetime:
"SingleInstanceLifetime" (OPEN
(averageMax=AverageMax)
CLOSE)
;

EventsPersistedCount:
"EventsPersistedCount" (OPEN
(averageMax=AverageMax)
CLOSE)
;

AverageMax:
('average' ('=')? average=STRING)? &
('maximum' ('=')? maximum=STRING)?
;

Application:
"Application" (name=ID)? (OPEN
((commands+=CommandEvent)* &
Expand Down Expand Up @@ -482,6 +549,15 @@ Action:
'action' action=STRING type=('ACT'|'MONITOR'|STRING)
;

DomainTerm:
"DomainTerm" (name=ID)? (OPEN
(
('term' ('=')? term=STRING) &
('description' ('=')? description=STRING)
)
CLOSE)
;


enum UpstreamRole:
PUBLISHED_LANGUAGE = 'PL' | OPEN_HOST_SERVICE = 'OHS'
Expand Down Expand Up @@ -511,8 +587,12 @@ enum DownstreamGovernanceRights:
INFLUENCER | OPINION_LEADER | VETO_RIGHT | DECISION_MAKER | MONOPOLIST
;

enum ContextRoleType :
DRAFT | EXECUTION | ANALYSIS | GATEWAY | OTHER
;

enum KnowledgeLevel :
META="META" | CONCRETE="CONCRETE"
META="META" | CONCRETE="CONCRETE"
;

enum Volatility :
Expand Down