Application consist of 3 servers:
- Queue, for fetching/deleting messages from the queue
- Token, for fetching access token required for other service
- Cron, for republishing messages from queue to 3rd party service by using access token authentication
Each of the HTTPoison calls are supposed to be replaced by proper Endpoints which could have used @behaviour
and have an Http implementation, that could be set via application configuration and tested with mox.