hapi-fhir/hapi-fhir-jpaserver-batch/pom.xml

89 lines
2.4 KiB
XML
Raw Normal View History

2020-05-26 01:32:00 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<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>
2020-05-26 01:32:00 -04:00
<relativePath>../hapi-deployable-pom/pom.xml</relativePath>
</parent>
<artifactId>hapi-fhir-jpaserver-batch</artifactId>
<packaging>jar</packaging>
<name>HAPI FHIR JPA Server - Batch Task Processor</name>
<dependencies>
<dependency>
<groupId>org.springframework.batch</groupId>
2020-05-26 15:08:00 -04:00
<artifactId>spring-batch-core</artifactId>
2020-05-26 01:32:00 -04:00
</dependency>
<dependency>
<groupId>org.springframework.batch</groupId>
<artifactId>spring-batch-infrastructure</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
2020-05-26 15:08:00 -04:00
<!--test dependencies -->
2020-05-26 01:32:00 -04:00
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId>
2020-05-26 01:32:00 -04:00
<version>${project.version}</version>
</dependency>
<!-- test -->
2020-06-01 14:32:36 -04:00
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<scope>test</scope>
</dependency>
2020-05-26 01:32:00 -04:00
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
2020-06-01 14:32:36 -04:00
<artifactId>hapi-fhir-test-utilities</artifactId>
2020-06-15 14:24:39 -04:00
<version>${project.version}</version>
2020-05-26 01:32:00 -04:00
<scope>test</scope>
</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</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
2020-05-26 01:32:00 -04:00
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<skipDeploy>true</skipDeploy>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>