New config file is needed when integrating Limits Module in ActivePivot instances : To support the auto generated scopes for a Parent-Child level (LIM-220), a new restful endpoint is added by importing LevelPathRestServiceConfig.
Input file formats
No changes.
Configuration files
Files modified
limits.properties
New properties:
Property Name
Comment
Value
acc.auth.map
Mapping of the Accelerator’s Credentials to use to create new KPIs and read Cube structures such as Dimensions and Measures. This is a Base64 encoded “User:Password” string.
This object contains the scope value of the limit definition.
Cube schema
No changes.
Measures
No changes.
Context values
No changes.
Other changes
Add LevelPathRestServiceConfig.class in the accelerator’s main configuration file (where all configuration files are imported), more specifically inside the @Import annotation.
For Scopes of Parent-Child hierarchies, the hierarchy name must be included in the scope definition. The format would become: @=. Example: Level 5@BookHierarchy=IR_TRADING.
This also applies to all scopes where the level name appears in more than one hierarchy. If a level appears in more than one hierarchy and the hierarchy is not specified, that Limit Definition will not be pushed to the datastore.
Add the property parent-child.levels, declaring all Parent-Child scopes to be processed. The format of the property value is: @=@
An example:
parent-child.levels=FRTB@StandardisedApproachCube=BookHierarchy@Organization
Add the property level-path.url to properties file. It is a map of accelerator name to /levelPath endpoint url. This allows Parent-Child scopes to be processed. Example: level-path.url={‘FRTB’: ‘http://localhost:8080/frtb-starter/services/rest/v1/levelPath/’}