This is the code provided in the book chapter "Programming Adaptive Microservice Systems: an AIOCJ Tutorial".
Click on the buttons below to download the code of this example.