🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
Go to file
Etienne Poirier fdf7450096
4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609)
* Creating test to reproduce the issue.

* rebasing development branch from release to master.

* adding migration task.

* providing solution to duplicate resource creation and passing initial test.

* making initial test more readable.

* Implementing test for scheduled deletion of stale searchUrl entries.

* Implementing test for scheduled deletion of stale searchUrl entries.

* Removing interface declaration since it was not needed.

* Reverting changes.

* Adding changelog.

* Adding comments for clarity.

* Adding purgeDatabase operation in IT to delete all ResourceSearchUrlEntity [before|after}Each tests.

* Adding pom.xml exclusion to get all tests passing.

* Adjusting query counts and adding pointcut name to log in interceptor.

* Fixing typos.

* WIP

* implementing edge case tests and solutions.

* wip: passing all tests.

* wip: passing more tests .

* wip: passing tests.

* wip: passing tests.

* enhancing the test.

* changes following code review.

* modifications to tests.

* minor modifications following second code review.

* passing all tests.

---------

Co-authored-by: peartree <etienne.poirier@smilecdr.com>
2023-03-14 08:01:06 -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 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-android Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-android-realm Work on JPA 2017-02-02 06:23:28 -05:00
hapi-fhir-base Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-bom Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-checkstyle Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-cli Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-client Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-client-okhttp Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-converter Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-dist Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-docs 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-jacoco Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-jaxrsserver-base Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-jpa Fix Quartz Scheduler Race Condition (#4607) 2023-03-13 11:02:42 -04:00
hapi-fhir-jpaserver-base 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-jpaserver-elastic-test-utilities 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-jpaserver-ips Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-jpaserver-mdm Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-jpaserver-model 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-jpaserver-searchparam Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-jpaserver-subscription Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-jpaserver-test-dstu2 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-jpaserver-test-dstu3 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-jpaserver-test-r4 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-jpaserver-test-r4b 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-jpaserver-test-r5 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-jpaserver-test-utilities 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-jpaserver-uhnfhirtest Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-server 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-server-mdm Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-server-openapi Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-serviceloaders Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-spring-boot Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-sql-migrate Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-storage 4598: Possible creation of resource duplicates when ingesting large quantity of resources. (#4609) 2023-03-14 08:01:06 -04:00
hapi-fhir-storage-batch2 Fix intermittent in batch2 tests (#4643) 2023-03-13 19:59:05 +00:00
hapi-fhir-storage-batch2-jobs Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-storage-batch2-test-utilities Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-storage-cr Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-storage-mdm Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-storage-test-utilities Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-structures-dstu2 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-structures-dstu2.1 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-structures-dstu3 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-structures-hl7org-dstu2 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-structures-r4 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-structures-r4b Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-structures-r5 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-test-utilities Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-testpage-overlay Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-validation Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-validation-resources-dstu2 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-validation-resources-dstu2.1 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-validation-resources-dstu3 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-validation-resources-r4 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-validation-resources-r4b Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-fhir-validation-resources-r5 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-tinder-plugin Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
hapi-tinder-test Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -04:00
osgi Demote PHI logging to debug or lower (#4430) 2023-01-13 15:34:29 +00:00
src/assembly Checkstyle cleanup (#4501) 2023-02-03 09:40:32 -05:00
tests Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -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 Checkstyle cleanup (#4501) 2023-02-03 09:40:32 -05: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 Make WorkChunk handling transactional at state transitions. (#4621) 2023-03-12 19:19:21 -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 Fix release pipeline Originally Issue 4106 process map to properties when uploading loinc terminology (#4246) 2022-11-04 13:57:19 -07: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.