InventoryController-client is a client library for calling new entry points provided by InventoryController. It was auto generated by code-copy when we created the inventory-controller service.
Let’s review the code:
There are DTO classes under src\main\java\com\oms\inventorycontroller\dto. These are the same DTO files used by the entry point fetchInventory in InventoryController service.
Open the InventoryService class (same class name as the class that owns the entry point in the monolith):
Compile InventoryController-client (mvn clean install via VSCode or command window) - the library should compile without errors.