Navigation :
test ../../ test user-ref.html
User & Reference Guide
test ../../ test getting-started.html
Getting started
test ../../ test getting-started/using-this-guide.html
- Using this guide
test ../../ test getting-started/whats-new.html
- What's New
test ../../ test getting-started/frtb-data-model.html
- FRTB Data Model
test ../../ test tutorials.html
Tutorials
test ../../ test tutorials/data-health-check.html
- Data Health Check
test ../../ test tutorials/tips-for-validating-the-calculations.html
- Tips for Validating the Calculations
test ../../ test tutorials/viewing-qis-numbers.html
- Viewing QIS Numbers
test ../../ test tutorials/workaround-for-deadlock-issue-when-attempting-to-create-partitions-for-reference-stores.html
- Workaround for deadlock issue when attempting to create partitions for reference stores
test ../../ test configuration.html
Configuration files
test ../../ test limits.html
Limit monitoring
test ../../ test sign-off.html
Sign-Off Approvals
test ../../ test cube.html
Data Cubes
test ../../ test what-if.html
What-If Analysis
test ../../ test datastore.html
Data Stores
test ../../ test input-files.html
Input Files
test ../../ test dev.html
Developer Guide
test ../../ test dev/dev-release.html
-
Release and migration notes
test ../../ test dev/dev-getting-started.html
-
Getting Started
test ../../ test dev/dev-ref-impl.html
-
FRTB Reference Implementation
test ../../ test dev/dev-core.html
-
FRTB Core
test ../../ test dev/dev-extensions.html
-
Extending the Accelerator
test ../../ test dev/dev-extensions/add-a-new-cube-hierarchy.html
-- Adding New Cube Hierarchies
test ../../ test dev/dev-extensions/add-a-new-cube-measure.html
-- Adding New Cube Measures
test ../../ test dev/dev-extensions/replace-a-cube-measure.html
-- Replacing Cube Measures (Alpha Preview)
test ../../ test dev/dev-extensions/add-a-new-data-loading-unloading-topic.html
-- Adding New Data Loading or Unloading Topics
test ../../ test dev/dev-extensions/add-a-new-kpi.html
-- Adding New KPIs
test ../../ test dev/dev-extensions/add-and-load-new-column-to-existing-file.html
-- Adding and Loading New Columns to an Existing File
test ../../ test dev/dev-extensions/enriching-file-field-adding-column-calculators.html
-- Enriching File Fields by Adding Column Calculators
test ../../ test dev/dev-extensions/set-up-context-values.html
-- Setting up context values
test ../../ test dev/dev-extensions/dev-guidelines.html
--
Developing on the Accelerator
test ../../ test dev/dev-tools.html
-
Configuring Accelerator tools and methodologies
test ../../ test dev/dev-sign-off.html
-
Sign-Off
test ../../ test interpret-impl.html
FRTB Accelerator Interpretation and Implementation of BCBS 457
test ../../ test pdf-guides.html
PDF Guides
test ../../ test glossary.html
Glossary
Setting up context values
This page provides a description of how we set up the default context values. The techniques employed are generic examples that can be extended, adapted and repeated for any use case
that we need. In all cases, we make minimal changes to
the Accelerator Reference Implementation.
For more information about context values please see the ActivePivot documentation : Context Values .
The context values are defined in the configuration class ContextValueConfig
within frtb-starter/src/main/java/com/activeviam/frtb/starter/cfg/impl
as separate beans for each cube.
Cube
Bean name
StandardisedApproachCube
contextValueStandardisedApproachCube
InternalModelApproachCube
contextValueInternalModelApproachCube
IMADRCCube
contextValueIMADRCCube
IMADRCSummaryCube
contextValueIMADRCSummaryCube
IMASummaryCube
contextValueIMASummaryCube
PLCube
contextValuePLCube
PLSummaryCube
contextValuePLSummaryCube
StressedCalibrationCube
contextValueStressedCalibrationCube
FRTBCombinedCube
contextValueFRTBCombinedCube
Example
@Bean
public List<IContextValue> contextValuePLCube() {
return List.of(
QueriesTimeLimit.of(queriesTimeLimit, TimeUnit.SECONDS),
[...]
);
}