Skip to main content

Properties files

These properties files relate to configuring the application. For details of properties files for configuring inputs to the calculations, see Configuration files.
Location: The application properties files are provided in the frtb-application module in the frtb-application/src/main/resources/ directory

Spring annotations

Data Files

You will need to specify where your CSV files are placed. In the default implementation, the CSV files are required to provide with the necessary data and configuration to do the calculations in . All the files need to be kept under one directory of your choice anywhere on the file system. The path to this directory needs to be specified in application.properties. The below property needs to be updated to specify an accessible directory containing the necessary files.

Example

Sample files can be found in the sample-data/data folder.
These files can’t be found in the WAR generated by the build.
To get started with deployment (e.g. if you are not running the application directly from the IDE) you can easily copy/paste the whole sample data folder (from source zip) into somewhere accessible by your deployed runtime, and change the configuration in application.properties accordingly to point to that data.

Bookmarks

If you want to replace the bookmarks you have persisted in your content server, you can override all the content of the content server with content from a JSON file when the instance starts up. To do this, in application.properties, set the value of the contentServer.factory-reset property to true:
The data loaded into the content server is imported from a json file. The json file loaded by default is frtb-content-server.json. It is specified in application.properties as below:
provides a directory for the bookmarks which can be loaded using the contentServer.factory-reset=folder and contentServer.factory-reset.folder-name=dir-name. See the bookmarks.zip in the distribution files for this release. You will need to specify in the configuration file where the project is running.
The end-user’s browser will be connecting to the URL you specify here, so you should specify the exact host name as opposed to localhost.
The standalone application contains an frtb_env.js file which will need to be updated with the correct server URL:

DoctorPivot Configuration(optional)

  • No changes required

Data Load Controller (DLC)

The Data Load Controller (DLC) is a component within that supports managing the loading and unloading of data. For an overview of how the DLC is used and how to customize it, see Data Load Controller in For configuration details, see FRTB-specific configuration.