Commit Graph

392 Commits

Author SHA1 Message Date
Shamus Husheer
cf003331e4 Add configurable filesystem binary storage (fix #860) (#864)
* Add configurable filesystem binary storage (fix #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>
2025-10-09 14:39:01 +02:00
Patrick Werner
a55c8f20a9 make thread count configurable (#868)
* feat: add configuration for reindex and expunge thread counts

* fix formatting
2025-10-09 14:15:17 +02:00
Brenin Rhodes
c9b576d979 fix config 2025-10-02 09:34:32 -06:00
Brenin Rhodes
4a1e76cd71 spotless 2025-10-02 08:57:46 -06:00
Brenin Rhodes
3673c135b1 Update to 3.27.0 release 2025-10-02 08:57:30 -06:00
Jens Kristian Villadsen
d76662c9e9 Feature/cds config (#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>
2025-10-01 22:17:07 +02:00
Jens Kristian Villadsen
9576cfa9b5 Feature/elastic on boot (#856)
* Fixing up elastic for Spring Boot

* Adding class shadowing for issue reported on https://github.com/hapifhir/hapi-fhir/pull/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
2025-09-22 23:41:43 +02:00
Jens Kristian Villadsen
680255ff62 Feature/mcp (#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 c9d3bc0b3b6756d7b15f5d2cf6100c99784fb868.

* Revert "Fixed CDS hooks configuration"

This reverts commit 67c4279100bf14432c164906235ea6348ee8af22.

---------

Co-authored-by: Ádám Z. Kövér <adamzkover@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-17 06:51:19 +02:00
Jens Kristian Villadsen
8621c0d89c Feat/extra resource loading from npm (#784)
* Logic to do the basics

* Added configurable folders

* Scoped additional resources to - pr. IG

* Updated telemetry version

* Changed to set

* Changed PostConstruct to Component and introduced use of PartitionCondition
Added try-load of HAPI optimized dialect

* Satisfying spotless

* Reverted to default config

* Apply spotless

* Use core-provided feature
Addling the binary content as its needed for example resource inspection

* Update src/main/java/ca/uhn/fhir/jpa/starter/util/JpaHibernatePropertiesProvider.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Reverting dialect change - fit for a potential other PR

* no message

* Formatting

* Update src/main/java/ca/uhn/fhir/jpa/starter/ig/ExtendedPackageInstallationSpec.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Bad AI ... bad bad AI ...

* Formatting

* bump of feature revision flag

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-27 08:52:59 +02:00
winfriedgerlach
8224cae131 some cleanup (#840)
* some cleanup

* results from mvn spotless:apply

* fix contructor --> constructor

* revert change to fix CdsHooksServletIT

* revert change to charts README.md

* bump chart version, required due to changes in README.md
2025-08-19 20:00:34 +02:00
Brenin Rhodes
d4739911e2 Merge branch 'cr-3-23-0' into cr-3-24-0 2025-08-13 07:37:40 -06:00
Chris O Riordan
0e17b198d0 Apply spotless 2025-08-01 07:38:53 -07:00
Chris O Riordan
36babba90c Add TerminologySeverClientSettings to CR Properties & Config 2025-07-18 11:53:43 -07:00
Patrick Werner
0d8f2aac14 fix: correct formatting and spacing in AppProperties.java 2025-07-08 17:50:56 +02:00
James Agnew
92485be847 Merge branch 'master' into ja_20250502_improve_dialect_handling 2025-06-25 17:05:08 -04:00
Brenin Rhodes
4f9a84db97 spotless 2025-06-18 18:25:36 -06:00
Brenin Rhodes
0690d803c6 bump cr to 3-22-0 2025-06-18 18:22:19 -06:00
Michal Sevcik
7cd0637c88 Enable configuration of store_meta_source_information (#825)
* Enable configuration of store_meta_source_information

* Update src/main/java/ca/uhn/fhir/jpa/starter/common/FhirServerConfigCommon.java

Co-authored-by: James Agnew <jamesagnew@gmail.com>

* Apply spotless style checks

---------

Co-authored-by: James Agnew <jamesagnew@gmail.com>
2025-06-08 11:40:26 +02:00
Saurav Sharma
e29dc540e3 feat: add support to enable search index full text (#828)
Signed-off-by: Saurav Sharma <appdroiddeveloper@gmail.com>
2025-06-08 11:38:52 +02:00
James Agnew
d972a2a2f3 Add index storage optimized 2025-06-06 09:23:02 +02:00
James Agnew
f31a7743c3 Spotless 2025-06-06 08:50:50 +02:00
James Agnew
d0aa399c75 Add additional options 2025-06-06 08:49:47 +02:00
James Agnew
b695610178 Add test 2025-06-02 18:03:26 +02:00
James Agnew
9ecffeda11 Improve dialect handling 2025-06-02 17:55:05 +02:00
Jens Kristian Villadsen
ba0589ce77 Moved terminology config out of being R4 specific. It now applies to all versions (#822) 2025-05-13 15:39:09 +02:00
Jens Kristian Villadsen
f3ac024b3c Merge branch 'hapifhir:master' into feat/remote-terminology-support 2025-05-07 10:36:04 +02:00
craig mcclendon
88ed318e76 process jpa properties set as env variables (#808)
* process jpa properties set as env variables

* Update src/main/java/ca/uhn/fhir/jpa/starter/util/EnvironmentHelper.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-06 20:14:58 +02:00
Jens Kristian Villadsen
0846e9dd9e Merge branch 'hapi-master' into feat/remote-terminology-support 2025-05-01 13:12:20 +02:00
Patrick Werner
7e7fa447ba Merge pull request #801 from hapifhir/improve-default-partitioning
fix: set default value for request_tenant_partitioning_mode to true to support easy default partitioning
2025-04-30 10:46:40 +02:00
Jens Kristian Villadsen
eb9081e01d Merge branch 'hapi-master' into feat/remote-terminology-support 2025-04-29 10:03:35 +02:00
Adam Stevenson
2bfda345dc Fixed bug in setting of jpaStorageSettings that cause PreExpandValueSetsDefaultCount to always get the default value (#803) 2025-04-19 11:32:09 +02:00
Patrick Werner
e9a1ddfeac fix: set default value for request_tenant_partitioning_mode to true to support easy default partitioning 2025-04-16 14:54:43 +02:00
Brenin Rhodes
5ba6ab133e Remove use of version specific model 2025-04-04 11:22:02 -06:00
Jens Kristian Villadsen
00a10777f6 Add test so verify hybrid 2025-03-31 23:17:29 +02:00
Jens Kristian Villadsen
5c9f88e1cf Adding support for '*' cornercase 2025-03-19 23:51:21 +01:00
Brenin Rhodes
40c3745ad2 update to new service class 2025-03-19 06:52:42 -06:00
Brenin Rhodes
9a2d3d31d7 spotless 2025-03-19 06:52:42 -06:00
Brenin Rhodes
f64f1beba6 fix config 2025-03-19 06:52:42 -06:00
Luke deGruchy
49f47db115 Try to fix injection errors. 2025-03-19 06:52:42 -06:00
Luke deGruchy
8147c4ea4b Everything compiles but there are still injection errors. 2025-03-19 06:52:42 -06:00
Jens Kristian Villadsen
9cf166e765 Added support for hybrid remote terminology 2025-03-19 13:46:51 +01:00
Adam Stevenson
5dacdd1795 Fixed expansion configuration options bugs (#793)
* Fix for logging of pre-expansion and expansion configuration reporting the wrong value

* Fixed a typo in the enable_task_pre_expand_value_sets property setter

* Fixed code formatting issues identified by spotless
2025-03-15 16:25:38 +01:00
craig mcclendon
8e7cb0e0a1 registered diff provider (#791)
* registered  provider

* spotless fix
2025-03-13 15:34:28 +01:00
Yoann Isaac
ec6b12e864 Externalizes more subscription parameters (#783)
* Externalizes more subscription parameters

Allows :
- to parametrize the polling interval of subscription
- to enable the setting to queue the subscription jobs immediately.

Following the change in hapifhir/hapi-fhir/pull/6395

* Fix formatting
2025-03-02 23:13:31 +01:00
Adam Stevenson
710d9fc998 Expose expansion properties as configuration 2025-02-27 09:57:59 -07:00
James Agnew
c3f7ef3845 Spotless 2025-02-12 13:59:50 -05:00
James Agnew
3cdd23368a Test fix 2025-02-12 13:58:42 -05:00
James Agnew
509d5ffce0 Add support for Database Partition Mode 2025-02-12 10:54:38 -05:00
dotasek
92600c49ab Merge remote-tracking branch 'origin/master' into rel_7_8_tracking 2024-12-13 13:06:03 -05:00
craig mcclendon
b58264fd9d added debug out to assist troubleshooting custom interceptor/provider registration issues 2024-12-06 12:20:55 -06:00