Project configuration

Properties files

For details, see Configuration files

Location: mr-application/src/main/resources

File Purpose
dee.export.properties configure the DEE service tool that is intended to perform data extractions.
hibernate.properties
reporting.properties
greek-based-pl-formula-rules.properties For PnL Explain: Define the type of computation (formula and Taylor expansion order) per risk class and sensitivity measure
mr.properties Define pattern matching formats for input files
mr-config.properties Computations
signoff.export.properties Set the directory and filename pattern for storing the exported approved mandate data. By default the format is [AsOfDate]\MRA_[MandateId][Date][Timestamp].csv

Data Files

You will need to specify where your CSV files are placed. In the default implementation, the CSV files are required to provide ActivePivot with the necessary data and configuration to do the calculations in the Accelerator.

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 mr.properties. The below property needs to be updated to specify an accessible directory containing the necessary files.

Sample files can be found in the mr-application/src/test/resources/data folder

csvSource.dataset=data

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 mr.properties accordingly to point to that data.

Bookmarks

If you want to replace the bookmarks you have persisted in your content server, there are several options for overriding the content of the content server with the core Accelerator bookmarks at startup.

The behavior of the bookmark reset is driven by the contentServer.factory-reset group of properties in the mr.properties file.

The contentServer.factory-reset property determines whether the reset is performed, and from which persistence type. Available options are:

  • true: Imports data from a single JSON file

  • file: Same as for true

  • folder: Imports the bookmarks from a folder-based hierarchical representation of the ActiveUI bookmark tree.

  • false: Does not reset the bookmarks. The bookmarks are loaded directly from the content server without any modification.

The location from which the Accelerator will attempt to load the various options is determined by the factory reset filename (contentServer.factory-reset.filename) and folder name (contentServer.factory-reset.folder-name) properties. The default values point to the Accelerator sample files on the classpath.

Due to the inability to load classpath files or folders from a JAR file, running the application via the SpringBoot JAR will require overriding the property via the CLI argument:

contentServer.factory-reset.folder-name="file:full\example\path\mr-content-server"

The bookmark samples for the Accelerators can be found within the UI release files, containing bookmarks for the VaR-ES, Sensitivities, PnL, and MRCombined Cubes.

ActiveUI

You will need to specify in the ActiveUI configuration file where the ActivePivot project is running. Please note, 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 mr_env.js file which will need to be updated with the correct server URL:

# The URL to use to connect to ActivePivot
activePivotServerUrl: 'http://localhost:10010/mr-application',

DoctorPivot Configuration (optional)

No changes required