Timeline for How to deal with bad third party APIs in a microservices architecture?
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 21, 2020 at 8:12 | vote | accept | abstract christmas tree | ||
| Feb 20, 2020 at 8:12 | comment | added | Filip Milovanović | @abstractchristmastree - although an ACL can be complex, if I understood you well, what you are doing seems to be making things needlessly complicated. An ACL should just do enough to translate between the models of the two systems at the specific points of their interaction, not introduce a model of its own. So, not a generalized API (you are not trying to make a better version of the 3rd-party service), but an API that just covers the needs of your service (so that you can write code in terms of your own model). | |
| Feb 20, 2020 at 6:59 | comment | added | abstract christmas tree | @FilipMilovanović I'm designing a separate domain model which is mapped against the third party's model in this ACL. So, the ACL offers a generalized API using this domain model. | |
| Feb 19, 2020 at 22:41 | answer | added | Martin K | timeline score: 0 | |
| Feb 19, 2020 at 21:55 | review | Close votes | |||
| Feb 26, 2020 at 3:05 | |||||
| Feb 19, 2020 at 21:38 | comment | added | gnat | Does this answer your question? What is an Anti-Corruption layer, and how is it used? | |
| Feb 19, 2020 at 20:57 | comment | added | Filip Milovanović | Could you just clarify: are you saying that you use the ACL to map to the domain concepts within your service (for the specific needs of the service), or that you are designing a separate domain model for the ACL, and then offering a generalized API to sort of replace the existing one (i.e, it's not specifically geared towards your service)? | |
| Feb 19, 2020 at 20:56 | answer | added | Aaron M. Eshbach | timeline score: 6 | |
| Feb 19, 2020 at 20:23 | history | edited | abstract christmas tree | CC BY-SA 4.0 | added 10 characters in body |
| Feb 19, 2020 at 20:17 | history | asked | abstract christmas tree | CC BY-SA 4.0 |