FIXME cleanup

This commit is contained in:
Ken Stevens 2021-11-07 17:20:27 -05:00
parent 882eb99f29
commit 34f3fcb9d3
3 changed files with 1 additions and 4 deletions

View File

@ -62,7 +62,6 @@ public class FhirValidator {
private final FhirContext myContext; private final FhirContext myContext;
private List<IValidatorModule> myValidators = new ArrayList<>(); private List<IValidatorModule> myValidators = new ArrayList<>();
private IInterceptorBroadcaster myInterceptorBraodcaster; private IInterceptorBroadcaster myInterceptorBraodcaster;
// FIXME KHS make it clear in the docs that bundle structure is not validated when this is true
private boolean myConcurrentBundleValidation; private boolean myConcurrentBundleValidation;
private ExecutorService myExecutorService; private ExecutorService myExecutorService;
@ -330,7 +329,6 @@ public class FhirValidator {
myInterceptorBraodcaster = theInterceptorBraodcaster; myInterceptorBraodcaster = theInterceptorBraodcaster;
} }
// FIXME KHS use this to set an executor that uses ThreadPoolUtil#newThreadPool
public FhirValidator setExecutorService(ExecutorService theExecutorService) { public FhirValidator setExecutorService(ExecutorService theExecutorService) {
myExecutorService = theExecutorService; myExecutorService = theExecutorService;
return this; return this;

View File

@ -314,7 +314,6 @@ public abstract class BaseValidatingInterceptor<T> extends ValidationResultEnric
if (myValidator != null) { if (myValidator != null) {
fhirValidator = myValidator; fhirValidator = myValidator;
} else { } else {
// FIXME KHS this is our validator
fhirValidator = theRequestDetails.getServer().getFhirContext().newValidator(); fhirValidator = theRequestDetails.getServer().getFhirContext().newValidator();
if (myValidatorModules != null) { if (myValidatorModules != null) {
for (IValidatorModule next : myValidatorModules) { for (IValidatorModule next : myValidatorModules) {

View File

@ -64,7 +64,7 @@
<artifactId>hapi-fhir-structures-hl7org-dstu2</artifactId> <artifactId>hapi-fhir-structures-hl7org-dstu2</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- FIXME KHS remove jpa stuff from here --> <!-- TODO KHS remove jpa stuff from here -->
<dependency> <dependency>
<groupId>ca.uhn.hapi.fhir</groupId> <groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-jpaserver-model</artifactId> <artifactId>hapi-fhir-jpaserver-model</artifactId>