Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CM v6.12 + Same Day Delivery example #31

Merged
merged 4 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# dependency versions
cmlVersion=6.11.0
cmlVersion=6.12.0
junitVersion=5.5.2
xtendLibVersion=2.19.0
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ BoundedContext StructuredServiceDecomposition {

ValueObject CriterionPriority {
String criterion
- SolverPriority priority
- SolverPriority ^priority
}

enum SolverPriority {
Expand Down
2 changes: 1 addition & 1 deletion src/main/cml/lakeside-mutual/LakesideMutual.cml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ BoundedContext ClaimsManagement implements ClaimsManagement {
aggregateRoot
long claimId
- CustomerId customer
String description
String ^description
Blob requestDocument
boolean isComplete
boolean isAssessed
Expand Down
4 changes: 2 additions & 2 deletions src/main/cml/ooad-sample-claims/claims-use-case.cml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ BoundedContext ClaimsManagement implements ClaimsManagement {
Entity Claim {
Date date
Double amountClaimed
String description
String ^description
ClaimID claimId
- Agent agent
}
Expand Down Expand Up @@ -64,7 +64,7 @@ Domain Insurance_Application {
Entity Claim {
Date date
Double amountClaimed
String description
String ^description
- Agent agent
}
Entity Policy {
Expand Down
101 changes: 101 additions & 0 deletions src/main/cml/same-day-delivery-shop/stakeholders-and-values.cml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@


BoundedContext SameDayDelivery


Stakeholders of SameDayDelivery {
StakeholderGroup Online_Shopping_Company {
Stakeholder Development_Team {
influence MEDIUM
interest HIGH
}
Stakeholder Product_Management {
influence HIGH
interest HIGH
}
Stakeholder Customer_Relationship_Manager {
influence HIGH
interest MEDIUM
}
}
StakeholderGroup Product_Suppliers {
Stakeholder Managers
Stakeholder Logistics_Warehouse_Staff_of_Suppliers
Stakeholder Delivery_Staff_of_Suppliers
}
StakeholderGroup Delivery_Partners {
Stakeholder Route_Planners
Stakeholder Drivers
}
StakeholderGroup Competing_Companies

StakeholderGroup Logistics_Team {
Stakeholder Logistics_Manager
Stakeholder Warehouse_Staff
}
Stakeholder Government

StakeholderGroup Customers_and_Shoppers {
Stakeholder Shoppers_in_Emergency_Situations
Stakeholder Others
}
}
ValueRegister SD_Values for SameDayDelivery {
ValueCluster Autonomy {
core AUTONOMY
demonstrator "customer values potentially increased freedom"
demonstrator "delivery staff's freedom might suffer because of work-life-balance"
Value Freedom {
Stakeholder Customers_and_Shoppers {
priority HIGH
impact MEDIUM
consequences
good "increased freedom"
}
}
Value Quality_of_Life {
Stakeholder Customers_and_Shoppers {
consequences
good "less stress in emergendy situations"
}
}
Value Sustainability {
Stakeholder Customers_and_Shoppers {
priority HIGH
impact LOW
consequences
bad "fostering unsustainable behavior (always ordering last minute)"
action "Limit Availability of Feature" ACT
}
}
Value Ability_to_be_patient {
Stakeholder Customers_and_Shoppers {
priority MEDIUM
impact HIGH
consequences
bad "patience of customer will further increase"
action "Only allow feature for emergency (don't make it the default)" ACT
}
}
}
Value WorkLifeBalance {
isCore
demonstrator "Drivers value a healthy work-life-balance"
Stakeholder Drivers {
priority HIGH
impact HIGH
consequences
bad "SDD will harm work-life-balance of drivers"
action "hire more drivers, adjust availability to workload" ACT
}
}
Value Revenue {
demonstrator "Online shopping company needs revenue"
Stakeholder Online_Shopping_Company {
priority HIGH
impact MEDIUM
consequences
good "increased number of customers"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ BoundedContext ClaimsManagement {
aggregateRoot
long claimId
CustomerId customer
String description
String ^description
Blob requestDocument
boolean isComplete
boolean isAssessed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ BoundedContext ClaimsManagement {
aggregateRoot
long claimId
CustomerId customer
String description
String ^description
Blob requestDocument
boolean isComplete
boolean isAssessed
Expand Down
Loading