Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 838 Bytes

adr_002.md

File metadata and controls

22 lines (13 loc) · 838 Bytes

ADR_002 Put Delivery component into Inventory domain

Date: 10/23

Status

accepted

Context

Initial component discovery contains generic domains such as: Order, Billing and Delivery.

Decision

Merge Shipping & Delivery domain into Inventory domain. Reasons:

  • The business model of Farmacy Food does not use a traditional delivery model. The delivery actually means re-stocking into/reclaiming from the SmartFridge, which is part of the inventory management domain.
  • Inventory is a core domain of the system, how to restock (or in other words Delivery) is an essential part it. Therefore , restock/Delivery belongs to Inventory domain.

Consequences

Reduction in number of top level components reduces complexity and information sharing. This reduces cognitive load and makes development easier.