Step 1 - (Optional) Modify the schema selection description
If the default Atoti Market Risk behavior is not appropriate for the fields added in the datastore, schema selection customization might be required. For details about the available customization mechanism, please refer to Configuring schema selections using Spring Beans.Step 2 - Create the level
The field in the schema selection can now be turned into a level in the cube. Dimensions, hierarchies, and levels can be added to the cube configuration by creating Spring Beans with typeHierarchyBuilderConsumer and one of the following qualifiers:
For example:
When using DirectQuery
When using DirectQuery, perform the steps as listed preceding. There are no additional requirements.Copper hierarchies case
The Copper hierarchies are analysis hierarchies that are built from Copper join from a side store. You can also amend Copper hierarchies. They mainly work the same way as the Copper metrics.The Copper join
The copper join is exposed on a bean of typeCopperStore, with a qualifier. You can override it by creating a new bean with the same qualifier and the primary annotation.
For instance if you want to override the Var-ES cube to Scenario store Copper join:
The Copper hierarchy
The Copper hierarchies are exposed on beans of typePublishable<CopperHierarchy>, with a qualifier. You can override it by creating a new bean with the same qualifier and the primary annotation.
For instance if you want to override the Var-ES cube liquidity Horizon Copper hierarchy:
Publishable<CopperHierarchy> with a new qualifier.
The Copper hierarchy qualifiers
The following table lists the Copper hierarchy qualifiers that are used in the different cubes. You can override any of them by creating a new bean with the same qualifier and the primary annotation.The left-join Copper metrics
The left-join Copper metrics are handled on the same exact way as the other Copper metrics are. The only difference is that you need to inject the qualifiedCopperStore bean that you want to use for the left-join.