Fifth
Fifth
Fifth
Table of Contents
1 Introduction.............................................................................................................................................................4
2 Applications............................................................................................................................................................4
3 Prerequisites............................................................................................................................................................4
4 Data Addition..........................................................................................................................................................4
4.1 Creation of virtual table......................................................................................................................................5
4.2 Python Extension:...............................................................................................................................................8
5 UXPB Extension...................................................................................................................................................10
Internal Use
CSD Onboarding – Extensibility Framework
Template History
Document History
Comments:
Internal Use
CSD Onboarding – Extensibility Framework
1 Introduction
This document contains detail about the feature of Extensibility Framework, which includes the three main microservices
widely used, as well as API extension and Transact extension.
2 Applications
1. Modal Bank 2307
2. Docker 4.2.0
3. Workbench of 2307
4. Ms-genericconfig-helm-postgres 202307.0.2
5. Ms-virtualtable-helm-postgres 202307.0.6
6. Ms-adapterservice-helm-postgres 202307.0.3
7. Ms-adapterservice-package-docker 202307.0.3
3 Prerequisites
The microservices, transact and workbench should be up and running.
Note: The default username and password of workbench are user@temenos.com and User123!
4 Data Addition
The microservice Virtualtable is used to store data in form of JSON. In addition, it also provides extension of adding
python script during various operation such as creation, retrieval, updating and deletion of the data. This script can be
triggered before / after the above-mentioned operation with preprocess and postprocess method respectively.
To create a virtual table, schema should be posted. JSON schema is vocabulary of JSON data, which help in validation
and consistency. Below is a sample JSON schema.
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "accountTable",
"type": "object",
"properties": {
"customerId": {
"type": "number"
},
"currency": {
"type": "string"
}
}
}
In above JSON Schema, it depicts that the JSON of type object has “customerId” and “currency” keys. Of two
keys, the customerId is of type number and the latter is a string.
Internal Use
CSD Onboarding – Extensibility Framework
The screen will list the existing table and also option to create a new virtual table.
Internal Use
CSD Onboarding – Extensibility Framework
The tables in virtual table micro service are grouped based on domain. Below a virtual table named “accountVt” is
created under domain party. Domains are enumerated, which can be selected from the list provided.
Internal Use
CSD Onboarding – Extensibility Framework
From R24, there is a tool to perform operations of virtual table. Here, APIs will be used to perform those various
operations.
To create record, the below API is used.
<Base path of micro service virtual table>/v1.0.0/domains/<domain name>/virtualTables/<table name>/records
Purpose API
To create a new record in a URL: <Base path of micro service virtual table>/v1.0.0/domains/<domain
table. name>/virtualTables/<table name>/records
METHOD: POST
BODY:
{
“data”: {<The record to be stored in the virtual table>},
“recordId”: “”
}
To retrieve a single record URL: <Base path of micro service virtual table>/v1.0.0/domains/<domain
from a table. name>/virtualTables/<table name>/records/<ID of the record>
METHOD: GET
To retrieve all records URL: <Base path of micro service virtual table>/v1.0.0/domains/<domain
Internal Use
CSD Onboarding – Extensibility Framework
To update a record in the URL: <Base path of micro service virtual table>/v1.0.0/domains/<domain
table. name>/virtualTables/<table name>/records/<ID of the record>
METHOD: PUT
BODY:
{
“data”: {<The record to be stored in the virtual table>},
“recordId”: “”
}
To delete a record from a URL: <Base path of micro service virtual table>/v1.0.0/domains/<domain
table. name>/virtualTables/<table name>/records/<ID of the record>
METHOD: DELETE
Internal Use
CSD Onboarding – Extensibility Framework
Currency will be defaulted by the python script. This can be verified by retrieving the record.
Note: The print statement logged here can be viewed in pod named Api of virtual table.
Internal Use
CSD Onboarding – Extensibility Framework
5 UXPB Extension
Phyton extensions can be added to UXPB screens like version, enquiry, application, etc. This is like the python script
attached against virtual table, except for the temenos package imports. To add the python script, launch workbench and
select python script to create python script.
Ensure to set Extension type as UX Resource Extension and provide a name. Create a preprocess and/or post process
method and save it.
Internal Use
CSD Onboarding – Extensibility Framework
Model Type – Version / Application for which python script needed to be added.
Resource Name – Name of the Version / Application
Function – INPUT / AUTHORIZE / DELETE / REVERSE – during which of the operation, the script has to be
triggered.
Operation Name – It is unique reference, created by user, which allows generic config to map the resource to the python
script.
Script Name – The script created at previous screen. In addition, the user can also update scripts here.
Internal Use
CSD Onboarding – Extensibility Framework
Note: The print statement logged here can be viewed in server log of JBOSS (Or any application server, where
deployed)
Internal Use