Setting up the default context values

This page provides a description of how we set up the 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.

Cube Bean name
Var-ES Cube contextValueVaRESCube
VaR-ES Summary Cube contextValueVaRESSummaryCube
Sensitivity Cube contextValueSensitivityCube
Sensitivity Summary Cube contextValueSensitivitySummaryCube
PLCube contextValuePLCube
PL Summary Cube contextValuePLSummaryCube
Combined Cube contextValueMRACombinedCube

The context values are defined in a specific configuration class ContextValueConfig within /risk-starter/src/main/java/com/activeviam/risk/starter/cfg/pivot/impl:

    @Bean
    public List<IContextValue> contextValuePLCube() {
        return List.of(
                QueriesTimeLimit.of(queriesTimeLimit, TimeUnit.SECONDS),
                [...]
        );
    }
search.js