Overview
Atoti Common Library provides a library for Business Solutions to share common code.
How to use Atoti Common Library
Import the shared library into your POM file as follows:
<dependencies>
<dependency>
<groupId>com.activeviam.apps</groupId>
<artifactId>shared</artifactId>
<version>${compatible.lib.version}</version>
</dependency>
</dependencies
What’s included
Feature groups
Feature | Description | Notes |
---|---|---|
Bean services for post-processors | External Spring bean resources to achieve specific client-customizable services in the Business Solutions. | |
Cube builder | Classes to override to set up data and query cubes. | |
Date Conversion | Several services for converting a pillar value into a duration. | |
DirectQuery | Designed to connect the Atoti Server implementation to an external database as a data repository. | |
Functional Interfaces | List of functional interfaces used to define lambdas. | |
FX Rate | Service that provides a currency conversion between any given currencies by direct, reverse or defined-pivot currency conversion. | |
Hierarchies | Utilities provided for setting up the hierarchies. | |
Caching tools | Several tools and implementations used for caching (query cache, partitioned cache, and epoch cache). | |
Sign-Off | The configuration to activate the sign-off analysis hierarchy and sign-off adjustments. |
Packages
Package | Description | Notes |
---|---|---|
Comparators | Additional comparators mainly used for level ordering. | |
Context | Commonly used context values, their interfaces, implementations and corresponding translators. | The included list of context values are, VaR, ES, ReferenceCurrency |
Custom analysis hierarchies | ||
Post-processor | Contains commonly used post-processors. | Examples are VaR, ES etc. |
Services | The Market Data Retrieval service. | |
[Signoff] | Contains the configuration to activate sign-off analysis hierarchy and sign-off adjustments | The Spring configuration for a cube is SignOffAnalysisConfig, the adjustable measures also need to be configured. |
Spring | All the tools (bean filters and Spring parameters) needed for the Spring configuration. | |
TailMeasure | A pluggable interface to calculate the tail portion of a PnL vector. Typically used in VaR and ES and can be customized by overriding a Spring bean. | Relevant class is TailMeasureCalc |
Utils | Contains helper methods to access cube information. | The relevant class is PostProcessorUtils |
Vector | Read-only sparse vectors. |