hapi-fhir/hapi-fhir-storage-batch2-jobs/src
Ken Stevens 3a28920ea7
Add error-handler callback and ensure batch2 completion handler can't be called twice (#3752)
* rename field that drives everything includes

* discovered design flaw in completion

* fix intermittent

* ensure batch2 completion handler can't be called twice

* changelog

* changelog

* javadoc

* bump hapi version

* licences

* Batch2 job definitions can now optionally provide an error handler callback that will be called when a job
instance fails, errors or is cancelled.

* Changed error handler and completion handler to take a "read-only" copy of an instance instead of just certain fields.

* comment

* javadoc

* fix test

* change step execution context from taking instance id to instance

* review feedback

* fix test

* replace 20 or so jetbrains annotations

* fixed a few incorrect @NotNull annotations

Co-authored-by: Ken Stevens <ken@smilecdr.com>
2022-07-04 23:27:58 -04:00
..
main/java/ca/uhn/fhir/batch2/jobs Add error-handler callback and ensure batch2 completion handler can't be called twice (#3752) 2022-07-04 23:27:58 -04:00
test Add error-handler callback and ensure batch2 completion handler can't be called twice (#3752) 2022-07-04 23:27:58 -04:00