Open devbhuwan opened 6 years ago
DISCOVERY: After story analysis with the team we discovered following task list
RequestForProducts
command via service then ProductRequest
aggregate root recieve it and then generate ProductsRequested
event.ProudctsDeliveredToRetailer
event then generate another event RecievedProducts
, this event will generate command UpdateStock
ProductsRequested
event then generate command DeliverProducts
, this command will publish the event ProudctsDeliveredToRetailer
SNAP ANALYSIS:
STORY: As a Retailer I want to request for products with the wholesaler. So that product requested.