Move batch svc to the submitter
This commit is contained in:
parent
5bfe3ce15f
commit
bcc5c59d45
|
@ -21,7 +21,6 @@ package ca.uhn.fhir.jpa.empi.config;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import ca.uhn.fhir.context.FhirContext;
|
import ca.uhn.fhir.context.FhirContext;
|
||||||
import ca.uhn.fhir.empi.api.IEmpiBatchService;
|
|
||||||
import ca.uhn.fhir.empi.api.IEmpiChannelSubmitterSvc;
|
import ca.uhn.fhir.empi.api.IEmpiChannelSubmitterSvc;
|
||||||
import ca.uhn.fhir.empi.api.IEmpiLinkQuerySvc;
|
import ca.uhn.fhir.empi.api.IEmpiLinkQuerySvc;
|
||||||
import ca.uhn.fhir.empi.api.IEmpiLinkSvc;
|
import ca.uhn.fhir.empi.api.IEmpiLinkSvc;
|
||||||
|
@ -43,7 +42,6 @@ import ca.uhn.fhir.jpa.empi.dao.EmpiLinkDaoSvc;
|
||||||
import ca.uhn.fhir.jpa.empi.dao.EmpiLinkFactory;
|
import ca.uhn.fhir.jpa.empi.dao.EmpiLinkFactory;
|
||||||
import ca.uhn.fhir.jpa.empi.interceptor.EmpiStorageInterceptor;
|
import ca.uhn.fhir.jpa.empi.interceptor.EmpiStorageInterceptor;
|
||||||
import ca.uhn.fhir.jpa.empi.interceptor.IEmpiStorageInterceptor;
|
import ca.uhn.fhir.jpa.empi.interceptor.IEmpiStorageInterceptor;
|
||||||
import ca.uhn.fhir.jpa.empi.svc.EmpiBatchSvcImpl;
|
|
||||||
import ca.uhn.fhir.jpa.empi.svc.EmpiChannelSubmitterSvcImpl;
|
import ca.uhn.fhir.jpa.empi.svc.EmpiChannelSubmitterSvcImpl;
|
||||||
import ca.uhn.fhir.jpa.empi.svc.EmpiEidUpdateService;
|
import ca.uhn.fhir.jpa.empi.svc.EmpiEidUpdateService;
|
||||||
import ca.uhn.fhir.jpa.empi.svc.EmpiLinkQuerySvcImpl;
|
import ca.uhn.fhir.jpa.empi.svc.EmpiLinkQuerySvcImpl;
|
||||||
|
@ -93,11 +91,6 @@ public class EmpiConsumerConfig {
|
||||||
return new EmpiMatchLinkSvc();
|
return new EmpiMatchLinkSvc();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
|
||||||
IEmpiBatchService myEmpiBatchService() {
|
|
||||||
return new EmpiBatchSvcImpl();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
@Lazy
|
@Lazy
|
||||||
IEmpiChannelSubmitterSvc empiQueueSubmitterSvc(IChannelNamer theChannelNamer, FhirContext theFhirContext, IChannelFactory theChannelFactory) {
|
IEmpiChannelSubmitterSvc empiQueueSubmitterSvc(IChannelNamer theChannelNamer, FhirContext theFhirContext, IChannelFactory theChannelFactory) {
|
||||||
|
|
|
@ -21,9 +21,11 @@ package ca.uhn.fhir.jpa.empi.config;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import ca.uhn.fhir.context.FhirContext;
|
import ca.uhn.fhir.context.FhirContext;
|
||||||
|
import ca.uhn.fhir.empi.api.IEmpiBatchService;
|
||||||
import ca.uhn.fhir.empi.rules.config.EmpiRuleValidator;
|
import ca.uhn.fhir.empi.rules.config.EmpiRuleValidator;
|
||||||
import ca.uhn.fhir.jpa.dao.empi.EmpiLinkDeleteSvc;
|
import ca.uhn.fhir.jpa.dao.empi.EmpiLinkDeleteSvc;
|
||||||
import ca.uhn.fhir.jpa.empi.interceptor.EmpiSubmitterInterceptorLoader;
|
import ca.uhn.fhir.jpa.empi.interceptor.EmpiSubmitterInterceptorLoader;
|
||||||
|
import ca.uhn.fhir.jpa.empi.svc.EmpiBatchSvcImpl;
|
||||||
import ca.uhn.fhir.jpa.empi.svc.EmpiPersonDeletingSvc;
|
import ca.uhn.fhir.jpa.empi.svc.EmpiPersonDeletingSvc;
|
||||||
import ca.uhn.fhir.jpa.empi.svc.EmpiSearchParamSvc;
|
import ca.uhn.fhir.jpa.empi.svc.EmpiSearchParamSvc;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
|
@ -56,4 +58,9 @@ public class EmpiSubmitterConfig {
|
||||||
EmpiPersonDeletingSvc empiPersonDeletingSvc() {
|
EmpiPersonDeletingSvc empiPersonDeletingSvc() {
|
||||||
return new EmpiPersonDeletingSvc();
|
return new EmpiPersonDeletingSvc();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Bean
|
||||||
|
IEmpiBatchService myEmpiBatchService() {
|
||||||
|
return new EmpiBatchSvcImpl();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue