The mongo database contains the search history for the application. Documents are persisted through the AuditConsumer. This service is available over port 27017.
The AuditConsumer service listens for messages on activeMQ queue and then persists the received message to a mongo database. The messages are search history entries descrbing who was searching, what was queried and when the query occured. This service communicates over port 8081.
The ActiveMQ Service is the broker (queue) between AuditConsumer and HistoryProducer. Internally (between microservices), this service communicates over port 61616. The user interface for this service is available over port 8161.
The HistoryProducer service sends messages to the activeMQ queue whenever a successful search occurs (the user exists in the database and a performs a search to the pokeapi). The messages descrbe who was searching, what was queried and when the query occured. This service is available over port 8082
The Search service is responsible for sending HTTP Requests to the pokeapi. It offers two functionalities to query pokemon via the pokeapi, findById and findByName. This service is available over port 8084.
The User service is responsible for persisting users to a H2 database and validating that a user exists in the system. If a user exists in the system, they are then allowed to perform a query to the pokeapi. This service is available over port 8083.
The core service is responsible for handling the requests directly from the user. This service is available over port 8080