🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
Go to file
Ken Stevens 100b8f9190
batch2 rework (#3964)
* consolidated Batch2Helper
check status in assert before running maintenance
ignore illegal job instance state transition

* Fix mock tests

* rename intermittent to IT

* extra logging

* into to debug

* review feedback

* added more logging

* removed fasttracking.  replaced with support for triggering a maintenance run

* fixed tests

* fixed tests

* add asserts

* licenses

* snakeyaml cve version bump

* data migration

* merge origin/master

* merge origin/master

* fix test (support triggering jobs when scheduling is disabled)

* add counter to abort potential infinite loop after 100000 calls

* compile error

* move multipartition mdm tests out to a separate IT
update mongo job instance creation with new logic

* fix race condition

* back out infinite loop circuit breaker.  it breaks terminology tests that depend on this loop running > 100000 times.

* fix test (triggered job key was missing group)

* revert saveAllDeferred

* Almost finished getting JpaPersistenceR4IT to pass

* testBulkExportDeleteForOnGoingJob still not passing

* testBulkExportDeleteForOnGoingJob still not passing

* Removed method `fetchInstanceAndMarkInProgress`.  It was clobbering other state transitions like CANCELLED.

* undo rename of cancelled to cancelRequested.  Thymeleaf depends on the old name

* ExpandResourcesStep requires a synchronous search

* Tests are passing but man testBulkExportDeleteForOnGoingJob is a flakey test

* fix test

* fix test

* change log

* allow ERRORED -> FAILED state transition

* add a timeout to saveAllDeferred()

* improve error message on timeout message

* fix tests

* added more logging

* added more logging

* fix semaphore issue

* Msg.code

* fix test

* javadoc

* switch all batch loggers to batch troubleshooting log

* add unit test, improve logging

* move TimeoutManager to its own class.  Add tests.

* fix tests

* comment cleanup

* test race condition

* review feedback

Co-authored-by: Ken Stevens <ken@smilecdr.com>
2022-09-05 00:04:54 -04:00
.github bump compiler settings. JDK 11 for prod, JDK 17 for tests (#3435) 2022-02-28 21:51:32 +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 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-android batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-android-realm Work on JPA 2017-02-02 06:23:28 -05:00
hapi-fhir-base batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-batch batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-bom batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-checkstyle batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-cli batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-client batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-client-okhttp batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-converter batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-dist batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-docs batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jacoco batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jaxrsserver-base batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpa batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-base batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-cql batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-elastic-test-utilities batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-mdm batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-model batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-searchparam batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-subscription batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-test-dstu2 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-test-dstu3 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-test-r4 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-test-r5 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-test-utilities batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-jpaserver-uhnfhirtest batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-server batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-server-mdm batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-server-openapi batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-spring-boot batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-sql-migrate batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-storage batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-storage-batch2 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-storage-batch2-jobs batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-storage-mdm batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-storage-test-utilities batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-structures-dstu2 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-structures-dstu2.1 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-structures-dstu3 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-structures-hl7org-dstu2 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-structures-r4 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-structures-r5 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-test-utilities batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-testpage-overlay batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-validation batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-validation-resources-dstu2 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-validation-resources-dstu2.1 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-validation-resources-dstu3 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-validation-resources-r4 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-fhir-validation-resources-r5 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-tinder-plugin batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
hapi-tinder-test batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
osgi encode narratives of contained resources (#3402) 2022-02-17 18:54:03 +00:00
src Checkstyle Abstract Class Name (#3966) 2022-08-30 22:15:32 -04:00
tests batch2 rework (#3964) 2022-09-05 00:04:54 -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 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 Improve batch2 error handling (#3482) 2022-03-26 17:40:12 -04:00
azure-pipelines.yml jpa test split (#3959) 2022-09-01 02:46:17 +00:00
check_for_maven_updates.sh Fix up examples 2014-09-03 18:03:44 -04:00
lgtm.yml Refactor to restore LGTM functionality (#3455) 2022-04-10 15:54: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 batch2 rework (#3964) 2022-09-05 00:04:54 -04:00
release-pipeline.yml Adding full test run to Release Pipeline 2022-06-29 16:25:35 -04:00
snapshot-pipeline.yml Updated GPG keys for signing. 2022-05-30 11:23:53 -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 jpa test split (#3959) 2022-09-01 02:46:17 +00: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.