The Atoti FRTB uses Spring Boot to manage some configuration properties.
Typically these are properties that may change between environments and deployments, for example, development, CI, QA/UAT, and production.
The properties are spread over several files, they are located in the folder frtb-starter/src/main/resources, and loaded from the classpath:
application.yaml
frtb.properties
frtb-cloud.properties
jwt.properties
While application.yaml is specified as part of Spring Boot, the other files are specified using the @PropertySource annotation.
note
For details on the external configuration in Spring Boot, including how properties may be changed for different environments,
see the Spring Boot documentation.
Web Server
Key
Value
Description
Default Definition in File
server.port
8080
The port used for the application external services.
application.yaml
server.servlet.context-path
“/frtb-starter”
The context path of the application.
application.yaml
Deployment
Key
Value
Description
Default Definition in File
starter.deployment.type
“in-memory”
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.
note
Note: An in-memory datastore is still used for configuration data.
query-node: No database is used.
application.yaml
starter.deployment.transport
“local”
The messenger to use for communication between cubes. It can take two 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.
application.yaml
Datastore partitioning
Key
Value
Description
Default Definition in File
partitioning.TradeId
8
Datastore partitioning configuration option. Sets the number of partitions to use based on the hash value of the Trade Id.
frtb.properties
partitioning.AsOfDate
true
Datastore partitioning configuration option. Enables and disables partitioning based on the AsOfDate.
frtb.properties
Config files
Key
Value
Description
Default Definition in File
measure.descriptions
measure-descriptions.json
The configuration file containing measure descriptions.
frtb.properties
drillIn.data
drillInConfig.json
The configuration file containing drill-in data.
frtb.properties
logging.config
classpath:logback-stdout.xml
Location of the logging configuration file.
application.yaml
CSV loading
Key
Value
Description
Default Definition in File
csvSource.parserThreads
16
The number of threads used to parse the files.
frtb.properties
csvSource.bufferSize
1024
Sets the size of a byte buffer, in kilobytes.
frtb.properties
FX rates service
Key
Value
Description
Default Definition in File
fx-rates.common-currency
EUR
Sets the currency to use for indirect FX rate look-ups (e.g AUD/SGD as AUD/EUR * EUR/SGD)
frtb.properties
Content server
tip
For details on the Content Server in Atoti Server, see Content Server.
Key
Value
Description
Default Definition in File
contentServer.security.calculatedMemberRole
ROLE_USER
The role users must have to create calculated members in the content server.
frtb.properties
contentServer.security.kpiRole
ROLE_USER
The role users must have to create KPIs in the content server.
frtb.properties
contentServer.security.cache.entitlementsTTL
3600
The time to live (in seconds or duration string) of the entitlement cache.
frtb.properties
contentServer.remote
false
Specifies whether FRTB should use the remote or the local configuration. true uses the remote configuration, while false uses the local configuration.
frtb.properties
contentServer.remote.api.uri
localhost:9091/
The URI of the content server used by RemoteContentServiceConfig.
frtb.properties
contentServer.factory-reset
false
Resets the contents of the content server to those provided in the Atoti FRTB release. Valid values are false, true, file, folder (case-agnostic). true defaults to the file-based implementation.
note
Development only. Turn this off in production.
frtb.properties
contentServer.factory-reset.filename
frtb-content-server.json
The filename of the release version of the content server contents.
frtb.properties
contentServer.factory-reset.folder-name
frtb-content-server
The folder containing the release version of the content server contents.
frtb.properties
contentServer.bookmarks.default-owners
ROLE_ADMIN
The default owners for any bookmark.
frtb.properties
contentServer.bookmarks.default-readers
ROLE_USER
The default readers for any bookmark.
frtb.properties
contentServer.root.user
pivot
The root user of the content server, used by RemoteContentServiceConfig.
frtb.properties
contentServer.remote.max-connection-time
PT5M
The max time to wait for Remote Content Service (in seconds or duration string), used by RemoteContentServiceConfig.
frtb.properties
FRTB parameter retriever selection
Key
Value
Description
Default Definition in File
parameter.retriever
This property is not in use.
frtb.properties
Maturity converter
Key
Value
Description
Default Definition in File
maturity-converter.sa.sbm
legacy
Maturity Converter to be used for SBM calculations. Currently available values are “legacy” and “simple”.
frtb.properties
maturity-converter.drc
simple
Maturity Converter to be used for DRC calculations. Currently available values are “legacy” and “simple”.
frtb.properties
maturity-converter.day-count
A/365
The default day count convention to use with the “simple” maturity converter. Currently available values are: - A/360 - A/365F - A/365
note
This option is ignored by the legacy maturity converter.
frtb.properties
Discovery requests
Key
Value
Description
Default Definition in File
activeviam.distribution.maxPendingDiscoveries
5
The number of outstanding discovery requests in the query node. For a smooth startup, set this to the number of data cubes across all instances.
frtb.properties
Data Load Controller
Key
Value
Description
Default Definition in File
dlc.audit-logging.enabled
false
Enable or disable additional logging of DLC.
frtb.properties
csvSource.dataset
data
Path to the directory containing the files to load.
frtb.properties
crif-reporting-currency
USD
The reporting currency used for FX sensitivities loaded from CRIF files.
frtb.properties
auto-cleanup.upon.summary.data
true
When loading data into a cube, the presence of summary data for an AsOfDate automatically erases the corresponding full dataset.
frtb.properties
optionality-service.auto-run
“none”
The Optionality Service can automatically set the “optionality” flag on the delta sensitivities, by matching them with curvature sensitivities during the ETL. It can be run explicitly as a topic through the DLC, or automatically after loading sensitivities for “delta”, “curvature”, “crif”, “all”, or “none”.
application.yaml
Data Extraction Engine
Required properties
Key
Value
Description
Default Definition in File
data.extraction.service.base.dir.path
./
Path to the folder in which the files will be generated for regular extractions.
frtb.properties
data.extraction.service.http.base.url
http://localhost:8080
URL mount point to access the folder as a Web File Server for regular extractions.
frtb.properties
enhanced.drillthrough.base.dir.path
./src/main/resources/DEEDrillthroughs
Path to the folder in which the files will be generated for the Enhanced Drillthrough extractions.
frtb.properties
enhanced.drillthrough.http.base.url
http://localhost:8080
URL mount point to access the folder as a Web File Server for the Enhanced Drillthrough extractions.
frtb.properties
Additional properties
Key
Value
Description
Default Definition in File
data.extraction.templates.base.dir.path
./src/main/resources/DEETemplateOrders
Path to the folder holding the JSON order template files.
frtb.properties
data.extraction.service.with.user.folders
false
Include the user name in the folder path generated. For example: /Output/User1/extraction.csv
frtb.properties
Feature selection properties
Key
Value
Description
Default Definition in File
ima.disable
false
Set to true to disable IMA cubes: InternalModelApproachCube, IMADRCCube, PLCube & StressedCalibrationCube.
frtb.properties
ima.es.disable
false
Set to true to disable IMA ES cubes: InternalModelApproachCube.
frtb.properties
ima.drc.disable
false
Set to true to disable IMA DRC cubes: IMADRCCube
frtb.properties
ima.plat-backtesting.disable
false
Set to true to disable IMA PLAT & Backtesting cubes: PLCube