hapi-fhir/hapi-fhir-test-utilities/pom.xml

181 lines
5.0 KiB
XML
Raw Normal View History

2019-06-13 16:15:29 -04:00
<?xml version="1.0" encoding="UTF-8"?>
2019-06-26 09:24:36 -04:00
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-deployable-pom</artifactId>
New reindex spring batch operation (#2845) * first sweep to add new $reindex job * first cut done. next up integration test. * start roughing out reindex everything * Failing test * test passes * add BundleUtil helper method * rough in processEverything * rough in processEverything * fix mock test * merge master * Make BaseJpaTest.mySrd lenient. * fix test * reindex everything works with FIXMEs * reindex everything more tests * moar tests * moar tests * fix test * fix test * fix regression and fix test * fix test cycle * fixme * fix test * test provider layer * reindex everything partition aware * yay last fixme! * run reindex in partitioned threads * add fixmes for areas that require extra testing * added transaction and log message * manual integration testing * changelog * reindex all partitions * bump hapi version * fix test * moar test * pre-review cleanup * fix javadoc * review feedback * review feedback * review feedback * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_5_0/2845-reindex-operation.yaml Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * review feedback * review feedback * Update hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/delete/job/ReindexJobTest.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * Update hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/delete/job/ReindexJobTest.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * Update hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/provider/r4/MultitenantBatchOperationR4Test.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * Update hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/provider/r4/MultitenantBatchOperationR4Test.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * Update hapi-fhir-jpaserver-searchparam/src/main/java/ca/uhn/fhir/jpa/searchparam/ResourceSearch.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * Update hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/api/server/storage/IDeleteExpungeJobSubmitter.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
2021-07-29 19:18:49 -04:00
<version>5.5.0-PRE8-SNAPSHOT</version>
2019-06-26 09:24:36 -04:00
<relativePath>../hapi-deployable-pom/pom.xml</relativePath>
</parent>
<artifactId>hapi-fhir-test-utilities</artifactId>
<packaging>jar</packaging>
<name>HAPI FHIR Test Utilities</name>
<url>http://jamesagnew.github.io/hapi-fhir/</url>
2019-06-13 16:15:29 -04:00
<dependencies>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId>
2020-06-24 14:52:05 -04:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-server</artifactId>
2020-06-24 14:52:05 -04:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-client</artifactId>
2020-06-24 14:52:05 -04:00
<version>${project.version}</version>
</dependency>
2019-06-13 16:15:29 -04:00
<!-- General -->
2019-06-26 09:24:36 -04:00
<dependency>
2019-06-13 16:15:29 -04:00
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
2019-06-26 09:24:36 -04:00
<optional>true</optional>
2019-06-13 16:15:29 -04:00
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
2019-06-26 09:24:36 -04:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<optional>true</optional>
2019-06-13 16:15:29 -04:00
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<optional>true</optional>
</dependency>
Convert delete expunge to use Spring Batch (#2697) * prepare to add $delete-expunge operation that will create a spring batch job * Add operation * Wire up jpa provider. Begin with failing test. * Copy/paste bulk import job as a starting point. FIXME with proposed design * delete expunge job parameter validation with test * implemented reader stubbed processor, writer * wip for master merge * started implementing reader * started implementing reader * working with stubs * happy path batch delete expunge is done * Provider done but test not passing. Guessing batch infrastructure not running in that test. * IT test works now * add reader test * Converted delete _expunge=true to use new batch job * DeleteExpungeDaoTest passes * Fix test * Change batch size to integer * rename search count to batch size * Make delete expunge partition aware * updated docs * pre-review cleanup * change log * add partition id to SystemRequestDetails * Make RequestPartitionId serializable * Change delete expunge provider to use partition id instead of tenant name * fix tests * test pointcut gets called * assert on pointcut calls * Add resource type to STORAGE_PARTITION_SELECTED pointcut * bump hapi-fhir version move expunge provider parameters from JpaConstants to ProviderConstants * bump hapi-fhir version * copyrights * restore deleteexpungeservice for mdm * restore deleteexpungeservice for mdm * fix test * public constants * convert instant to date * Moved expunge constants to ProviderConstants * final review * disabling InMemoryResourceMatcherR5Test.testNowNextMinute() to see if I can get a clean test run * fix tests * fix tests * fix tests * fix tests * review feedback * review feedback * review feedback * review feedback * review feedback * review feedback * improve logging * bump version * version bump * recovering from failed merge * unzip RequestListJson per Gary's suggestion. I didn't want to do it at first, but as usual Gary was right. * fix serialization
2021-06-15 10:36:05 -04:00
<dependency>
<groupId>org.springframework.batch</groupId>
<artifactId>spring-batch-core</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.batch</groupId>
<artifactId>spring-batch-test</artifactId>
<optional>true</optional>
</dependency>
<!-- HTMLUnit -->
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
</dependency>
<!-- Jetty -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava-testlib</artifactId>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>compile</scope>
</dependency>
2021-01-18 21:53:14 -05:00
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
2021-01-18 21:53:14 -05:00
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>
</dependencies>
2019-06-13 16:15:29 -04:00
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} ${surefire_jvm_args}</argLine>
2019-06-13 16:15:29 -04:00
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
2019-06-13 16:15:29 -04:00
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
</project>