Skip to main content
This page explains the changes required to migrate to the stated version of Atoti FRTB.

Migrate to 5.3.3

Breaking changes

  • Netted measures: Added IRT Desk to the leaf levels for standalone calculations for Netted measures.

Summary

  • Configuration Changes

Netted measures

Added IRT Desk to the leaf levels for standalone calculations for Netted measures. This is a reversible configuration change.

Configuration files

Files Modified

frtb-config.properties
Updated properties:

Migrate to 5.3.2

Breaking changes

  • Offline Documentation: No longer automatically included on the server. A configuration option has been added to enable this.

Offline Documentation

The offline documentation that was automatically included on the server has been removed. To re-enable this the server.resources.documentation property has been added to point to the directory location of the documentation (included with the distribution).

Startup properties

Migrate to 5.3.1

Breaking Changes

  • What-if Persistence: New configuration options have been added to persist what-if simulation status to a hibernate JDBC database.

Summary

  • Distributed What-if: Additional configuration options have been added to configure the REST endpoints used for distributed what-if.
  • Upgrade to Atoti Server 6.0.15-sb3

Distributed What-If Configuration

When using distributed what-if, the data nodes will use the cluster communication channels to tell the query node the base URL of the REST endpoints. The query node will then use the REST endpoints to execute the what-if simulations on the data nodes. The REST endpoint configuration includes four components (protocol, host, port, and suffix) which are used to construct the REST endpoint URLs:
  • port (required): Must match the port in server.port.
  • suffix (required): Must be compatible with the path in server.servlet.context-path.
  • protocol (optional): “http” or “https”. Defaults to “http”.
  • host (optional): If not set, this will default to the server’s IP address.
For example:

What-If Persistence Configuration

The what-if engine is now set up to persist what-if simulation statuses to a hibernate JDBC database. The hibernate configuration uses the properties what-if.db.*, where the individual properties are defined in the hibernate documentation. Atoti FRTB ships with a default configuration that will use an in-memory h2 database:

Startup properties

Configuration files

Files Modified

application.yaml
New properties:

Migrate to 5.3.0

Upgrading from version 5.2.0, see Atoti FRTB 5.3 Release Notes. Atoti FRTB uses Atoti Server 6.0.14-sb3 and Atoti UI 5.1.x. For new features and fixes included in these releases, please see the Atoti UI documentation and Atoti UI Migration Notes, and the release notes for Atoti Server. For clients licensed to use ActiveMonitor, a skeleton module based on version 6.0.14-sb3 is included with the Atoti FRTB 5.3.0 release.

Headline announcement

  • EBA Reporting : Additional fields and measures have been included to support new EBA reporting templates.
    • The “Imported” measures used for the old reporting templates have been deprecated.
  • Spring Boot 3 : Upgraded to Spring Boot 3.
  • Spring Profiles : Profile-based configuration has been replaced with properties (backwards compatible).
  • UI Activation : An import of react-query is required when using {serverName}-sdk. See UI activation for more details.
  • DirectQuery IMA Support: Added support for using the IMA-ES cube (InternalModelApproachCube) with DirectQuery.
  • Configuration Property Naming Convention: Configuration properties inside application.yaml have been updated from camelCase to kebab-case. This change is to align with the Spring Boot naming convention. Both naming conventions are interchangeable/compatible with each other.
  • Inclusion of Query Cubes: IMA, IMA-DRC, PL, StressCalibration query cubes have been added. These cubes are used to query data across data nodes. A complete list of moved measures can be found here.
  • Reinstating the Categories hierarchy: The Categories hierarchy that was removed in 5.1.0 can be re-instated with the configuration property categories-hierarchy.enabled=true.
  • IRT Desk improvements: IRT Desk membership is now specified directly at the book level. Additionally, it is possible to dynamically change which books are members of the IRT Desk.

Breaking Changes

  • IRT_Desk field: Moved from the DeskDescription store to the BookDescription store. This change is also reflected in DirectQuery Tables.
    The BookDescription store was previously named BookDeskMapping. Backwards compatibility with old input files is maintained, though the use of the IRT_Desk field in DeskDescription files has been deprecated.
  • obligor_category field: input field is no longer being converted to canonical value within DefaultRiskChargeTuplePublisher. This logic has been moved to a column calculator which is enabled by default but will be disabled in future releases. To re-enable, set drc.bucket.cleaning to true.

Profile-based Configuration

The code in Atoti FRTB will no longer change behavior based directly on Spring profiles. Instead, the behavior will be determined by properties. The properties can be set by profile-selected configuration files. Default properties files are included to preserve backwards compatibility with the use of profiles. In particular, instead of the profiles dist-data-node, dist-query-node, and forceNetty (and the property directquery.enabled), we have the following properties:

Change to frtb.properties

We have switched from frtb.properties to application.properties which is automatically picked up by Spring Boot. Properties are no longer read from frtb.properties which has now been removed. The following configuration files have been added to match the behavior of the profiles: See the Externalized Configuration section of the Spring boot documentation for more information on profiles and property management.

Input file formats

Added

Modified

Deprecated

Configuration files

Files Modified

hibernate.properties
New properties: Deleted properties:
application.yaml
New properties: Deleted properties:
application.properties (formerly frtb.properties)
New properties:
frtb-config.properties
New properties:
frtb-data-load.properties
New properties: Updated properties:
CSRNS_Bucket_Correlations (UK-PRA)
A UK-PRA version of this file was added because the CSR non-Sec gamma correlations for UK-PRA now consider the rating of the index buckets.

Datastores

Added stores

Modified stores

Removed stores

DirectQuery

Added

Changed

Removed

Removal of ADirectQueryDatabaseSchema

Rather than manually migrating each in-memory datastore definition into a DirectQuery database table, we now fully rely on the Migrator to migrate our in-memory datastore definitions into DirectQuery table definitions. This is done within the DirectQueryApplicationConfig.schema() method. All customizations on in-memory stores will be automatically applied to the DirectQuery schema.

Databases

Included in the distribution are DDL scripts that will upgrade a database from the previous versions.

Added tables

Modified tables

Deleted tables

Deprecated

Cube schema

Added

Measures

Added

Moved

The following measures have been moved from the CombinedCube into the respective query cubes. By moving these measures into the query cube, we can now query across dates and data nodes without the measure needing to be defined in the CombinedCube. These measures will still exist in the CombinedCube and on all data-nodes.

Deprecated

Context values

No changes.