🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
Go to file
michaelabuckley 8813d9beda
Batch stabilization (#4647)
* Use java event names for work chunk transitions.

* Cherry-pick d5ebd1f667 from rel_6_4

Avoid fetching work-chunk data (#4622)

* add end time to reduction step (#4640)

* add end time to reduction step

* add changelog

---------

Co-authored-by: Long Ma <long@smilecdr.com>
(cherry picked from commit 37f5e59ffc)

* Cancel processing

Provide error message in cancelled jobs, and avoid transitions in final states.

* Apply tx boundary to starting job and first chunk.

* cleanup

* Apply tx boundary to work chunk processing

* Delete BatchWorkChunk

* Introduce events for job create, and chunk dequeue

* Apply tx boundary to chunk handler

* Move instance cancellation to database

* tx boundary around stats collection and completion

* tx boundary around stats collection and completion

* Extend tx boundary to error, fail, and cancel

* Move failure into status calc

* ERROR is not an "ended" state.

* Revert generics cleanup to avoid noise

* Avoid sending gated chunks twice.

* Make no-data path safer.  Cleanup

* Fix mock test for step advance.

* Delete unsafe updateInstace() call

* Cleanup

* Changelog and notes

* Fix cancel boundary.  Cleanups

* Cleanup

* Sort mongo chunks for stable paging.

Other cleanup

* Document error handling

* Cleanup

* Update hapi-fhir-jpaserver-test-utilities/src/main/java/ca/uhn/fhir/jpa/test/Batch2JobHelper.java

Co-authored-by: StevenXLi <stevenli_8118@hotmail.com>

---------

Co-authored-by: longma1 <32119004+longma1@users.noreply.github.com>
Co-authored-by: StevenXLi <stevenli_8118@hotmail.com>
2023-04-25 15:47:23 -07:00
.github Compile CDR Master against specific HAPI Branch (#4768) 2023-04-24 23:18:40 +00:00
.mvn/wrapper Update and fix maven wrapper (#2847) 2021-11-03 11:21:49 -04:00
.mvn_/wrapper Bump core to latest versions (#2154) 2020-11-03 15:43:37 -05:00
hapi-deployable-pom 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-android 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-android-realm Work on JPA 2017-02-02 06:23:28 -05:00
hapi-fhir-base The Lenient error handler will now throw exceptions when encode invalid extension containing value and nested extensions (#4747) 2023-04-18 13:59:23 -04:00
hapi-fhir-bom 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-checkstyle 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-cli 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-client 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-client-okhttp 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-converter 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-dist 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-docs Batch stabilization (#4647) 2023-04-25 15:47:23 -07:00
hapi-fhir-jacoco 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-jaxrsserver-base 4757 externalized binary npe (#4759) 2023-04-25 18:34:27 +00:00
hapi-fhir-jpa 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-jpaserver-base Batch stabilization (#4647) 2023-04-25 15:47:23 -07:00
hapi-fhir-jpaserver-elastic-test-utilities try removing fork count from surefire (#4752) 2023-04-20 13:58:35 -04:00
hapi-fhir-jpaserver-ips 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-jpaserver-mdm 4745 one source record should create no match link with no errors when two golden records are possible matches (#4765) 2023-04-24 14:38:40 -04:00
hapi-fhir-jpaserver-model Add covering data to res_link index for all tgt->src queries. (#4769) 2023-04-24 23:24:11 +00:00
hapi-fhir-jpaserver-searchparam transaction bundle multi-threading issues (#4739) 2023-04-20 18:43:37 +00:00
hapi-fhir-jpaserver-subscription remove enabled flag and instead only create the subscription topic beans in the fhir versions that use them (#4737) 2023-04-18 10:20:43 -04:00
hapi-fhir-jpaserver-test-dstu2 Batch stabilization (#4647) 2023-04-25 15:47:23 -07:00
hapi-fhir-jpaserver-test-dstu3 try removing fork count from surefire (#4752) 2023-04-20 13:58:35 -04:00
hapi-fhir-jpaserver-test-r4 Batch stabilization (#4647) 2023-04-25 15:47:23 -07:00
hapi-fhir-jpaserver-test-r4b try removing fork count from surefire (#4752) 2023-04-20 13:58:35 -04:00
hapi-fhir-jpaserver-test-r5 try removing fork count from surefire (#4752) 2023-04-20 13:58:35 -04:00
hapi-fhir-jpaserver-test-utilities Batch stabilization (#4647) 2023-04-25 15:47:23 -07:00
hapi-fhir-jpaserver-uhnfhirtest 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-server 4757 externalized binary npe (#4759) 2023-04-25 18:34:27 +00:00
hapi-fhir-server-mdm test + change + changelog (#4732) 2023-04-18 09:25:15 -04:00
hapi-fhir-server-openapi 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-serviceloaders 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-spring-boot 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-sql-migrate 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-storage Batch stabilization (#4647) 2023-04-25 15:47:23 -07:00
hapi-fhir-storage-batch2 Batch stabilization (#4647) 2023-04-25 15:47:23 -07:00
hapi-fhir-storage-batch2-jobs 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-storage-batch2-test-utilities Batch stabilization (#4647) 2023-04-25 15:47:23 -07:00
hapi-fhir-storage-cr 4697 - Add Clinical Reasoning Operations (#4722) 2023-04-24 14:37:55 -04:00
hapi-fhir-storage-mdm Fixed the Null Pointer Exception on mdm-submit operation (#4751) 2023-04-19 12:24:39 -07:00
hapi-fhir-storage-test-utilities 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-structures-dstu2 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-structures-dstu2.1 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-structures-dstu3 The Lenient error handler will now throw exceptions when encode invalid extension containing value and nested extensions (#4747) 2023-04-18 13:59:23 -04:00
hapi-fhir-structures-hl7org-dstu2 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-structures-r4 The Lenient error handler will now throw exceptions when encode invalid extension containing value and nested extensions (#4747) 2023-04-18 13:59:23 -04:00
hapi-fhir-structures-r4b 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-structures-r5 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-test-utilities Batch stabilization (#4647) 2023-04-25 15:47:23 -07:00
hapi-fhir-testpage-overlay 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-validation 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-validation-resources-dstu2 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-validation-resources-dstu2.1 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-validation-resources-dstu3 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-validation-resources-r4 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-validation-resources-r4b 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-fhir-validation-resources-r5 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-tinder-plugin 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
hapi-tinder-test 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
osgi try removing fork count from surefire (#4752) 2023-04-20 13:58:35 -04:00
src/assembly Checkstyle cleanup (#4501) 2023-02-03 09:40:32 -05:00
tests 4657 method name is inconsistent with the method behavior (#4659) 2023-04-17 10:41:08 -04:00
vagrant Bump dependencies for CVES (#3359) 2022-02-07 07:56:25 -05:00
.editorconfig Add framework for Bulk Import (#2538) 2021-04-14 17:41:32 -04:00
.gitignore breaking up package installer and package config (#4319) 2023-01-17 01:58:14 +00: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 Improve batch2 error handling (#3482) 2022-03-26 17:40:12 -04:00
azure-pipelines.yml removing hapi-fhir-jpa-server from MR pipeline 2023-03-28 15:31:30 -04:00
check_for_maven_updates.sh Fix up examples 2014-09-03 18:03:44 -04:00
lgtm.yml code coverage needs to run only for JACOCO PROFILE (#4230) 2022-11-02 15:34:27 -04:00
list_releases.sh Implement handleException on the server interceptor framework, as well 2014-11-07 14:26:59 -05:00
mvnw Update and fix maven wrapper (#2847) 2021-11-03 11:21:49 -04:00
mvnw.cmd Update and fix maven wrapper (#2847) 2021-11-03 11:21:49 -04:00
pom.xml 4697 - Add Clinical Reasoning Operations (#4722) 2023-04-24 14:37:55 -04:00
release-pipeline.yml update to docker installer tool for azure broke docker in the latest version, pinning the version to previous one (#4335) 2022-12-06 18:32:42 -05:00
snapshot-pipeline.yml adding nightly build for SNAPSHOTS 2023-03-23 10:16:24 -04: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
test-job-template.yml update to docker installer tool for azure broke docker in the latest version, pinning the version to previous one (#4335) 2022-12-06 18:32:42 -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

Coverage and Quality

codecov Language grade: Java

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.