Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt

Use this file to discover all available pages before exploring further.

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

PropertyValueDescription
csvSource.parserThreads16The number of threads used to parse the files.
csvSource.bufferSize1024Sets 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}/configurationPath to the configuration files directory. Defaults to a configuration subdirectory under the dataset path.
csvSource.subdirectory.dataset.whatif/whatifSubdirectory for stressed sensitivities What-if files to load. Files are deleted after upload.
csvSource.subdirectory.dataset.stage/stageSubdirectory 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.
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.
PropertyValueDescription
initial-load.business-dates2018-12-05,2018-12-04,2018-12-03The business dates of data to load during startup.
initial-load.configurationtrueWhether to load configuration files during startup.

Content server

PropertyValueDescription
contentServer.security.calculatedMemberRoleROLE_USERThe role users must have to create calculated members in the content server.
contentServer.security.kpiRoleROLE_USERThe role users must have to create KPIs in the content server.
contentServer.security.cache.entitlementsTTL3600The time the entitlement cache is active (in seconds).
spring.profiles.activelocal,local-contentSpecifies 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.urihttp://localhost:9093/contentThe URI of the content server used by RemoteContentServiceConfig.
contentServer.prefixcvarcThe prefix of the content server name.
contentServer.factory-resetfalseReset 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.

Development only, turn this off in production.

contentServer.factory-reset.filenamecvarc-content-server.jsonFilename of the release version of the content server contents.
contentServer.factory-reset.folder-namecvarc-content-serverThe folder containing the release version of the content server contents.
contentServer.bookmarks.default-ownersROLE_ADMINThe default owners for bookmarks.
contentServer.bookmarks.default-readersROLE_USERThe default readers for bookmarks.

Azure properties

PropertyValueDescription
azure.containercvarcThe Azure container/share name.
azure.root_directorydata-samplesThe name of the root data folder within the Azure container.

What-If file upload

PropertyValueDescription
cvarc.whatif.file-upload.data.upload-sourcelocal-csv-sourceThe DLC source name used for file operations.
cvarc.whatif.file-upload.data.stagestageThe staging directory for uploaded files (relative to input path).
cvarc.whatif.file-upload.data.whatifwhat-ifThe What-If directory where files are processed (relative to input path).
cvarc.whatif.file-upload.data.disablefalseFlag 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.
PropertyDefault valueDescription
cvarc.whatif.persistence.hibernate.hbm2ddl.autocreateHibernate schema management strategy. create drops and recreates the schema on each startup.
cvarc.whatif.persistence.hibernate.current_session_context_classthreadHibernate session context strategy.
cvarc.whatif.persistence.hibernate.connection.urljdbc:h2:mem:what-if;DB_CLOSE_DELAY=-1JDBC URL for the simulation persistence store. Replace with a file-based URL for durable storage.
cvarc.whatif.persistence.hibernate.connection.driver_classorg.h2.DriverJDBC driver class. Replace with the appropriate driver when using an external database.

Miscellaneous

PropertyValueDescription
fx-rates.common-currencyUSDSets the currency to use for indirect FX rate look-ups (e.g AUD/SGD as AUD/EUR * EUR/SGD).
asOfDateLevelAsOfDate@Date@DatesCube location for AsOfDate.
sa.cva-loss.signpositiveIndicates if CVA losses are represented by positive or negative numbers.
reference-levels.list,IsSaEligible@IsSaEligible@TradePosition,IsBaEligible@IsBaEligible@TradePosition,CapitalTreatment@CapitalTreatment@TradePositionList of levels for the Reference Level context value.