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 committed Jun 4, 2024
1 parent 76b9842 commit b3a0eab
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 b3a0eab

Please sign in to comment.