Commit Graph

1111 Commits

Author SHA1 Message Date
dotasek
c0a22e1e47 Merge remote-tracking branch 'origin/master' into rel_8_7-tracking 2026-02-19 13:33:23 -05:00
dotasek
85266820db Use HAPI version 8.8.0 2026-02-19 13:30:45 -05:00
dotasek
53837d6c94 Merge pull request #920 from hapifhir/do-20250217-hapi-8-6-5
HAPI 8.6.5
2026-02-17 14:32:35 -05:00
Patrick Werner
5778f431bf chore: set Maven memory options in smoke-tests.yml 2026-02-17 19:29:30 +01:00
Patrick Werner
68fc2a4c04 fix formatting 2026-02-17 19:21:18 +01:00
dotasek
b80687959f Adjust for moved class 2026-02-17 13:17:15 -05:00
dotasek
ba077ab8fd HAPI 8.6.5 2026-02-17 12:58:02 -05:00
dotasek
9f3c209f78 Merge remote-tracking branch 'origin/master' into rel_8_7-tracking 2026-02-17 12:16:19 -05:00
peartree
4d96714ade bumping dependency version to 8.7.13-SNAPSHOT 2026-02-17 09:30:57 -05:00
Patrick Werner
636e445e1f Merge pull request #919 from hapifhir/fix-FilesystemBinaryStorage-interceptor
Fix filesystem binary storage interceptor
2026-02-16 12:48:30 +01:00
Steve Swinsburg
bf50be7584 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 (#916)
Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au>
2026-02-16 12:43:48 +01:00
Steve Swinsburg
fbb67dd978 make the bulk export retention time configurable (#917)
* #710 make the bulk export retention time configurable

* #710 spotless fix

---------

Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au>
2026-02-16 12:33:00 +01:00
Patrick Werner
eaabef8be0 refactor: update inline_resource_storage_below_size to binary_storage_minimum_binary_size in BinaryStorageIntegrationTest 2026-02-16 12:27:26 +01:00
Patrick Werner
d45bf8027e removed testing config 2026-02-16 12:17:14 +01:00
Patrick Werner
f01b86e6c0 refactor: rename inline_resource_storage_below_size to binary_storage_minimum_binary_size in AppProperties and application.yaml 2026-02-16 11:59:13 +01:00
Patrick Werner
7d482e30c9 refactor: rename inline_resource_storage_below_size to binary_storage_minimum_binary_size in AppProperties and application.yaml 2026-02-16 11:59:08 +01:00
Patrick Werner
a1fc68b4f0 removed deprecated setting of setInlineResourceTextBelowSize 2026-02-16 11:58:57 +01:00
Patrick Werner
f4db064f92 feat: add BinaryStorageInterceptorRegistrar for conditional interceptor registration, register against JPA interceptor service to also be triggered on dao level (e.g. bulk export) 2026-02-16 11:55:17 +01:00
Jens Kristian Villadsen
78a068ab45 Feature/elastic back in green (#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>
2026-02-08 17:18:28 +01:00
Steve Swinsburg
c5fd867efc Fix the build warning by replacing the deprecated prerequisites property and replacing with the enforcer plugin. (#913)
Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au>
2026-02-08 15:35:14 +01:00
dotasek
744559835d Update to HAPI 8.7.12-SNAPSHOT 2026-02-05 11:13:08 -05:00
Jens Kristian Villadsen
63256fe1d2 Add fallback for versioned base FHIR StructureDefinition lookups (#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>
2026-02-05 15:28:02 +01:00
dotasek
a59994f05f Bump logback 2026-02-02 10:59:46 -05:00
dotasek
143f4e0800 Merge remote-tracking branch 'origin/master' into rel_8_7-tracking 2026-02-02 09:59:00 -05:00
Brenin Rhodes
fc395b613a Merge pull request #912 from hapifhir/cr-4-2-0
Update CR to 4.2.0
2026-01-29 07:08:35 -07:00
darth.cav
58c9656242 Add TestContainerHelper for simplified integration testing (#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
2026-01-29 11:52:38 +01:00
Brenin Rhodes
0104c62452 Update CR to 4.2.0 2026-01-28 10:47:54 -07:00
dotasek
4979cef097 Update to HAPI 8.7.11-SNAPSHOT 2026-01-21 16:18:15 -05:00
dotasek
2c2690d6bc Switch back to parent version in testcontainers dependency 2026-01-21 15:46:36 -05:00
dotasek
15e018a453 Merge branch 'master' into rel_8_7-tracking 2026-01-21 15:05:45 -05:00
dotasek
392df7f377 Merge remote-tracking branch 'origin/master' into rel_8_7-tracking 2026-01-20 09:32:57 -05:00
darth.cav
b81e2abe81 Add Elasticsearch index prefix configuration (#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
2026-01-20 15:32:24 +01:00
Simon Ringuette
bf7f6a3b6a Restore the testers in the default configuration (fixes #896) (#907) 2026-01-20 08:12:19 +01:00
Michele Adduci
a3d6fdb52a Updated Libraries, fixed Docker Compose (#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
2026-01-20 07:59:11 +01:00
dotasek
8b39b3abb8 Update to HAPI 8.7.10-SNAPSHOT 2026-01-19 10:36:55 -05:00
dotasek
3094b51b67 spotless 2026-01-12 11:03:52 -05:00
dotasek
bf0ef92916 Update hapi-fhir to 8.7.5-SNAPSHOT 2026-01-12 10:30:44 -05:00
dotasek
8e0b6f9b69 Use HAPI 8.7.0-SNAPSHOT 2025-11-24 16:07:36 -05:00
dotasek
547d6181ae Merge pull request #880 from jkiddo/fix/remove-duplicate-invocations
Removed duplicate code lines
2025-11-24 10:18:48 -05:00
dotasek
e5d49eeaa3 Merge pull request #851 from hapifhir/rel_8_5-tracking 2025-11-24 09:10:30 -05:00
Brenin Rhodes
39b991a275 Bump to CR 4.0.0 2025-11-21 14:25:55 -07:00
dotasek
b59788d330 Bump to HAPI 8.6.0 2025-11-21 09:51:37 -05:00
dotasek
aa31d4a168 Bump to HAPI 8.5.12-SNAPSHOT 2025-11-21 09:44:21 -05:00
dotasek
25b4430437 Merge remote-tracking branch 'origin/master' into rel_8_5-tracking 2025-11-17 10:28:49 -05:00
dotasek
5b834c92cc Bump to HAPI 8.5.11-SNAPSHOT 2025-11-17 10:20:14 -05:00
craig mcclendon
9512ce1ddf enable the test profile in unit tests (#882) 2025-11-16 14:02:02 +01:00
Kevin Dougan
93d5919203 Merge pull request #886 from gbks121/fix/add-missing-property-in-application.yaml
Adding custom-bean-packages property in application.yaml
2025-11-11 10:09:37 -05:00
gbks121
eb04bbcaa4 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
2025-11-11 15:46:59 +01:00
dotasek
d6fb164665 Merge pull request #881 from hapifhir/dotasek-patch-2
Update HAPI FHIR JPA server starter revision to 4
2025-11-04 13:18:58 -05:00
dotasek
64177d04ed Update HAPI FHIR JPA server starter revision to 4 2025-11-04 09:59:59 -05:00