diff --git a/hapi-fhir-jpaserver-base/pom.xml b/hapi-fhir-jpaserver-base/pom.xml index ec63c801426..3c9ff3756b6 100644 --- a/hapi-fhir-jpaserver-base/pom.xml +++ b/hapi-fhir-jpaserver-base/pom.xml @@ -149,6 +149,7 @@ ca.uhn.hapi.fhir hapi-fhir-jpaserver-batch + ${project.version} diff --git a/hapi-fhir-jpaserver-batch/pom.xml b/hapi-fhir-jpaserver-batch/pom.xml index 5ba8f4d0ef6..c0394d3e63e 100644 --- a/hapi-fhir-jpaserver-batch/pom.xml +++ b/hapi-fhir-jpaserver-batch/pom.xml @@ -16,11 +16,6 @@ HAPI FHIR JPA Server - Batch Task Processor - - ca.uhn.hapi.fhir - hapi-fhir-jpaserver-migrate - ${project.version} - org.springframework.batch spring-batch-core @@ -55,14 +50,19 @@ test - ca.uhn.hapi.fhir - hapi-fhir-jpaserver-test-utilities - ${project.version} + org.awaitility + awaitility test - org.awaitility - awaitility + ca.uhn.hapi.fhir + hapi-fhir-test-utilities + 5.1.0-SNAPSHOT + test + + + javax.annotation + javax.annotation-api test diff --git a/hapi-fhir-jpaserver-batch/src/test/java/ca/uhn/fhir/jpa/batch/BaseBatchR4Test.java b/hapi-fhir-jpaserver-batch/src/test/java/ca/uhn/fhir/jpa/batch/BaseBatchR4Test.java index f90b94abcde..fcc530fc9d2 100644 --- a/hapi-fhir-jpaserver-batch/src/test/java/ca/uhn/fhir/jpa/batch/BaseBatchR4Test.java +++ b/hapi-fhir-jpaserver-batch/src/test/java/ca/uhn/fhir/jpa/batch/BaseBatchR4Test.java @@ -1,16 +1,9 @@ package ca.uhn.fhir.jpa.batch; import ca.uhn.fhir.context.FhirContext; -import ca.uhn.fhir.jpa.api.dao.IFhirResourceDao; import ca.uhn.fhir.jpa.batch.config.BatchJobConfig; import ca.uhn.fhir.jpa.batch.config.InMemoryJobRepositoryBatchConfig; import ca.uhn.fhir.jpa.batch.svc.DummyService; -import ca.uhn.fhir.jpa.config.TestJpaR4Config; -import ca.uhn.fhir.jpa.dao.index.IdHelperService; -import ca.uhn.fhir.jpa.test.BaseJpaR4Test; -import org.hl7.fhir.r4.model.Patient; -import org.hl7.fhir.r4.model.Person; -import org.hl7.fhir.r4.model.Practitioner; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.springframework.batch.core.Job; @@ -23,23 +16,13 @@ import org.springframework.transaction.PlatformTransactionManager; import static org.slf4j.LoggerFactory.getLogger; @RunWith(SpringRunner.class) -@ContextConfiguration(classes = {BatchJobConfig.class, InMemoryJobRepositoryBatchConfig.class, TestJpaR4Config.class}) -abstract public class BaseBatchR4Test extends BaseJpaR4Test { +@ContextConfiguration(classes = {BatchJobConfig.class, InMemoryJobRepositoryBatchConfig.class}) +abstract public class BaseBatchR4Test { private static final Logger ourLog = getLogger(BaseBatchR4Test.class); @Autowired protected PlatformTransactionManager myPlatformTransactionManager; - @Autowired - protected FhirContext myFhirContext; - @Autowired - protected IFhirResourceDao myPersonDao; - @Autowired - protected IFhirResourceDao myPatientDao; - @Autowired - protected IFhirResourceDao myPractitionerDao; - @Autowired - protected IdHelperService myIdHelperService; @Autowired protected DummyService myDummyService; @Autowired diff --git a/hapi-fhir-jpaserver-migrate/pom.xml b/hapi-fhir-jpaserver-migrate/pom.xml index 3b5a3fc27e0..a64ca7c3256 100644 --- a/hapi-fhir-jpaserver-migrate/pom.xml +++ b/hapi-fhir-jpaserver-migrate/pom.xml @@ -42,13 +42,6 @@ hapi-fhir-jpaserver-base ${project.version} - - - org.springframework.batch - spring-batch-core - 4.2.2.RELEASE - - com.h2database