Updated Libraries, fixed Docker Compose#908
Conversation
|
The Spring and SpringBoot versions should probably be kept in sync with the parent HAPI FHIR project. The current master, and 8.6.1 version of HAPI are at 3.4.11 (vs 3.5.9 changed in this PR): It might be safe, but you can run into weird issues with things like this. |
|
I generally agree but I think this one is safe |
|
Test run, so i haven't seen any weird issue. The HAPI FHIR project itself states that the springboot modules aren't really maintained |
It's not so much the Spring Boot modules themselves - it's that Spring Boot curates and tests/validates the versions of 100s of dependencies for all sorts of 3rd party libraries to ensure they are compatible with a given version of Spring. So updating the SpringBoot version might change the version of some dependency like jackson, apache commons, hikari, etc. Suppose one of those dependencies removed/changed an API in the latest version, and suddenly some obscure HAPI operation, or a database driver or whatever is calling the old API - you'll get a RuntimeException of some sort (MethodNotFoundException or something). The unit tests here will catch the basic operations - but it could be something not tested - a reindex operation, or something a specific database driver invokes, or someone is adding Spring Security to support auth to their fork of this project.. those problems likely won't be caught in unit testing and appear at runtime. |
Fair point, but I've seen also that the configuration for modern Versions of PostgreSQL (16+) was also broken and it hasn't fixed until this PR. If something's broken, then anyone can contribute to repair it. |
|
I'll state it a different way - this project is really a web wrapper around the parent HAPI project. The Spring project itself carefully tests and curates all 3rd party dependencies to be compatible with a given version of Spring, and the upstream HAPI project (heavily Spring-dependent) also has thousands of unit tests covering virtually every operation. This project has minimal tests covering a small percentage of possible operations. Changing the Spring Boot version here creates version overrides/conflicts for hundreds of those 400 libraries. There is no way to predict whether it's safe to do so or not. |
* Switch to HAPI 8.5.1 * Use HAPI 8.5.3-SNAPSHOT * ci: remove success message from formatting check (hapifhir#858) * ci: remove success message from formatting check The workflow succeeds giving a green check-mark next to the commit id. Perhaps writing a comment each time is redundant? E.g.: hapifhir#856 * Update spotless check workflow to handle failures Modify condition for PR comment action to run only on failure. * Feature/mcp (hapifhir#846) * Added MCP support using SSE on http://localhost:8080/sse * Reverted change that IntelliJ complains about * Pre-rework * Cleaned up the code a fair bit * Renamed * Renamed * Running spotless * Reuse FhirContext in result serialization to make MCP server work with R5 * Added support for transactions * PoC tool for CDS Hooks * some cleanup * Upgrade of model protocol * Added comments * Removed field injection ... CDS to be changed to AutoConfig eventually * Adjusted to new builder pattern * Update src/main/java/ca/uhn/fhir/rest/server/MCPBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * A bit of restructuring * More rework * Removing (suspected unnecessary) formatting * Add more example doc * Added a smoke- / passthrough-test * Applied spotless * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/RequestBuilder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/RequestBuilder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/ToolFactory.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/rest/server/McpCdsBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/rest/server/McpCdsBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Formatting * Added some documentation * spotless cares about MD? * Reverting back to default values * minor refinements * Fixed CDS hooks configuration * Fixed some wirings * Revert "Fixed some wirings" This reverts commit c9d3bc0. * Revert "Fixed CDS hooks configuration" This reverts commit 67c4279. --------- Co-authored-by: Ádám Z. Kövér <adamzkover@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Switched to the bitnamilegacy image repository (hapifhir#861) Co-authored-by: chgl <5307555+chgl@users.noreply.github.com> * Feature/elastic on boot (hapifhir#856) * Fixing up elastic for Spring Boot * Adding class shadowing for issue reported on hapifhir/hapi-fhir#7242 * Formatting * corrected condition * fix import * fix2 * crappy fix3 * fix actuator endpoint * Simplified expression * Ironed out a few legacy issues * more rework * major overhaul * Disabling invalid test * Reverting back to defaults for text searches * Added default hibernate settings from the EnvironmentHelper * Formatting * Added comment on class shadow * Added missing default * Add quick install command for Implementation Guide (hapifhir#859) Added a one-liner command for installing an Implementation Guide into HAPI. * Feature/cds config (hapifhir#857) * Added MCP support using SSE on http://localhost:8080/sse * Reverted change that IntelliJ complains about * Pre-rework * Cleaned up the code a fair bit * Renamed * Renamed * Running spotless * Reuse FhirContext in result serialization to make MCP server work with R5 * Added support for transactions * PoC tool for CDS Hooks * some cleanup * Upgrade of model protocol * Added comments * Removed field injection ... CDS to be changed to AutoConfig eventually * Adjusted to new builder pattern * Update src/main/java/ca/uhn/fhir/rest/server/MCPBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * A bit of restructuring * More rework * Removing (suspected unnecessary) formatting * Add more example doc * Added a smoke- / passthrough-test * Applied spotless * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/RequestBuilder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/RequestBuilder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/ToolFactory.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/rest/server/McpCdsBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/rest/server/McpCdsBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Formatting * Added some documentation * spotless cares about MD? * Reverting back to default values * minor refinements * Fixed CDS hooks configuration * Fixed some wirings * Readded missing elements * getting closer to get test running again ... * applying review * Readded exclude * Bumped spring-ai deps * added agents file * Updated according to review --------- Co-authored-by: Ádám Z. Kövér <adamzkover@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update CR to 3.27.0-SNAPSHOT * Update to 3.27.0 release * spotless * fix revision * fix config * Add Using CQL IG * allow external references * Add all expected resource types to be installed from an IG * rename cds application yaml * feat: add configuration for marking resources for reindexing upon search parameter change * fix formatting * make thread count configurable (hapifhir#868) * feat: add configuration for reindex and expunge thread counts * fix formatting * Add configurable filesystem binary storage (fix hapifhir#860) (hapifhir#864) * Add configurable filesystem binary storage (fix hapifhir#860) * Refine binary storage configuration handling * Refine binary storage bean wiring * Refine binary storage conditional beans * Add integration coverage for binary storage configs * Exercise binary storage via REST integration tests * Update src/main/resources/application.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Ubuntu <ubuntu@ip-172-31-35-43.eu-west-2.compute.internal> Co-authored-by: Ubuntu <ubuntu@ip-172-31-10-131.eu-west-2.compute.internal> Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update to HAPI 8.5.7-SNAPSHOT * Stay with revision 1 for release tracking * Update CR to 3.28.0-SNAPSHOT * include us cql common ig * feat: add configuration for marking resources for reindexing upon search parameter change (hapifhir#867) * feat: add configuration for marking resources for reindexing upon search parameter change * fix formatting * add missing property in application.yaml * Update to CR 3.28.0 release * Bump HAPI version to 8.5.8-SNAPSHOT + Fix for failing MultitenantServerR4IT * Update src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply spotless * Removed duplicate code lines * Update HAPI FHIR JPA server starter revision to 4 * Adding custom-bean-packages property in application.yaml Adding the missing custom-bean-packages property in application.yaml and removing the duplicate custom-provider-classes property * enable the test profile in unit tests (hapifhir#882) * Bump to HAPI 8.5.11-SNAPSHOT * Bump to HAPI 8.5.12-SNAPSHOT * Bump to HAPI 8.6.0 * Bump to CR 4.0.0 * Updated Libraries, fixed Docker Compose (hapifhir#908) * Updated SpringBoot, HAPI FHIR, Docker * Fixed docker compose * Fixed Chart README * Replaced Tomcat image * Replaced Tomcat image * Fixing Tomcat image * Corrected Helm Chart value * Restore the testers in the default configuration (fixes hapifhir#896) (hapifhir#907) * Add Elasticsearch index prefix configuration (hapifhir#891) * Add Elasticsearch configuration section to application.yaml * Add configuration for reindexing resources upon search parameter change * Add Elasticsearch client configuration for testing * Update logback dependencies because of a security issue and enable resource filtering in pom.xml * Add application name and tester configuration to application.yaml. Refactor hibernate properties * Add custom Elasticsearch configuration to create ElasticsearchClient bean * Add index prefix configuration for Elasticsearch indices * Fix Elasticsearch URI format in test initialization * Refactor ElasticsearchConfig for improved readability and code style consistency (spotless:apply) * Refactor ElasticsearchConfig for improved readability and code style consistency (spotless:apply) * Update index prefix in application.yaml for Elasticsearch configuration * Enhance index prefix validation and add sanitization method for Elasticsearch index names * Merged with master in upstream * Refactor ElasticsearchBootSvcImpl and ElasticsearchConfig for improved readability (mvn spotless) * Comment out custom_content_path in application.yaml for clarity * - Refactor application.yaml for improved structure and readability; - Add PostgresLucenePatientIT integration test; and - Update testcontainers dependencies to avoid compatibility issues with newer Docker APIs. * Refactor PostgresLucenePatientIT to use external configuration file for test properties * Add integration tests for PostgreSQL and Elasticsearch with dynamic configuration * Increase socket timeout in CdsHooksServletIT for improved stability during tests * Remove deprecated tester configuration from application.yaml * Update CR to 4.2.0 * Add TestContainerHelper for simplified integration testing (hapifhir#910) * Add TestContainerHelper for PostgreSQL and Elasticsearch integration testing * Add configuration files for Elasticsearch and PostgreSQL integration testing * Refactor integration tests to utilize TestContainerHelper for PostgreSQL and Elasticsearch * Add fallback for versioned base FHIR StructureDefinition lookups (hapifhir#911) * Add fallback for versioned base FHIR StructureDefinition lookups Problem: Implementation Guides (e.g., ch-core) may reference base FHIR resources with explicit versions like "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1". These lookups fail because base FHIR StructureDefinitions are intentionally cached without version (see hapi-fhir PR #7236). This causes validation errors like: - "Unable to resolve the profile reference '...|4.0.1'" - "Invalid Resource target type. Found Organization, but expected one of ([])" Solution: Add VersionedUrlFallbackValidationSupport that intercepts versioned lookups for base FHIR StructureDefinitions (http://hl7.org/fhir/StructureDefinition/*) and falls back to: 1. Major.minor version (e.g., 4.0.1 -> 4.0) 2. Non-versioned URL The fallback logs a warning when triggered, allowing visibility into which IGs reference versioned base resources. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Remove duplicates * formatting * removing unneeded thread local * corrected according to review * cleanup * removed not needed const * tests include some chain now * Update src/test/java/ca/uhn/fhir/jpa/starter/validation/VersionedUrlFallbackValidationSupportTest.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * updated doc * adding tests * Add TODO comment for core fix in validation support Added a comment indicating a TODO for future improvement. * Update TODO comment for core fix in validation support --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix the build warning by replacing the deprecated prerequisites property and replacing with the enforcer plugin. (hapifhir#913) Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au> * Feature/elastic back in green (hapifhir#893) * Getting automated tests back into green * using native API's * formatting * refactoring * getting 8.X ES working * Removed sleep * Update src/test/java/ca/uhn/fhir/jpa/starter/ElasticsearchLastNR4IT.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Reintroduced sleep as indicies are a bit slow ? * Using the production bean instead of a test one * updating default parameters for es * Making separate profile for ES * works from here * remove all not needed code anymore * removing parent defined version * fixed tests --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * feat: add BinaryStorageInterceptorRegistrar for conditional interceptor registration, register against JPA interceptor service to also be triggered on dao level (e.g. bulk export) * removed deprecated setting of setInlineResourceTextBelowSize * refactor: rename inline_resource_storage_below_size to binary_storage_minimum_binary_size in AppProperties and application.yaml * refactor: rename inline_resource_storage_below_size to binary_storage_minimum_binary_size in AppProperties and application.yaml * removed testing config * refactor: update inline_resource_storage_below_size to binary_storage_minimum_binary_size in BinaryStorageIntegrationTest * make the bulk export retention time configurable (hapifhir#917) * hapifhir#710 make the bulk export retention time configurable * hapifhir#710 spotless fix --------- Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au> * This updates the readme to describe another way of running the application using --spring.config.additional-location for override files that don't need to be a copy of the application.yaml (hapifhir#916) Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au> * SOC-931 | Add sentry integration for simple error log (#15) * SOC-931 | Add sentry integration for simple error log * SOC-931 | Update README * Add transform operations * SOC-853 | Fix repetition problem for HL7v2, add support for instant in DateOp (#2) * SOC-853 | Fix repetition problem for HL7v2, add support for instant in DateOp * SOC-853 | Fix TimeZone to UTC, add UT * SOC-857 | Add convert to genericSegment for 2.5.1 version of hl7v2 (#3) * SOC-857 | Add convert to genericSegment for 2.5.1 version of hl7v2 * SOC-857 | Add UT for toGenericSegment and HL7v2 versions * RELEASE | Upgrade version to mapping-2.0.0 * RELEASE | Upgrade version for next release mapping-2.0.1-SNAPSHOT * SOC-862 | Add support for import StructureMaps (#5) * STJO-297 | Support path with groups/blocks for HL7V2 2.5.1 mapping * MAP-201 | Fix for multiples Segments in HL7v2 (#7) * SOC-904 | Add time in DateOp and supports empty strings in parameters for append, support cast to positiveInt (#8) * RELEASE | Up to version mapping-2.1.0 * RELEASE | Upgrade version for next release mapping-2.1.1-SNAPSHOT * MAP-198 | Add support for cast to base64 * RELEASE | Up to version mapping-2.2.0 * RELEASE | Upgrade version for the next release mapping-2.2.1-SNAPSHOT * P4H-127 | Management of multiple same segments in HL7v2 + Support input for HPRIM (#10) * P4H-127 | Management of multiple same segments in HL7v2 * P4H-127 | Support input for HPRIM * P4H-128 | Support output for HL7V2 * P4H-128 | Add TU for HPRIM and HL7V2 Model * P4H-128 | Add UT for process HPRIM and HL7V2 * P4H-128 | Add support for nbsp for mapping append * SOC-913 | Fix multiple segment names for HL7V2 and SOC-915 | Add support for xhtml type (#11) * RELEASE | Up to version mapping-2.3.0 * RELEASE | Upgrade version for the next release mapping-2.3.1-SNAPSHOT --------- Co-authored-by: dotasek <david.otasek@smilecdr.com> Co-authored-by: Martin Bernstorff <martinbernstorff@gmail.com> Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com> Co-authored-by: Ádám Z. Kövér <adamzkover@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: chgl <chgl@users.noreply.github.com> Co-authored-by: chgl <5307555+chgl@users.noreply.github.com> Co-authored-by: Brenin Rhodes <brenin.rhodes@smiledigitalhealth.com> Co-authored-by: Patrick Werner <pa.f.werner@gmail.com> Co-authored-by: Shamus Husheer <shusheer@users.noreply.github.com> Co-authored-by: Ubuntu <ubuntu@ip-172-31-35-43.eu-west-2.compute.internal> Co-authored-by: Ubuntu <ubuntu@ip-172-31-10-131.eu-west-2.compute.internal> Co-authored-by: gbks121 <241717635+gbks121@users.noreply.github.com> Co-authored-by: Kevin Dougan <72025369+KevinDougan@users.noreply.github.com> Co-authored-by: craig mcclendon <cgithub@loudog.org> Co-authored-by: Michele Adduci <michele.adduci@gematik.de> Co-authored-by: Simon Ringuette <SimonRinguette@users.noreply.github.com> Co-authored-by: darth.cav <darthcav@users.noreply.github.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Steve Swinsburg <steve.swinsburg@gmail.com> Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au> Co-authored-by: Diogo Neiva Abreu <144787094+DiogoNAbreu@users.noreply.github.com> Co-authored-by: Diogo Neiva Abreu <diogo.neiva-abreu@fyrstain.com>
* Switch to HAPI 8.5.1 * Use HAPI 8.5.3-SNAPSHOT * ci: remove success message from formatting check (hapifhir#858) * ci: remove success message from formatting check The workflow succeeds giving a green check-mark next to the commit id. Perhaps writing a comment each time is redundant? E.g.: hapifhir#856 * Update spotless check workflow to handle failures Modify condition for PR comment action to run only on failure. * Feature/mcp (hapifhir#846) * Added MCP support using SSE on http://localhost:8080/sse * Reverted change that IntelliJ complains about * Pre-rework * Cleaned up the code a fair bit * Renamed * Renamed * Running spotless * Reuse FhirContext in result serialization to make MCP server work with R5 * Added support for transactions * PoC tool for CDS Hooks * some cleanup * Upgrade of model protocol * Added comments * Removed field injection ... CDS to be changed to AutoConfig eventually * Adjusted to new builder pattern * Update src/main/java/ca/uhn/fhir/rest/server/MCPBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * A bit of restructuring * More rework * Removing (suspected unnecessary) formatting * Add more example doc * Added a smoke- / passthrough-test * Applied spotless * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/RequestBuilder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/RequestBuilder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/ToolFactory.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/rest/server/McpCdsBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/rest/server/McpCdsBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Formatting * Added some documentation * spotless cares about MD? * Reverting back to default values * minor refinements * Fixed CDS hooks configuration * Fixed some wirings * Revert "Fixed some wirings" This reverts commit c9d3bc0. * Revert "Fixed CDS hooks configuration" This reverts commit 67c4279. --------- Co-authored-by: Ádám Z. Kövér <adamzkover@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Switched to the bitnamilegacy image repository (hapifhir#861) Co-authored-by: chgl <5307555+chgl@users.noreply.github.com> * Feature/elastic on boot (hapifhir#856) * Fixing up elastic for Spring Boot * Adding class shadowing for issue reported on hapifhir/hapi-fhir#7242 * Formatting * corrected condition * fix import * fix2 * crappy fix3 * fix actuator endpoint * Simplified expression * Ironed out a few legacy issues * more rework * major overhaul * Disabling invalid test * Reverting back to defaults for text searches * Added default hibernate settings from the EnvironmentHelper * Formatting * Added comment on class shadow * Added missing default * Add quick install command for Implementation Guide (hapifhir#859) Added a one-liner command for installing an Implementation Guide into HAPI. * Feature/cds config (hapifhir#857) * Added MCP support using SSE on http://localhost:8080/sse * Reverted change that IntelliJ complains about * Pre-rework * Cleaned up the code a fair bit * Renamed * Renamed * Running spotless * Reuse FhirContext in result serialization to make MCP server work with R5 * Added support for transactions * PoC tool for CDS Hooks * some cleanup * Upgrade of model protocol * Added comments * Removed field injection ... CDS to be changed to AutoConfig eventually * Adjusted to new builder pattern * Update src/main/java/ca/uhn/fhir/rest/server/MCPBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * A bit of restructuring * More rework * Removing (suspected unnecessary) formatting * Add more example doc * Added a smoke- / passthrough-test * Applied spotless * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/RequestBuilder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/RequestBuilder.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/jpa/starter/mcp/ToolFactory.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/rest/server/McpCdsBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/main/java/ca/uhn/fhir/rest/server/McpCdsBridge.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Formatting * Added some documentation * spotless cares about MD? * Reverting back to default values * minor refinements * Fixed CDS hooks configuration * Fixed some wirings * Readded missing elements * getting closer to get test running again ... * applying review * Readded exclude * Bumped spring-ai deps * added agents file * Updated according to review --------- Co-authored-by: Ádám Z. Kövér <adamzkover@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update CR to 3.27.0-SNAPSHOT * Update to 3.27.0 release * spotless * fix revision * fix config * Add Using CQL IG * allow external references * Add all expected resource types to be installed from an IG * rename cds application yaml * feat: add configuration for marking resources for reindexing upon search parameter change * fix formatting * make thread count configurable (hapifhir#868) * feat: add configuration for reindex and expunge thread counts * fix formatting * Add configurable filesystem binary storage (fix hapifhir#860) (hapifhir#864) * Add configurable filesystem binary storage (fix hapifhir#860) * Refine binary storage configuration handling * Refine binary storage bean wiring * Refine binary storage conditional beans * Add integration coverage for binary storage configs * Exercise binary storage via REST integration tests * Update src/main/resources/application.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Ubuntu <ubuntu@ip-172-31-35-43.eu-west-2.compute.internal> Co-authored-by: Ubuntu <ubuntu@ip-172-31-10-131.eu-west-2.compute.internal> Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update to HAPI 8.5.7-SNAPSHOT * Stay with revision 1 for release tracking * Update CR to 3.28.0-SNAPSHOT * include us cql common ig * feat: add configuration for marking resources for reindexing upon search parameter change (hapifhir#867) * feat: add configuration for marking resources for reindexing upon search parameter change * fix formatting * add missing property in application.yaml * Update to CR 3.28.0 release * Bump HAPI version to 8.5.8-SNAPSHOT + Fix for failing MultitenantServerR4IT * Update src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply spotless * Removed duplicate code lines * Update HAPI FHIR JPA server starter revision to 4 * Adding custom-bean-packages property in application.yaml Adding the missing custom-bean-packages property in application.yaml and removing the duplicate custom-provider-classes property * enable the test profile in unit tests (hapifhir#882) * Bump to HAPI 8.5.11-SNAPSHOT * Bump to HAPI 8.5.12-SNAPSHOT * Bump to HAPI 8.6.0 * Bump to CR 4.0.0 * Updated Libraries, fixed Docker Compose (hapifhir#908) * Updated SpringBoot, HAPI FHIR, Docker * Fixed docker compose * Fixed Chart README * Replaced Tomcat image * Replaced Tomcat image * Fixing Tomcat image * Corrected Helm Chart value * Restore the testers in the default configuration (fixes hapifhir#896) (hapifhir#907) * Add Elasticsearch index prefix configuration (hapifhir#891) * Add Elasticsearch configuration section to application.yaml * Add configuration for reindexing resources upon search parameter change * Add Elasticsearch client configuration for testing * Update logback dependencies because of a security issue and enable resource filtering in pom.xml * Add application name and tester configuration to application.yaml. Refactor hibernate properties * Add custom Elasticsearch configuration to create ElasticsearchClient bean * Add index prefix configuration for Elasticsearch indices * Fix Elasticsearch URI format in test initialization * Refactor ElasticsearchConfig for improved readability and code style consistency (spotless:apply) * Refactor ElasticsearchConfig for improved readability and code style consistency (spotless:apply) * Update index prefix in application.yaml for Elasticsearch configuration * Enhance index prefix validation and add sanitization method for Elasticsearch index names * Merged with master in upstream * Refactor ElasticsearchBootSvcImpl and ElasticsearchConfig for improved readability (mvn spotless) * Comment out custom_content_path in application.yaml for clarity * - Refactor application.yaml for improved structure and readability; - Add PostgresLucenePatientIT integration test; and - Update testcontainers dependencies to avoid compatibility issues with newer Docker APIs. * Refactor PostgresLucenePatientIT to use external configuration file for test properties * Add integration tests for PostgreSQL and Elasticsearch with dynamic configuration * Increase socket timeout in CdsHooksServletIT for improved stability during tests * Remove deprecated tester configuration from application.yaml * Update CR to 4.2.0 * Add TestContainerHelper for simplified integration testing (hapifhir#910) * Add TestContainerHelper for PostgreSQL and Elasticsearch integration testing * Add configuration files for Elasticsearch and PostgreSQL integration testing * Refactor integration tests to utilize TestContainerHelper for PostgreSQL and Elasticsearch * Add fallback for versioned base FHIR StructureDefinition lookups (hapifhir#911) * Add fallback for versioned base FHIR StructureDefinition lookups Problem: Implementation Guides (e.g., ch-core) may reference base FHIR resources with explicit versions like "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1". These lookups fail because base FHIR StructureDefinitions are intentionally cached without version (see hapi-fhir PR #7236). This causes validation errors like: - "Unable to resolve the profile reference '...|4.0.1'" - "Invalid Resource target type. Found Organization, but expected one of ([])" Solution: Add VersionedUrlFallbackValidationSupport that intercepts versioned lookups for base FHIR StructureDefinitions (http://hl7.org/fhir/StructureDefinition/*) and falls back to: 1. Major.minor version (e.g., 4.0.1 -> 4.0) 2. Non-versioned URL The fallback logs a warning when triggered, allowing visibility into which IGs reference versioned base resources. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Remove duplicates * formatting * removing unneeded thread local * corrected according to review * cleanup * removed not needed const * tests include some chain now * Update src/test/java/ca/uhn/fhir/jpa/starter/validation/VersionedUrlFallbackValidationSupportTest.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * updated doc * adding tests * Add TODO comment for core fix in validation support Added a comment indicating a TODO for future improvement. * Update TODO comment for core fix in validation support --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix the build warning by replacing the deprecated prerequisites property and replacing with the enforcer plugin. (hapifhir#913) Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au> * Feature/elastic back in green (hapifhir#893) * Getting automated tests back into green * using native API's * formatting * refactoring * getting 8.X ES working * Removed sleep * Update src/test/java/ca/uhn/fhir/jpa/starter/ElasticsearchLastNR4IT.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Reintroduced sleep as indicies are a bit slow ? * Using the production bean instead of a test one * updating default parameters for es * Making separate profile for ES * works from here * remove all not needed code anymore * removing parent defined version * fixed tests --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * feat: add BinaryStorageInterceptorRegistrar for conditional interceptor registration, register against JPA interceptor service to also be triggered on dao level (e.g. bulk export) * removed deprecated setting of setInlineResourceTextBelowSize * refactor: rename inline_resource_storage_below_size to binary_storage_minimum_binary_size in AppProperties and application.yaml * refactor: rename inline_resource_storage_below_size to binary_storage_minimum_binary_size in AppProperties and application.yaml * removed testing config * refactor: update inline_resource_storage_below_size to binary_storage_minimum_binary_size in BinaryStorageIntegrationTest * make the bulk export retention time configurable (hapifhir#917) * hapifhir#710 make the bulk export retention time configurable * hapifhir#710 spotless fix --------- Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au> * This updates the readme to describe another way of running the application using --spring.config.additional-location for override files that don't need to be a copy of the application.yaml (hapifhir#916) Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au> * SOC-931 | Add sentry integration for simple error log (#15) * SOC-931 | Add sentry integration for simple error log * SOC-931 | Update README * Add transform operations * SOC-853 | Fix repetition problem for HL7v2, add support for instant in DateOp (#2) * SOC-853 | Fix repetition problem for HL7v2, add support for instant in DateOp * SOC-853 | Fix TimeZone to UTC, add UT * SOC-857 | Add convert to genericSegment for 2.5.1 version of hl7v2 (#3) * SOC-857 | Add convert to genericSegment for 2.5.1 version of hl7v2 * SOC-857 | Add UT for toGenericSegment and HL7v2 versions * RELEASE | Upgrade version to mapping-2.0.0 * RELEASE | Upgrade version for next release mapping-2.0.1-SNAPSHOT * SOC-862 | Add support for import StructureMaps (#5) * STJO-297 | Support path with groups/blocks for HL7V2 2.5.1 mapping * MAP-201 | Fix for multiples Segments in HL7v2 (#7) * SOC-904 | Add time in DateOp and supports empty strings in parameters for append, support cast to positiveInt (#8) * RELEASE | Up to version mapping-2.1.0 * RELEASE | Upgrade version for next release mapping-2.1.1-SNAPSHOT * MAP-198 | Add support for cast to base64 * RELEASE | Up to version mapping-2.2.0 * RELEASE | Upgrade version for the next release mapping-2.2.1-SNAPSHOT * P4H-127 | Management of multiple same segments in HL7v2 + Support input for HPRIM (#10) * P4H-127 | Management of multiple same segments in HL7v2 * P4H-127 | Support input for HPRIM * P4H-128 | Support output for HL7V2 * P4H-128 | Add TU for HPRIM and HL7V2 Model * P4H-128 | Add UT for process HPRIM and HL7V2 * P4H-128 | Add support for nbsp for mapping append * SOC-913 | Fix multiple segment names for HL7V2 and SOC-915 | Add support for xhtml type (#11) * RELEASE | Up to version mapping-2.3.0 * RELEASE | Upgrade version for the next release mapping-2.3.1-SNAPSHOT --------- Co-authored-by: dotasek <david.otasek@smilecdr.com> Co-authored-by: Martin Bernstorff <martinbernstorff@gmail.com> Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com> Co-authored-by: Ádám Z. Kövér <adamzkover@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: chgl <chgl@users.noreply.github.com> Co-authored-by: chgl <5307555+chgl@users.noreply.github.com> Co-authored-by: Brenin Rhodes <brenin.rhodes@smiledigitalhealth.com> Co-authored-by: Patrick Werner <pa.f.werner@gmail.com> Co-authored-by: Shamus Husheer <shusheer@users.noreply.github.com> Co-authored-by: Ubuntu <ubuntu@ip-172-31-35-43.eu-west-2.compute.internal> Co-authored-by: Ubuntu <ubuntu@ip-172-31-10-131.eu-west-2.compute.internal> Co-authored-by: gbks121 <241717635+gbks121@users.noreply.github.com> Co-authored-by: Kevin Dougan <72025369+KevinDougan@users.noreply.github.com> Co-authored-by: craig mcclendon <cgithub@loudog.org> Co-authored-by: Michele Adduci <michele.adduci@gematik.de> Co-authored-by: Simon Ringuette <SimonRinguette@users.noreply.github.com> Co-authored-by: darth.cav <darthcav@users.noreply.github.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Steve Swinsburg <steve.swinsburg@gmail.com> Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au> Co-authored-by: Diogo Neiva Abreu <144787094+DiogoNAbreu@users.noreply.github.com> Co-authored-by: Diogo Neiva Abreu <diogo.neiva-abreu@fyrstain.com>
* Updated SpringBoot, HAPI FHIR, Docker * Fixed docker compose * Fixed Chart README * Replaced Tomcat image * Replaced Tomcat image * Fixing Tomcat image * Corrected Helm Chart value
Hi,
I've done minimal updates to the project: