- Updated Dockerfile to compile HealthCheck.java into the distroless image at /app
- Updated README with a "Docker Health Check" section documenting how to run the health check on-demand and how to enable periodic checks
- Also fixed Hibernate dialect override (SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT → HIBERNATE_DIALECT) to resolve DDL failures when starting with a fresh PostgreSQL database.
* 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>
* 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
* Reproducing issues with CR/HAPI cds-hooks processing
* Add new $questionnaire operation
* Update StarterIpsConfig.java
* Update pom.xml
* Fixes for configuration properties
* Update VS Code launch properties
* Fixes for CQL logging
* Update pom.xml
* Remove unused threaded option
* Update to 7.1.7
* Fix some CR defaults
* Update to new snapshot
* Update pom.xml
* Fix test settings
* Do not make prefetch calls if all items are present
* Add alternative application.yaml for CDS settings.
* Add CdsHook tests and documentation
* Comment out custom prefetch until it is more mature
* Removal of DataEndpoint parameter is not longer needed
* Fix debug logging setting being overwritten
* Revert change
* Remove unused class
* Adding Rec10 Test
* Disable test until fixed
* fix tests
---------
Co-authored-by: c-schuler <hoofschu@gmail.com>
Co-authored-by: Jonathan Percival <jonathan.i.percival@gmail.com>
* Allow custom operations/providers to be added in the same way custom interceptors are currently loaded
* Add new property to documentation and default yaml file
* Add test for custom operation
* Added IG operation providers for run time installation of IG's
* Refactored conditions for enabling the provider
* Refactoring
* Disable it by default in config as well
* document package install feature
---------
Co-authored-by: Jose Costa Teixeira <jose.a.teixeira@gmail.com>
Now it is possible to mount a folder with extra classes that are loaded
by HAPI. This makes it easy to load an interceptor JAR while using the
standard Docker image. The README explains how to use it.
Spring by default uses the WarLauncher. Now the ENTRYPOINT uses the
PropertiesLauncher, configured in such a way that it is compatible with
the WarLauncher, but adding the folder /app/extra-classes to the
loader.path.
When running from Docker Hub, it is not convenient to have to copy the full application.yaml as a starting point. Based on Spring's property initialization order, it's possible to mount a small version of application.yaml in the config folder in the run directory.
* Add configuration flag to enable storing of resources in lucene index
* Fix build issue
* Fix code review suggestions
Co-authored-by: Jaison B <jaison.baskaran@smilecdr.com>
According to the default application.yaml, it's `hapi.fhir.subscription.resthook_enabled` (with the underscore). I've tested this with the latest docker container and it works. Setting `hapi.fhir.subscription.resthook.enabled=true` does not enable subscriptions. I spent a lot of time breaking my head over this simple variable name. Hopefully, this will help someone.