Create rest-client with springboot application that fetches latest alerts from twitter API and saves them in-memory.
Acceptance Criteria:
Rest client can be implemented either with RestTemplate or WebClient
Alerts are persisted in-memory
Integration test for Twitter rest client **
** Ideally integration test should not use real twitter API. This needs to be done using MockServer (https://www.mock-server.com/). If this is too hard use the real twitter api
Fetch alerts from twitter API
Create
rest-client
with springboot application that fetches latest alerts from twitter API and saves them in-memory.Acceptance Criteria:
RestTemplate
orWebClient
** Ideally integration test should not use real twitter API. This needs to be done using MockServer (https://www.mock-server.com/). If this is too hard use the real twitter api