use of com.b2international.snowowl.core.validation.ValidateRequestBuilder in project snow-owl by b2ihealthcare.
the class BaseValidationTest method validate.
protected final ValidationIssues validate(String ruleId) {
final ValidateRequestBuilder req = ValidationRequests.prepareValidate();
configureValidationRequest(req);
new RevisionIndexReadRequest<>(req.build()).execute(context);
return ValidationRequests.issues().prepareSearch().all().filterByRule(ruleId).build().execute(context);
}
Aggregations