🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
Go to file
Ken Stevens 134631fdee
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
.github Add CapabilityStatement customizer (#2387) 2021-02-15 14:58:34 -05:00
.mvn_/wrapper Bump core to latest versions (#2154) 2020-11-03 15:43:37 -05:00
example-projects Add implementation. Add test. Add changelog 2021-05-11 10:31:29 -04:00
hapi-deployable-pom Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-android Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-android-realm Work on JPA 2017-02-02 06:23:28 -05:00
hapi-fhir-base Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-bom Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-cli Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-client Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-client-okhttp Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-converter Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-dist Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-docs Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jacoco Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jaxrsserver-base Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jaxrsserver-example Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-api Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-base Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-batch Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-cql Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-mdm Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-migrate Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-model Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-searchparam Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-subscription Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-test-utilities Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-jpaserver-uhnfhirtest Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-narrativegenerator Migrate to JUnit5 (#1952) 2020-07-04 18:28:16 -04:00
hapi-fhir-oauth2 Replacing Hibernate Search 5 with Hibernate Search 6 (#2190) 2021-01-05 17:56:59 -05:00
hapi-fhir-server Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-server-mdm Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-server-openapi Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-spring-boot Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-structures-dstu Add CapabilityStatement customizer (#2387) 2021-02-15 14:58:34 -05:00
hapi-fhir-structures-dstu2 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-structures-dstu2.1 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-structures-dstu3 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-structures-hl7org-dstu2 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-structures-r4 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-structures-r5 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-test-utilities Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-testpage-interceptor remove .settings .project .classpath file of eclipse 2017-01-28 17:13:47 +01:00
hapi-fhir-testpage-overlay Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-validation Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-validation-resources-dstu2 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-validation-resources-dstu2.1 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-validation-resources-dstu3 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-validation-resources-r4 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-fhir-validation-resources-r5 Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-tinder-plugin Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
hapi-tinder-test Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
osgi 2540 - Upgraded the fhir_core_version from 5.3.0 to 5.3.10 (#2545) 2021-04-29 15:00:37 -04:00
restful-server-example Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
src Add checkstyle to prevent future jetbrains annotations from sneaking in 2021-04-19 09:16:35 -04:00
tests Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
vagrant Update old removed Chef syntax in Vagrant provision 2019-01-31 05:17:22 -05:00
.editorconfig Add framework for Bulk Import (#2538) 2021-04-14 17:41:32 -04:00
.gitignore Merge CQL Initial Implementation Into master (#2330) 2021-01-29 16:35:38 -05:00
.whitesource Add .whitesource configuration file 2021-04-29 13:42:31 +00:00
HELPWANTED.md Work on custom params 2017-02-02 20:37:58 -05:00
LICENSE.txt Add license and notice files 2015-03-25 22:32:32 -04:00
LOINC_NOTES.txt More work on loinc 2018-03-19 08:51:02 -04:00
NOTICE.txt Add license and notice files 2015-03-25 22:32:32 -04:00
README.md Add CapabilityStatement customizer (#2387) 2021-02-15 14:58:34 -05:00
azure-pipelines.yml Try to avoid codecov fluctuations (#2344) 2021-02-03 09:44:57 -05:00
check_for_maven_updates.sh Fix up examples 2014-09-03 18:03:44 -04:00
lgtm.yml Credit for #2623 2021-05-02 17:20:16 -04:00
list_releases.sh Implement handleException on the server interceptor framework, as well 2014-11-07 14:26:59 -05:00
mvnw Add maven wrapper for easier and more coherent builds https://www.baeldung.com/maven-wrapper 2018-11-15 15:36:57 +02:00
mvnw.cmd Use windows line-endings in mvnw.cmd 2019-01-11 17:11:53 +02:00
pom.xml Convert delete expunge to use Spring Batch (#2697) 2021-06-15 10:36:05 -04:00
snapshot-pipeline.yml Skip tests 2021-01-25 14:31:36 -05:00
sync.sh Update resource defs 2015-12-01 18:35:24 -05:00
sync_dstu3.sh Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-01 14:31:25 -04:00
sync_ri.sh Bump to 1.0.2 FHIR definitions 2015-11-15 12:22:56 -05:00
sync_ri3.fish Bring DSTU3 structs up to FHIR R3 2017-04-18 07:48:38 -04:00
sync_ri3.sh Syn RI - Build still failing :( 2016-05-28 12:53:59 -04:00
sync_ri4.sh Squashed commit of the following: 2018-12-27 17:58:47 -05:00
sync_ri5.sh Bump core to latest versions (#2154) 2020-11-03 15:43:37 -05:00
sync_ri21.sh Update model and definitions to latest definitions 2016-01-30 11:08:16 -05:00
update_version.sh Force another travis build 2015-08-05 10:38:38 -04:00

README.md

HAPI FHIR

HAPI FHIR - Java API for HL7 FHIR Clients and Servers

License

CI/CD

CI Status (master) SNAPSHOT Pipeline Current Release
Build Status Build Status Release Artifacts

Test Coverage

codecov

Documentation and wiki

Complete project documentation is available here: http://hapifhir.io

A demonstration of this project is available here: http://hapi.fhir.org/

This project is Open Source, licensed under the Apache Software License 2.0.

Please see this wiki page for information on where to get help with HAPI FHIR.

Please see Smile CDR for information on commercial support.