Hello, today we see how to configure an Integration service in Temenos Fabric Console. The Fabric console is very powerful tool such that it can connect with various types of backend services. some of the backend connecters include XML, SOAP, JSON, Java, JavaScript, Relational database. One can also set mock data with Mock data connector. Now lets go through the process of configuring an Integration service step by step.
- First open the console and goto the App and in the Configure Service tab press the Configure New button.
- Now enter the service name by which you will later access. Select the service type, some of them I have mentioned above. You may see that I have selected as JSON as this service will return a JSON response. Enter the base url of your service. For now the web service authentication is set to none, this can also be configured for security purpose. Now press "save" or "save and add operation"
- Click on the "add operation" button in operation list tab.
- Enter the name of operation and set any url suffix that might be present in the service url that you are configuring. Here it is being set as "search?country=$countryname" where search represents the operation name and country is the parameter by which search is to be made and $countryname is the parameter value.
- In the Request Input tab set the parameter countryname, here a default value is also set as "United States".
- One more thing that can be configured but it is not mandatory is the output. If no output parameters are set then all the response is returned. If Response Output is set then the desired response is returned. Here country, name, alpha_two_code are being returned. The $.[*] means the array [] inside the main response $.
- Now click "save and fetch response". You may see the output result.
- In order to consume this service in an application it will be needed to publish the service first.