Platform Framework
R24 AMR | Min(s) read

Configuration Management

The purpose of the configuration web application is to manage properties and configurations stored in the database. It is protected by the basic authentication mechanism. To create the user with required privileges, see the « basic authentication » section matching your application server provider. This section provides details about the configuration properties and management of REST APIs for various aspects of property usage.

It allows interaction with TAFJ_CONFIGURATION table through the ConfigurationService EJB which is secured. It is made of two components:

Any change made to the runtime configuration requires an application re-start.

Configuration Service

The configuration service deals with all configuration operations:

  • Table creation
  • Configuration creation
  • Configuration copy from properties file or from database
  • Configuration loading
  • Configuration changes—properties change, addition and removal

If the configuration table does not exist on first configuration service invocation, it will be created automatically. If the requested configuration ID (-Dtafj.configuration) does not exist, it will be created with the system default values. It is also possible to make a configuration copy by using the REST API.

These configuration services provide views and entry points to the configuration table but do not reflect the state of the current runtime properties, which were loaded at application startup. 

Administration Console Runtime Properties

The administration console gives access to the runtime configuration. It can be accessed using the following URLs or from the main TAFJEE page under the configuration section.

http://localhost:8080/TAFJConfiguration/dashboard.xhtml

http://localhost:8080/TAFJEE/index.html

There is a reminder in the console header stating that it might not reflect the current runtime configuration.

The admin console provides only a view of the database entries. These entries may not be used by the runtime configuration in case of property overload, which means. System property -Dtemn.tafj.property=valueA takes precedence over temn.tafj.property=valueB as per its table definition.

In case of properties change without application restart, the database properties will not be synced with the current runtime properties.

REST API – Properties and Configuration Management

When using the REST API, the changes are directly applied to the database. There is no pending changes state and no confirmation is required upon properties modification.

Current Runtime Properties and Configuration Viewer

An extension to the configuration web application is available to get a view on the runtime configuration state. This view may not be synced with the configuration table state, since this reflects the configuration state at the time of the application start.

It allows accessing the runtime properties key, value pairs through a console (JSF), which is a GUI based application or a REST API, which is a JAXRS based application.

Copyright © 2020- Temenos Headquarters SA

Published on :
Monday, May 27, 2024 5:10:21 PM IST