Skip to main content

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

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.

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

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.

Miscellaneous