🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
Go to file
Luke deGruchy ea8b68f5e5
Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615)
* First commit with new maven deps for envers and stubbed changelist.

* Add repositoryFactoryBeanClass = EnversRevisionRepositoryFactoryBean.class to BaseAppCtxPersistence.  Comment it out in JpaConfig.  Add constant for hibernate.integration.envers.enabled.  Hard-code envers to false.  App starts without error.  Basic smoke testing for MpmLink update works.

* Add mdmLink code to retrieve envers history and unit test it.

* Initial code to handle envers from HapiFhirEnversRevision along with a custom extension of the revision/REVINFO entity.

* Add changelist and tweak table/sequence/field names and clean up the HapiFhirJpaMigrationTasks method.

* Fix some unit test failures and address TODOs.

* Ensure hard-coded deactivation of envers is overridden by unit tests.

* Remove commented-out code.

* Address code review comments.

* Remove sysout traces.

* Tweaks to poms with comments explaining why I left the versions in the plugin dependencies.  Get rid of a duplicate envers dependency.

* Bump hapi-fhir version to 6.5.5-SNAPSHOT.

* Disable intermittently failing test: PartitionedSubscriptionTriggeringR4Test.testCreateSubscriptionInPartitionAndResourceInDifferentPartition

* Try disabling Batch2CoordinatorIT failing test and see if branch pipeline passes.

* Add back hapi-fhir-validation-resources-r4b to hapi-fhir-jpaserver-base pom.xml.

* Bump hapi-fhir to 6.5.6-SNAPSHOT.

* Bump rest of hapi-fhir to 6.5.6-SNAPSHOT.

* Fix compile error on Batch2CoordinatorIT.

* Change revision ID column from integer to long in both the revision entity and the migration tasks.  Fix a bug with the migration tasks having the wrong name for the timestamp column.

* Fix interface in MongoDB to return Long for the revision ID instead of Int.   Implement TINYINT for all supported database products.  Keep TARGET_TYPE column at 40 instead of 100 for now since otherwise the schema migration test will fail.  Also, don't try to rename the foreign key or the schema migration test will fail.
2023-03-14 15:32:00 -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 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-android Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-android-realm Work on JPA 2017-02-02 06:23:28 -05:00
hapi-fhir-base Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-bom Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-checkstyle Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-cli Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-client Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-client-okhttp Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-converter Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-dist Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-docs Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jacoco Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jaxrsserver-base Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpa Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-base Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-elastic-test-utilities Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-ips Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-mdm Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-model Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-searchparam Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-subscription Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-test-dstu2 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-test-dstu3 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-test-r4 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-test-r4b Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-test-r5 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-test-utilities Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-jpaserver-uhnfhirtest Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-server Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-server-mdm Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-server-openapi Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-serviceloaders Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-spring-boot Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-sql-migrate Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-storage Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-storage-batch2 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-storage-batch2-jobs Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-storage-batch2-test-utilities Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-storage-cr Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-storage-mdm Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-storage-test-utilities Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-structures-dstu2 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-structures-dstu2.1 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-structures-dstu3 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-structures-hl7org-dstu2 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-structures-r4 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-structures-r4b Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-structures-r5 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-test-utilities Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-testpage-overlay Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-validation Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-validation-resources-dstu2 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-validation-resources-dstu2.1 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-validation-resources-dstu3 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-validation-resources-r4 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-validation-resources-r4b Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-fhir-validation-resources-r5 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-tinder-plugin Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -04:00
hapi-tinder-test Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -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 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -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 Introduce hibernate envers, use it only for MdmLink, disable it for now, add to MdmLink Dao and unit test revisions. (#4615) 2023-03-14 15:32:00 -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.