RED-9472: seperation of system rules

adding logs for bug investigation
This commit is contained in:
yhampe 2024-12-13 13:42:08 +01:00
parent f22a7c450e
commit 2d7feb8bfa

View File

@ -62,6 +62,7 @@ public class RuleBuilderController implements RuleBuilderResource {
throw new AssertionError("There was an error when merging the user rule update into the rule file");
}
try {
log.info("result"+mergingResult.getMergedRules());
var droolsValidation = droolsValidationService.testRules(new RuleValidationModel(RuleFileType.ENTITY.name(), mergingResult.getMergedRules()));
log.info("result of validation: " + droolsValidation);
droolsValidationResponse = DroolsValidationResponse.builder()