jeudi 21 octobre 2021

Where to draw the bounded context line, in a modular monolith?

So this is the case, it is a simple factory spare parts software. Consisting of following bounded contexts all located in their own module assembly following clean architecture.

Everything is exposed through a rest api.

  • Accounts handles authentication and other account things

  • SpareParts contains repository of different spare parts, organised in categories. There are also some rules regarding naming and multi language support

  • Inspections A user can create a new inspection and can add what spare parts where used.

My question is, how can I select parts and add them to the inspection object? Do I have to keep a copy of all parts including language ect. or should they not be treated as separate context? Or have some other design?

Aucun commentaire:

Enregistrer un commentaire