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

# Migration guide

This page explains the changes required to migrate to the stated version of Atoti CVA Risk Capital.

## Migrate to 5.0.1

No migration needed.

## Migrate to 5.0.0

Upgrading from version *4.0.3* See [Atoti CVA Risk Capital 5.0.0 Release
Notes](./release-notes).

Atoti CVA Risk Capital uses Atoti Server 6.0.7 and Atoti UI 5.1.x.
For new features and fixes included in these releases, please see the [Atoti UI documentation](/data-visualization/atoti-ui/5.1/)
and [Atoti UI Migration Notes](/data-visualization/atoti-ui/5.1/docs/changelog), and the [release notes for Atoti Server](https://docs.activeviam.com/products/atoti/server/6.0.7/docs/release/changelog/index.).

For clients licensed to use ActiveMonitor, a skeleton module based on
version 6.0.7 is included with the Atoti CVA Risk Capital 5.0.0 release.

### Headline announcement

* **Atoti Server 6.0**: Upgrade to 6.0.7.
* **CRIF file format** : Fixed CRF file format to align with ISDA specification. The ValuationDate field was removed from the file and is determined from the filename (or directory).

#### Monitoring configuration

In [Atoti Server](https://docs.activeviam.com/products/atoti/server/6.0.7/), monitoring is part of the core product. The Atoti Server Monitoring (APM) extension is no longer needed.

The following configuration files have been added:

* ApplicationMonitoringConfig.java
* BraveTracingConfig.java
* MonitorConfig.java

#### Security configuration

* The UserDetailsService bean is now defined in its own class, UserDetailsServiceConfig.
* The class InMemoryUserDetailsManagerBuilder has been removed.
* In the class ASecurityConfig, the class AActiveUISecurityConfigurer has been added to handle the security for the Atoti UI connection.
* The SecurityConfig file has been modified accordingly.

#### Data-Extract-Engine configuration

Only the CsvDataExtractionEngineConfig configuration class coming from the Data Controller core classes is imported now. These configuration files are no longer imported:

* CsvDataExtractionServicesConfig
* CsvDataExtractionRestServicesConfig
* CsvEnhancedDrillthroughServicesConfig
* EnhancedDrillthroughRestServicesConfig
* DataExtractionWebServicesConfig
* DataExtractionRemotingServicesConfig

#### Content Server database

The content server database has been migrated to H2 version 2.

#### Datastore configuration

The class ExtendedDatastoreConfig has been renamed to ExtendedActivePivotWithDatastoreConfig and its content upgraded to be compatible with the Atoti Server 6.0 API.

### Input file formats

#### Added

<table><thead><tr><th>File</th><th>Details</th></tr></thead><tbody><tr><td><a href="../../../input-files/credit-quality-mapper">credit-quality-mapper.csv</a></td><td>This file feeds the CreditQualityMapper store. If not present, the store will be empty, preventing the retrieval of the credit quality category, which in turn will prevent comparing two credit qualities.</td></tr></tbody></table>

#### Modified

| Modification | File                                               | Field         | Optional | Description                                                                                                         |
| ------------ | -------------------------------------------------- | ------------- | -------- | ------------------------------------------------------------------------------------------------------------------- |
| Deleted      | [crif.csv](../../../input-files/sensitivity-files) | ValuationDate |          | This column was removed from the file format. The ValuationDate is now determined from the filename (or directory). |

### Configuration files

#### Files added

##### [apm.properties](../../../configuration/apm-properties)

The **apm.properties** file is used to configure the Atoti Server Application Performance Monitoring (APM). APM monitors the healthiness and performance of Atoti Server instances. It provides several features easing the support work, and reducing the burden of maintaining and troubleshooting Atoti Server.

#### Files modified

##### [jwt.properties](../../../configuration/jwt-properties)

Properties starting with `qfs.jwt` have been renamed to start with `activeviam.jwt`.

##### [cvarc.properties](../../../configuration/cvarc-properties)

New properties:

<table><thead><tr><th>Property Name</th><th>Comment</th><th>Value</th></tr></thead><tbody><tr><td>server.servlet.context-path</td><td>Sets the application’s context path</td><td>/cvarc-starter</td></tr><tr><td>useLimitsModule</td><td>Enables/disables connecting to Atoti Limits</td><td>false</td></tr></tbody></table>

#### Files deleted

The signoff.hibernate.properties file has been removed, as Sign-Off is a standalone application and does not require a direct hibernate property.

### Datastores

#### Added stores

<table><thead><tr><th>Store</th><th>Details</th></tr></thead><tbody><tr><td>CreditQualityMapper</td><td>Holds the pairing between credit qualities and their associated category (for comparison).</td></tr></tbody></table>

### Cube schema

No changes.

### Measures

No changes.

### Context values

No changes.
