How is the Ratings cube distributed?
Counterparty Credit Risk (Enterprise Risk) is distributed as Maven libraries, not as a standalone application. To use the Ratings cube, addratings-cube-starter as a dependency to an existing Atoti Spring Boot application. The starter registers the Ratings cube, the Ratings data load and the Ratings post-load validation, and pulls in ccr-config and the required Atoti Server dependencies (atoti-server-starter, atoti-ui-starter, atoti-admin-ui-starter).
When is the Ratings cube enabled?
The Ratings cube is on whenratings-cube-starter is on the classpath, unless atoti.solution.model.cubes.ratings.enabled is false. It needs at least one entry under atoti.solution.model.cubes.ratings.rating-components, and each entry’s grading must name a grading factory (IGradingFactory) the application registers. The solution ships neither. While the cube is on, an empty list fails startup with “Ratings rating-components configuration is empty, so the cube rates nothing. Configure at least one rating component, or set atoti.solution.model.cubes.ratings.enabled to false.” A grading key no registered factory carries fails startup under “unknown grading keys”. See Rating components.
Which coordinates does the archetype take?
When following the common guide, use the following starter coordinates for the application:
Add
RATINGS_LOAD to atoti.solution.data-load.as-of-date.topics and RATINGS_UNLOAD to atoti.solution.data-load.as-of-date.unload-topics. No Ratings data is removed by a date unload: every Ratings channel declares an unload condition that never matches. The counterparty and relationship rows are written at the date sentinel, a fixed placeholder as-of date, so every counterparty row sits at one date and the cube keeps a single counterparty set. See Data loading and Ratings configuration properties.
Ratings-specific configuration
After generating the application, configure the Ratings cube by editingsrc/main/resources/application.yml. See Ratings configuration properties for all available properties.
Related pages
- Ratings public API: Spring beans and interfaces exposed by the Ratings cube
- Rating components
- Data loading
- How to access Atoti UI and Atoti Admin UI