Lab 7: Package by Hexagonal Architecture
Apply Hexagonal Architecture packaging to the existing codebase.
a. Application Stays¶
CoffeeKioskApplication class in the root package where it currently is, i.e., in
b. Package Domain Classes¶
Move all domain classes to a new package:
c. Package API Adapter Classes¶
Move all HTTP API related classes to a new package:
Make sure to move related test classes to this new package as well.
d. All Tests Pass¶
Make sure that everything continues to compile and all tests continue to pass.