Customize the input files, datastore, and IMA cube schema to add the additional fields required by these calculations.
Replace the “ES (SES)” measure with a measure that applies the EBA’s formulas using the additional fields.
The accelerator will continue with the IMA ES calculations using this new custom measure.
To replace the “ES (SES)” measure, note that the default implementation is defined in IMAMeasureBeans with the following method signature and annotations:
@Qualifier(NMRF_CAPITAL_REQUIREMENT)
@IMACopperContextBean
public CopperMeasure nmrfCapitalRequirement() { ... }
This measure can be replaced in any Spring configuration class by adding a bean with a different name, but the same qualifier and @IMACopperContextBean annotations,
adding the @Primary annotation.
For example,
@Qualifier(NMRF_CAPITAL_REQUIREMENT)
@Primary
@IMACopperContextBean
public CopperMeasure nmrfCapitalRequirementEBA() { ... }
Note: The CopperMeasure objects returned by these methods should not be published to the copper context by these methods.
This new measure definition can include custom logic and make use of custom measures and levels in the cube.
The accelerator’s IMA ES calculations will use the measure defined by this bean as the underlying measure.