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-starter\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. |
input.data.root.dir.path | ./data-samples |
Path to the directory containing the files to load. |
csvSource.subdirectory.dataset | /data |
Subdirectory of the dataset. |
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. |
csvSource.polling.delay | 10000 |
The frequency of real time CSV source to pull, in milliseconds. |
initial-load.business-dates | 2018-12-05,2018-12-04,2018-12-03 |
The business dates of data to load 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. Requires aws.accessKeyId, aws.secretKey, aws.bucket, aws.root_directory, and aws.region properties to be set.- 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.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. |
AWS S3 properties
Property | Value | Description |
---|---|---|
aws.bucket | cvarc |
The name of the AWS S3 bucket. |
aws.root_directory | data-samples |
The name of the data folder within the AWS S3 bucket. |
aws.region | us-east-1 |
The AWS S3 Region. Available regions: us-gov-west-1, us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, sa-east-1, cn-north-1, ca-central-1 |
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. |
google.container | The name of the Google container. | |
google.root_directory | The name of the root data folder within the GCP container. | |
cloud.fetch.thread | 12 |
Azure is up to 60 MiB/s per block blob and the same per share. Active Cloud API bypasses it with several connections. This is the parameter to control the number of connections from APS to Azure storage. |
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. |
useLimitsModule | false |
Enables/disables connecting to Atoti Limits. |
reference-levels.list | `` | List of levels for the Reference Level context value. |