0% found this document useful (0 votes)
23 views5 pages

Creating Microservices API

Uploaded by

Hamza Sandli
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
23 views5 pages

Creating Microservices API

Uploaded by

Hamza Sandli
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 5

10/9/2020 Creating Microservices API

Creating Microservices API


BACK
In this topic
This section shows how you can create a microservice API to handle exceptions of the requests that are sent by the IRIS
module.

To create a microservice API, you need to do the following.

1. Launch the workbench and click APIs > Create Microservice API.

The Create Microservice API screen appears.

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.

If the API response is successful, the response content is displayed. BACK


In this topic

https://tpsp.temenos.com/R20/Solutions/Interaction_Framework/IRISR18/IRIS/IRISR18/t_creating-microservices-API.htm 3/5
10/9/2020 Creating Microservices API

Sample screens of Requests and Responses

The following illustration shows the request that is sent.

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

Configuration of Host URL

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

Dispatch URL where the request needs to be routed

Host URL from the properties file to construct the HTTP URL

NOTE: To view the holdings-account-service-v1.0.0.xml file, referholdings-accounts-service-


v1.0.0.xml .

https://tpsp.temenos.com/R20/Solutions/Interaction_Framework/IRISR18/IRIS/IRISR18/t_creating-microservices-API.htm 5/5

You might also like