Cloud Storage services Adapter

This section explains the functionality of StorageReader and StorageWriter.

StorageReader

As part of cloud agnostic file reader, a file reader that reads from a particular location is available.

This file reader is available in GetPaymentOrder, which is a sample API and it is used to get the file from a particular location through the BASE64 encoded format.

StorageWriter

As a part of cloud agnostic file reader, a file writer is available in CreateNewPaymentOrder, which is a sample API to write to a particular location through the BASE64 encoded format.

Configuration

Configuration can be done using the following code.

temn.msf.storage.home = <Some Storage Location Home>
FILE_STORAGE_URL = <Some file name and path from the Base storage home>

For Azure, the following extra environment variable is required.

temn.msf.azure.storage.connection.string = <Azure Storage Connection String>

Sample Storage File Writer and File Reader

Sample CreatePaymentOrder request and response is given below.

Sample GetPaymentOrder request and response is given below.

Copyright © 2020- Temenos Headquarters SA

Published on :
Wednesday, October 12, 2022 6:49:19 PM IST

Feedback
x