Service for managing and validating risk management configurations.
Maintains a registry of all configured risk profiles and validates their existence before operations. Uses memoization for performance.
Key features:
constructor();
loggerService: any
_riskMap: any
addRisk: (riskName: string, riskSchema: IRiskSchema) => void
Adds a risk schema to the validation service
validate: (riskName: string, source: string) => void
Validates the existence of a risk profile
list: () => Promise<IRiskSchema[]>
Returns a list of all registered risk schemas