Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt

Use this file to discover all available pages before exploring further.

This page explains the changes required to migrate to the stated version of .

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:
Property NameNew ValueOld ValueComment
netting-set.levelNetting Set@Netting Set@Booking,IRT Desk@IRT Desk@BookingNetting Set@Netting Set@BookingAdded IRT Desk to the leaf levels for standalone calculations for Netted measures.
This property now supports multiple levels.
reference-levels.list,IRT Desk,FRTB Model...,FRTB Model...Added IRT Desk to the list of levels available to the ReferenceLevel context value.

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

ModificationProperty NameValueComment
Addedserver.resources.documentationnullThe optional resource location of the offline documentation.
For example, “classpath:/static/documentation/”.

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:
Spring profileConfiguration filestarter.deployment.typestarter.deployment.transportcombined.disable
defaultin-memorylocalunset (false)
dist-data-nodeapplication-dist-data-node.yamlin-memorynettytrue
dist-query-nodeapplication-dist-query-node.yamlquery-nodenettyunset (false)
forceNettyapplication-forceNetty.yamlunset (in-memory)nettyunset (false)
See the Externalized Configuration section of the Spring boot documentation for more information on profiles and property management.

Input file formats

Added

Property NameValueComment
activeviam.distribution.endpoint.protocol“http”Protocol to use when connecting to the server’s REST endpoints.
activeviam.distribution.endpoint.hostHost name to use when connecting to the server’s REST endpoints.
what-if.db.*(see above)The properties used to define the hibernate JDBC database for persisting the what-if engine simulation statuses.See the hibernate documentation for details on individual properties.

Configuration files

Files Modified

hibernate.properties
New properties:
Property NameValueComment
activeviam.distribution.endpoint.protocol“http”Protocol to use when connecting to the server’s REST endpoints.
activeviam.distribution.endpoint.port${server.port}Port to use when connecting to the server’s REST endpoints.
activeviam.distribution.endpoint.suffix“frtb-starter”Servlet context path for connecting to the server’s REST endpoints.
what-if.db.hibernate.dialectorg.hibernate.dialect.H2DialectHibernate’s hibernate.dialect property.
what-if.db.hibernate.hbm2ddl.autocreateHibernate’s hibernate.hbm2ddl.auto property.
what-if.db.hibernate.current_session_context_classthreadHibernate’s hibernate.current_session_context_class property.
what-if.db.hibernate.connection.urljdbc:h2:mem:what-if;DB_CLOSE_DELAY=-1Hibernate’s hibernate.connection.url property.
what-if.db.hibernate.connection.driver_classorg.h2.DriverHibernate’s hibernate.connection.driver_class property.
Deleted properties:
Property NameComment
directquery.enabledReplaced by starter.deployment.type=direct-query
directquery.wait-for-data-load / directquery.waitForDataLoadReplaced by starter.deployment.type=direct-query
application.properties (formerly frtb.properties)
New properties:
PropertyDescriptionValues
starter.deployment.typeSpecifies the nature of the database used for the cube.It can take three values:in-memory (default): The in-memory datastore is used., direct-query: An external database is used. This replaces the directquery.enabled property.

An in-memory datastore is still used for configuration data and caching.

, query-node: No database is used. This can contain the FRTBCombinedCube and the StandardisedApproachCube (support for IMA cubes will be in a future version).
starter.deployment.transportSpecifies the messenger to use for communication between cubes.It can take three values:local (default): For communication only within a single machine. It cannot be used for distribution, but is faster if distribution isn’t needed., netty: For jgroups communication between machines in a distributed deployment., none: For data cubes that use no communication bus. This configuration cannot be used with query-nodes and the FRTBCombinedCube must be disabled.
combined.disable=falseAn existing flag which turns the FRTBCombinedCube polymorphic cube on or off.

Modified stores

ModificationStoreFieldTypeDescription
AddedSaSensitivitiesInstrument TypeStringFor DRC non-Sec only. Reported Instrument Type (“Derivative” or “Non-Derivative”).
AddedRRAOExemption ReasonStringReported reason why the position is exempt from RRAO.
AddedRRAOAsset ClassStringReported asset class.
AddedRRAOOverridesExemption ReasonStringReported reason why the position is exempt from RRAO.
AddedRRAOOverridesAsset ClassStringReported asset class.
AddedUnderlyingDescriptionGIRR Basis CcyStringGIRR only. The counter currency for GIRR cross-currency basis curves (USD or EUR).
AddedBookDescriptionIRT_DESKString
RemovedDeskDescriptionIRT_DESKString

Removed stores

StoreDetails
BookDeskMappingRenamed as BookDescription

DirectQuery

Added

AddedDetails
IMA ES SupportDirectQuery can now be used with the InternalModelApproachCube cube. The IMA ES calculations can now be performed against data sourced from a remote database when using DirectQuery.
Cube Conditional AnnotationsConditional expression annotations to create beans depending on whether different cubes are enabled/disabled.
Dates FilterAdded configurations to filter the dates the DirectQuery node has access to from the remote database.
DirectQueryCachedTablesConfigConfigures which tables to cache in-memory, sourced from a DirectQuery remote database table.
DirectQueryDictionarizedFieldsConfigConfigures which DirectQuery table fields should be dictionarized.

Changed

ClassDetails
ADirectQueryDatabaseSchemaConfiguration has been removed and replaced with DirectQueryCachedTablesConfig and DirectQueryDictionarizedFieldsConfig.

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

TableDetails
ES_SCENARIO_FX_RATESOnly needed for IMA
IMARISK_FACTORSOnly needed for IMA
IMATRADESOnly needed for IMA
SCENARIOSOnly needed for IMA
BOOK_DESCRIPTIONReplaces BookDeskMapping table.

Cube schema

Added

CubeDimensionHierarchyLevelsDatastore fieldsDetails
SADefault Risk Charge[DRC non-Sec Instrument Type]DRC non-Sec Instrument TypeSaSensitivities.Instrument TypeReported type of the instrument, derivative or non-derivative.
SARisk[RRAO Exemption Reason]RRAO Exemption ReasonRRAO.Exemption ReasonReported reason why the position is exempt from RRAO.
SARisk[RRAO Asset Class]RRAO Asset ClassRRAO.Asset ClassReported asset class for the position.
SARisk[GIRR Basis Ccy]GIRR Basis CcyUnderlyingDescription.GIRR Basis CcyThe counter currency for GIRR cross-currency basis curves.
AllBooking[IRT Group]IRT GroupIRTDeskGroups.IRT_GroupThe membership group to use for IRT Desks.
AllOrganization[Categories]CategoryCategories.CategoryA category that can be used for internal reporting. Only present if the property categories-hierarchy.enabled=true is set.

Measures

Added

CubeMeasureDetails
SArisk-class risk-measure Risk Position scenario (reported)The “Reported” variation of the SBM Risk Position measures have been added for the new EBA reporting requirements.
SAdrc-risk-class Net JTD direction (reported)The “Reported” variation of the DRC Net JTD measures have been added for the new EBA reporting requirements.
SAdrc-risk-class WtS Ratio (reported)The “Reported” variation of the DRC WtS Ratio measures have been added for the new EBA reporting requirements.

Moved

The following measures have been moved form 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.
CubeMeasureDetails
SAbase-measure ImportedImported measures are and only provided for backwards compatibility with older EBA reporting templates. In a future version these measures will be hidden.

Context values

No changes.