2023-03-20 13:20:36
A high-level view of the process of building a feature to enable a microservice to use an internal monolith capability.
Monolith Changes
1. Refactor monolith capability
To an abstraction with a clear interface
2. Expose monolith capability
Using a suitable set of interaction point(s)
3. Avoid monolith behaviour changes
Avoid changes in the capabilities behaviour
Microservice Changes
4. Microservice has a copy of the abstraction
Own copy of the monoliths capability interface/abstraction
5. Microservice implementation of the abstraction
Microservice calls the monoliths new capability endpoint(s)