cvarc.properties
File purpose
The cvarc.properties file is used to define the file loading formats and pattern matching for the input files to the datastore, content server settings, parameters for the starter web apps, Spring profiles, and FX rates service.
File location
The file is located in the folder cvarc-application\src\main\resources\properties.
File values
Section: CSV Loading
| Property | Value | Description |
|---|---|---|
| csvSource.parserThreads | 16 |
The number of threads used to parse the files. |
| csvSource.bufferSize | 1024 |
Sets the size of a byte buffer, in kilobytes. |
| csv-source.dataset | ${csv.topic.path:...} |
Path to the dataset directory. Supports Spring placeholders for externalized configuration. |
| csv-source.dataset-configuration | ${csv-source.dataset}/configuration |
Path to the configuration files directory. Defaults to a configuration subdirectory under the dataset path. |
| csvSource.subdirectory.dataset.whatif | /whatif |
Subdirectory for stressed sensitivities What-if files to load. Files are deleted after upload. |
| csvSource.subdirectory.dataset.stage | /stage |
Subdirectory of temporary What-if data during the What-if operation. After the What-if dataset is consumed, the data in the stage folder is deleted by the application. |
note
These properties are legacy. The What-If file upload functionality now uses cvarc.whatif.file-upload.data.stage (default: stage) and cvarc.whatif.file-upload.data.whatif (default: what-if) instead.
| initial-load.business-dates | 2018-12-05,2018-12-04,2018-12-03 | The business dates of data to load during startup. |
| initial-load.configuration | true | Whether to load configuration files during startup. |
Content server
| Property | Value | Description |
|---|---|---|
| contentServer.security.calculatedMemberRole | ROLE_USER |
The role users must have to create calculated members in the content server. |
| contentServer.security.kpiRole | ROLE_USER |
The role users must have to create KPIs in the content server. |
| contentServer.security.cache.entitlementsTTL | 3600 |
The time the entitlement cache is active (in seconds). |
| spring.profiles.active | local,local-content |
Specifies the active Spring Profiles.remote-content to use the remote configuration, local-content to use the local configuration.Data source profiles: - local: for files stored locally.- s3: for using files stored in an S3 bucket.- azure: for using files stored in an Azure blob instance. Requires azure.connection.string, azure.container, and azure.root_directory properties to be set.- google: for using files stored in an Google cloud instance.Distributed architecture profiles: - dist-query-node: enables query-node-only features for distributed deployments.- dist-data-node: enables data-node-only features for distributed deployments.- If neither profile is activated, single-JVM deployment is assumed (all cubes on one JVM with local messenger). See RemoteContentServiceConfig and LocalContentServiceConfig. |
| contentServer.remote.api.uri | http://localhost:9093/content |
The URI of the content server used by RemoteContentServiceConfig. |
| contentServer.prefix | cvarc |
The prefix of the content server name. |
| contentServer.factory-reset | false |
Reset the contents of the content server to those provided in the Atoti CVA Risk Capital 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. |
| contentServer.factory-reset.filename | cvarc-content-server.json |
Filename of the release version of the content server contents. |
| contentServer.factory-reset.folder-name | cvarc-content-server |
The folder containing the release version of the content server contents. |
| contentServer.bookmarks.default-owners | ROLE_ADMIN |
The default owners for bookmarks. |
| contentServer.bookmarks.default-readers | ROLE_USER |
The default readers for bookmarks. |
Azure properties
| Property | Value | Description |
|---|---|---|
| azure.container | cvarc |
The Azure container/share name. |
| azure.root_directory | data-samples |
The name of the root data folder within the Azure container. |
What-If File Upload
| Property | Value | Description |
|---|---|---|
| cvarc.whatif.file-upload.data.upload-source | local-csv-source |
The DLC source name used for file operations. |
| cvarc.whatif.file-upload.data.stage | stage |
The staging directory for uploaded files (relative to input path). |
| cvarc.whatif.file-upload.data.whatif | what-if |
The What-If directory where files are processed (relative to input path). |
| cvarc.whatif.file-upload.data.disable | false |
Flag to disable the file upload service. |
What-If Simulation Persistence
Properties bound from the cvarc.whatif.persistence namespace.
Any key under persistence is passed directly to Hibernate, so standard
Hibernate property names apply. The defaults configure an in-memory H2 database
suitable for local and test environments. For durable storage, override with a
file-based or external JDBC datasource.
| Property | Default value | Description |
|---|---|---|
cvarc.whatif.persistence.hibernate.hbm2ddl.auto |
create |
Hibernate schema management strategy. create drops and recreates the schema on each startup. |
cvarc.whatif.persistence.hibernate.current_session_context_class |
thread |
Hibernate session context strategy. |
cvarc.whatif.persistence.hibernate.connection.url |
jdbc:h2:mem:what-if;DB_CLOSE_DELAY=-1 |
JDBC URL for the simulation persistence store. Replace with a file-based URL for durable storage. |
cvarc.whatif.persistence.hibernate.connection.driver_class |
org.h2.Driver |
JDBC driver class. Replace with the appropriate driver when using an external database. |
Miscellaneous
| Property | Value | Description |
|---|---|---|
| fx-rates.common-currency | USD |
Sets the currency to use for indirect FX rate look-ups (e.g AUD/SGD as AUD/EUR * EUR/SGD). |
| asOfDateLevel | AsOfDate@Date@Dates |
Cube location for AsOfDate. |
| sa.cva-loss.sign | positive |
Indicates if CVA losses are represented by positive or negative numbers. |
| reference-levels.list | ,IsSaEligible@IsSaEligible@TradePosition,IsBaEligible@IsBaEligible@TradePosition,CapitalTreatment@CapitalTreatment@TradePosition |
List of levels for the Reference Level context value. |