> ## 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.

# Project configuration

## Properties files

<Note>
  These properties files relate to configuring Atoti CVA Risk Capital.
</Note>

Location: The application properties files are provided in the `cvarc-application` module in the `cvarc-application/src/main/resources/` directory

| File                      | Purpose                                              |
| ------------------------- | ---------------------------------------------------- |
| application.yaml          | Sets port and context for the application            |
| cvarc.properties          | General properties                                   |
| hibernate.properties      | Hibernate (persistence and query service) properties |
| tracing.properties        | OpenTelemetry tracing configuration (6.0.0+)         |
| signoff.properties        | General Sign-off module configurations               |
| signoff.export.properties | Sign-off export configurations                       |

## Data files

You will need to specify where your CSV files are placed. In the default
implementation, the CSV files are required to provide Atoti Server with
the necessary data and configuration to do the calculations in the
Atoti CVA Risk Capital.

All the files need to be kept under one directory of your choice
anywhere on the file system. The path to this directory needs to be
specified in cvarc.properties. The below property needs to be updated to
specify an accessible directory containing the necessary files.

#### Example

**Sample files** can be found in
the cvarc-application-tests/src/**test**/resources/data-samples/data folder (a.k.a. don't expect
to see any of them in the WAR generated by the build)...

```
csvSource.dataset=data
```

<Tip>
  To get started with deployment (e.g. if you are not running the
  application directly from the IDE) you can easily copy/paste the whole
  sample data folder (from source zip) into somewhere accessible by your
  deployed runtime, and change the configuration in `cvarc.properties`
  accordingly to point to that data.
</Tip>

## Bookmarks

If you want to replace the bookmarks you have persisted in your content
server, you can override all the content of the content server with
content from a JSON file when the Atoti Server instance starts up.

In order to do this, the value for the property
contentServer.factory-reset should be set to true in the file
cvarc.properties as below.

```
contentServer.factory-reset=true
```

The data that gets loaded into the content server is imported from a
json file. The json file that gets loaded in by default is
cvarc-content-server.json. It is specified in cvarc.properties as below:

```
contentServer.factory-reset.filename=cvarc-content-server.json
```

Atoti CVA Risk Capital ships with the following two sample content server
files:

* **cvarc-content-server.json** - Sample set of bookmarks are for the
  SA, BA and CVARC Cube.

If you want to replace the bookmarks you have persisted in your content
server with bookmarks from the /bookmarks directory, these properties need to be set:

```
-DcontentServer.factory-reset=folder
-DcontentServer.factory-reset.folder-name=file:./bookmarks
```

## DoctorPivot configuration (optional)

* No changes required
