API Client Connector Use Case

FUSE ONLINE API CLIENT CONNECTOR AND API PROVIDER DEMO

In this demo, I am going to show you, step-to-step, how to use Fuse Online’s API Client Connector to interface to an external API and how to create a simple API in front of it to prevent leak of implementation details as well as making it easier for the user as only relevant info is required for input and returned.

The external API that we are calling is the Red Hat Decision Manager REST API for DMN (Decision Model and Notation). A simple DMN decision is created to validate first name, last name and ABN (Australian Business Number). Please note that what the business rules do here is not important as the objective is to show you how you can interface from Fuse Online to an external API.

I am going to configure Fuse Online’s API Client Connector to define an API, create a connection based on that API to access Decision Manager’s REST API and use Fuse Online’s API Provider to implement an API to put in front of the external API to simplify the input and output parameters such that no irrelevant info is returned to the caller of the API.

 

Input Parameter Transformation:

API Input Transformation
API Input Transformation

 

Output Parameter Transformation:

API Output Transformation
API Output Transformation

 

Everything in this demo is running on Red Hat Openshift.

Video:

Info on:

Fuse Online: https://www.redhat.com/en/technologies/jboss-middleware/fuse-online

Red Hat Decision Manager: https://www.redhat.com/en/technologies/jboss-middleware/decision-manager

Decision Model and Notation: https://access.redhat.com/documentation/en-us/red_hat_decision_manager/7.1/html-single/designing_a_decision_service_using_dmn_models/index#dmn-con_dmn-models

 

Thank you for watching.