Platform Framework
R24 AMR | Min(s) read

Database Mapping and Deployment Changes

This section details the additional datasources that are provided by the application server hosting the deployment to provide access to each tenant databases.

A multitenant JEE deployment is similar to a standard deployment apart from the databases access made by Temenos Transact – TAFJ. Since each tenant is making use of its own database, the application server hosting the deployment needs to define additional datasources to provide access to each tenant databases.

The usual regular Temenos Transact datasources are used by the master database to run management operations and host the system configuration. This master database is not used to run any Temenos Transact business operations.

The tenant specific database or JNDI datasources mapping is done at tenant definition level through tenant compliant properties. For more information, see About Tenant Definition.

This configuration mapping allows the TAFJEE deployment to be tenant agnostic.

No changes are required at application level when defining a new tenant. For more information, see Defining Tenants.

Default Database Mapping

By default, when you create a tenant, a default datasources mapping is created in the following pattern:

temn.tafj.appserver.tenant.t24.datasource.prefix-tenantId
temn.tafj.appserver.tenant.t24.notx.datasource.prefix-tenantId

Where the master configuration defines default prefixes for the JNDI mappings with the help of properties.

These default mappings can be changed in case of need. The default mapping is made to work with default Temenos Transact or TAFJ JBoss EAP – Wildfly deployment.

 

temn.tafj.appserver.tenant.t24.datasource.prefix

java:/jdbc/t24DS-

temn.tafj.appserver.tenant.t24.notx.datasource.prefix

java:/jdbc/t24LockingDS-

 

After creation of tenant, the tenant ID is appended to the default prefix.

temn.tafj.appserver.t24.datasource

java:/jdbc/t24DS-tenantId

temn.tafj.appserver.t24.notx.datasource

java:/jdbc/t24LockingDS-tenantId

Creating Datasources

Datasources for the added tenants should be created to allow each tenant to access its database. For more information on how to create datasources, see TAFJ application server documentation.

Copyright © 2020- Temenos Headquarters SA

Published on :
Monday, May 27, 2024 5:03:51 PM IST