Platform Framework
R24 AMR | Min(s) read

Multiple Configurations

This section explains you the concept of multiple configurations of the same type and the advantages of it.

In development or test environments, you can load multiple configurations of the same type in the system. Multiple configurations help you to define a base configuration, which can override a specific configuration for some parameters only. It also allows you to change the system behavior by passing the proper set of configurations as parameters without any edit.

A multi-configuration is a coma-separated (,) list of configuration IDs ordered by priority; the first one being the highest priority as shown below.

  • Multiple configuration for properties file, -Dtafj.properties=oracle-locking,base
  • Multiple configuration for database configuration, -Dtafj.configuration= oracle-locking,base

In the above configurations, oracle-locking takes precedence on base. It means oracle-locking can only define one property for the lock manager, which will override the property defined in base.

base contains the full set of properties.

The table below shows the priority between properties based on their definition level. In the example below, system property takes precedence on configuration1, which takes precedence on configuration2, that is,

-Dtafj.properties=configuration1,configuration2

-Dtafj.configuration=configuration1,configuration2

System property configuration1 configuration2 Value added

-Dtemn.key1=system

temn.key1=conf1

temn.key1=conf2

system

 

temn.key2=conf1

temn.key1=conf2

conf1

 

 

temn.key1=conf2

conf2

In this topic

Copyright © 2020- Temenos Headquarters SA

Published on :
Monday, May 27, 2024 5:02:59 PM IST