Creating Microservices API
Creating Microservices API
1. Launch the workbench and click APIs > Create Microservice API.
2. Click Choose File to select the swagger. The fields are displayed as shown in the following screen capture.
If you have not selected a proper swagger, only the API definition is displayed.
https://tpsp.temenos.com/R20/Solutions/Interaction_Framework/IRISR18/IRIS/IRISR18/t_creating-microservices-API.htm 1/5
10/9/2020 Creating Microservices API
3. Click Next.
NOTE: If you have not specified the mandatory fields, an error is displayed as shown below.
The Inventory and API definition are displayed with the corresponding information in read-only mode.
BACK
In this topic
https://tpsp.temenos.com/R20/Solutions/Interaction_Framework/IRISR18/IRIS/IRISR18/t_creating-microservices-API.htm 2/5
10/9/2020 Creating Microservices API
Microservices Processor
The Microservices Processor is invoked when the microservices service is hit. The processor collects all the information
required for invoking the microservices and sends the request based on the URL configured.
If the results are empty, a response is sent with an error message indicating that no records are found.
If there is any error from the API response, the same error message is provided from the IRIS.
https://tpsp.temenos.com/R20/Solutions/Interaction_Framework/IRISR18/IRIS/IRISR18/t_creating-microservices-API.htm 3/5
10/9/2020 Creating Microservices API
The response from the Microservices API is forwarded as is and modification or parsing is not handled in IRIS for the
BACK
same.
In this topic
If you do not define the connection to the remote microservices, the following error from IRIS is displayed:
https://tpsp.temenos.com/R20/Solutions/Interaction_Framework/IRISR18/IRIS/IRISR18/t_creating-microservices-API.htm 4/5
10/9/2020 Creating Microservices API
A new properties file is introduced to configure the host URL for all the Microservices based on the operationId as
mentioned below in microservices-config.properties.
BACK
NOTE: You can use this configuration only when you use Microservices API. In this topic
The following code is a sample of the service xml of a Microservices API. You can use the following property only for an
Enquiry.
&It;
In this sample, <process ref=microservicesProcessor /> invokes the microservices processor, which
collects the following and sends the request.
Selection details
Host URL from the properties file to construct the HTTP URL
https://tpsp.temenos.com/R20/Solutions/Interaction_Framework/IRISR18/IRIS/IRISR18/t_creating-microservices-API.htm 5/5