mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-03-25 01:18:37 +00:00
* Fix typo in docs. * Refactor the use of ConcurrentTaskScheduler to use the non-deprecated constructor. * Refactor getOrCreateTag method to prevent transaction suspension for XA transaction compatibility The getOrCreateTag method previously used a propagation behavior that caused issues with XA transactions when using the PostgreSQL JDBC driver. The PGXAConnection does not support transaction suspend/resume, which made it incompatible with the existing propagation strategy 'PROPAGATION_REQUIRES_NEW'. This refactor changes the getOrCreateTag logic to perform a lookup/write in a new transaction as before, but running in a separate thread, such that the main transaction is not suspended. The result is retrieved through a future. This change aims to improve compatibility and prevent transaction-related issues when using HAPI-FHIR with XA transactions and PostgreSQL. Closes #3412 * Refactor tag creation logic and handle concurrent access: - Simplified tag creation by removing unnecessary transaction complexity, since we allow duplicate tags in hfj_tag_def from #4813 - Removed redundant retry logic based on updated DB constraints
Configurable submit ResourceModifiedMessage immediately if of type Subscription, store in DB on failure (#6395)
Refactor BaseHapiFhirDao.getOrCreateTag method to run in a separate thread for XA transaction compatibility (#6224)
Configurable submit ResourceModifiedMessage immediately if of type Subscription, store in DB on failure (#6395)
Configurable submit ResourceModifiedMessage immediately if of type Subscription, store in DB on failure (#6395)
Refactor BaseHapiFhirDao.getOrCreateTag method to run in a separate thread for XA transaction compatibility (#6224)
Refactor BaseHapiFhirDao.getOrCreateTag method to run in a separate thread for XA transaction compatibility (#6224)
HAPI FHIR
HAPI FHIR - Java API for HL7 FHIR Clients and Servers
CI/CD
CI Status (master) | SNAPSHOT Pipeline | Current Release |
---|---|---|
Coverage and Quality
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.
Languages
Java
99.2%
HTML
0.5%
Shell
0.1%