Gateway/Adapter Pattern & Extensions. #42799
Unanswered
akil-rails
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
background context
I've a situation, where my app (its a bank account opening app), needs to work with different bank's , each having it's own custom api implementation for the same use case - for example, in the app, i've to validate the tax-id ; as far as the app's concerned, it's the same use case (pass in the details of the tax-id, the application), and get back a result (valid/invalid); the api's of each bank have completely different shapes , but can be used to do the same job.. This is the text-book example of the gateway / adapter pattern.
quarkus
in a quarkus implementation, i am wondering if extensions is good use case for this -
the interfaces themselves, could be packaged in a simple jar that every extension & the app depends on..
Is this a sound idea or are there simpler / better alternatives
Beta Was this translation helpful? Give feedback.
All reactions