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
| 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.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
What-If simulation persistence
Properties bound from thecvarc.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.