I have a Java Application(REST API, Jersey) that orchestrates a lot of backend calls for the front end. It aggregates data from all the backend systems and then returns a JSON response.
Now I have to integrate one more backend system, so I added the response from the new backend API into the Aggregate response. This new data is not super important so I don't want to fail the entire response if this new Call fails.
What is the best elegant way to do this and also inform the clients that one of the calls failed?
Aucun commentaire:
Enregistrer un commentaire