Summary
In this chapter, we had the opportunity to dive deep into the nature of driving and driven operations. Although we had already dealt with them in previous chapters, we examined these operations in more depth.
Starting with driving operations, we learned that they drive the hexagonal application's behavior by calling its input adapters. To illustrate driving operations, we first created a frontend application to play the role of a primary actor requesting data through the input adapters provided by the topology and inventory hexagonal application. Then, to explore testing tools as driving operations, we created a Postman collection with tests based on API endpoints exposed by the hexagonal application.
On the driven operations side, we saw how to enable the hexagonal application to work with message-based systems like Kafka. To better understand the effects of message-based systems on the hexagonal application, we created ports and adapters that enabled the application...