Implementing input adapters
When building the Application hexagon, we need to create use cases and input ports to express system capabilities. To make these capabilities available to users and other systems, we need to build input adapters and connect them to input ports.
For the topology and inventory system, we will implement a set of generic input adapters as Java POJO. These generic input adapters are the basis for the technologically specific implementation that takes place in Chapter 12, Using RESTEasy Reactive to Implement Input Adapters. In that chapter, we will reimplement the generic input adapters as RESTEasy-based input adapters using the Quarkus framework.
The input adapter's central role is to receive requests from outside the hexagonal system and fulfill these requests using an input port.
Continuing to develop the topology and inventory system, let's implement the input adapters that receive requests related to router management.