Adapter Tutorials

Adapters are a Q2 platform-wide data source or transaction processor. Creating an adapter allows total back-end customization of workflows that can be accessed via existing interfaces in UUX. When an end user uses MFA, sends a wire, or looks up FOREX rates, all are accomplished via an adapter that mediates transfer of information between the Q2 platform and a third party service. Adapters are configured in the database, and with the Caliper SDK, you can now direct adapter requests to your own extensions to manage exactly how you wish, using whatever third party you wish. Adapters sit in the part of the stack highlighted below.

../../_images/q2_architecture_adapter.png

We have added an Adapter request handler type to translate adapter requests both incoming and outgoing, and manage database configuration and installation– it is your task to implement the desired functionality and business logic. Depending on the adapter type, this will vary widely in complexity. A limited selection of adapter types are available at this time as we prove and improve the tooling. A list of supported adapter types is automatically updated here: http_handler_adapter.

All adapter types will work fundamentally the same way. You will receive inputs, perform the necessary logic and call the necessary third parties yourself, and return an instance of the result type. The Adapter handler does the rest. For a more specific set of examples, check out one of our Adapter Tutorials.

Tutorials