Skip to content

Commit

Permalink
VAL-384 Exclude the inferred relationship for Drools validation
Browse files Browse the repository at this point in the history
  • Loading branch information
QuyenLy87 authored and CoderMChu committed Jun 5, 2024
1 parent 2a75b5e commit 7fd309d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public List<InvalidContent> validateConcepts(String branchPath, Set<Concept> con
DescriptionDroolsValidationService droolsDescriptionService = new DescriptionDroolsValidationService(branchPath, branchCriteria, elasticsearchOperations,
this.descriptionService, disposableQueryService, testResourceProvider, inferredTopLevelHierarchies);
RelationshipDroolsValidationService relationshipService = new RelationshipDroolsValidationService(disposableQueryService);
final List<InvalidContent> invalidContents = ruleExecutor.execute(ruleSetNames, assertionExclusionList, droolsConcepts, droolsConceptService, droolsDescriptionService, relationshipService, false, true);
final List<InvalidContent> invalidContents = ruleExecutor.execute(ruleSetNames, assertionExclusionList, droolsConcepts, droolsConceptService, droolsDescriptionService, relationshipService, false, false);

return invalidContents;
}
Expand Down

0 comments on commit 7fd309d

Please sign in to comment.