Standardise the format of the message attached to each rule
ac74475 opened this issue · comments
ac74475 commented
Can we standardise the message format of each of the rules, these are meant to be human readable description of the rule. currently we have "1-Bank_Details", "2-DUTY_OF_CARE", "3-Nationality" and "4-Address Masking".
These messages are only used in audit logging and error handling.
.recordLevelRule(
"1-Bank_Details",
new BankDetailsRule()
)
.recordLevelRule(
"2-DUTY_OF_CARE",
new DutyOfCareRule()
)
.recordLevelRule(
"3-Nationality",
new NationalityRule()
)
.recordLevelRule(
"4-Address Masking",
new ZipCodeMaskingRule()
)