Commit Graph

128 Commits

Author SHA1 Message Date
dotasek
8ef1d4669c Merge remote-tracking branch 'origin/master' into rel_7_8_tracking 2025-02-11 10:51:05 -05:00
Joel Schneider
e7cc34d789 use URI constructor instead of string concatenation, to avoid having static code analysis tool complain about "Concatenating user-controlled input into a URL" security issue 2025-01-27 10:06:21 -06:00
dotasek
b3761a499e Bump parent version + fix CQL test
See diff in https://github.com/cqframework/clinical-reasoning/pull/579/files
2025-01-02 11:12:26 -05:00
dotasek
103fd012c0 Update to HAPI 7.6.0 (#731)
* Bump to HAPI 7.5.0-SNAPSHOT

* Bump to latest HAPI version + fix config

* Bump to latest HAPI version + fix CR config + spotless

* Bump parent version to 7.5.4-SNAPSHOT

* Update to HAPI Release 7.6.0

---------

Co-authored-by: Brenin Rhodes <brenin@alphora.com>
2024-11-22 18:58:31 +01:00
craig mcclendon
69fede99a4 add property to turn on userRequestRetryVersionConflictsInterceptor (#752) 2024-11-11 20:29:54 +01:00
craig mcclendon
85aab81237 add comments to explain non-intuitive logic in test 2024-10-31 12:27:33 -05:00
craig mcclendon
04de3e738f fix intermittent error with CDS test 2024-10-29 14:51:10 -05:00
Jens Kristian Villadsen
40e5b4c10d Feature/fixing prometheus (#745)
* Fixing prometheus so that it actually works. Also seems related to https://github.com/micrometer-metrics/micrometer/issues/5093

* cleaning up override

* Limiting exposure

* Added docs

* Added smoketest for prometheus endpoint

* Removing metrics and prometheus exposure by default

* Removing 'info'
Adding parameterized tests for endpoints

* Reintroduced 'info'

* Remove info

* Adjusted comment
2024-10-04 17:25:33 +02:00
dotasek
cb6fa7d4c8 Merge remote-tracking branch 'origin/master' into rel_7_3_tracking 2024-07-02 12:00:55 -04:00
Brenin Rhodes
6b98988c6f Update Clinical Reasoning plugin (#692)
* 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>
2024-06-30 12:14:35 +02:00
dotasek
db238aa9ec Fix subscription settings config in integration tests 2024-06-17 18:46:12 -04:00
dotasek
8f731a29ee WIP bump HAPI 2024-06-17 17:10:19 -04:00
David Conlan
4226648867 Allow custom operations/providers in addition to interceptors (#654)
* 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
2024-03-03 17:39:03 +01:00
Matteo Steccolini
d762c18765 requested changes: upgrade to hapi-fhir-7.0.0-SNAPSHOT, removed empty JpaStarterWebsocketDispatcherConfig and references
unrequested changes: commons-logging dependency marked provided (to avoid redundant jar inclusion), removed unused imports in classes that were modified
2024-01-25 08:53:29 +01:00
Matteo Steccolini
0a95e71cbc fixed integration test execution; tests are now done with tomcat, unless "jetty" profile is active (in which case they're done with jetty)
Test class JpaStarterWebsocketDispatcherConfig emptied, not sure if necessary (it's now missing jetty dependencies)
2024-01-03 15:12:38 +01:00
James Agnew
55e06699de Merge branch 'master' into ja_20231203_hapi_7_0 2023-12-15 09:42:24 -05:00
James Agnew
b746573253 Enable subscriptions and upgrade to jetty 12 2023-12-15 08:56:17 -05:00
Levi
41a537efb2 Affected Issue(s): #611 (#617)
* Affected Issue(s): #611

What this commit has achieved:
1. MDM requires an implementation of `INicknameSvc`, it was instantiated
in `NicknameServiceConfig`
The error message regarding this was:
```
APPLICATION FAILED TO START

Description:

Parameter 2 of method matcherFactory in
ca.uhn.fhir.jpa.mdm.config.MdmCommonConfig required a bean of type
'ca.uhn.fhir.jpa.nickname.INicknameSvc' that could not be found.

Action:

Consider defining a bean of type 'ca.uhn.fhir.jpa.nickname.INicknameSvc'
in your configuration.
```
2. MDM requires the subscription of type message
The error message regarding this was:
```
2023-12-01 11:34:03
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'mdmSubmitterInterceptorLoader': Invocation of init
method failed; nested exception is
ca.uhn.fhir.context.ConfigurationException: HAPI-2421: MDM requires
Message Subscriptions to be enabled in the Storage Settings
```

* Affected Issue(s): #611

What this commit has achieved:
1. Added Integration Test for future-proof
2023-12-04 21:07:51 +01:00
James Agnew
0133663fbc Update to HAPI FHIR 7.0.0 Draft 2023-12-03 14:23:05 -05:00
Justin McKelvy
23ef1d3c32 Merge branch 'master' into cr-6.9.6-snapshot 2023-11-22 12:39:19 -07:00
Justin McKelvy
0cf1ec8a7e removed basecr config due to spring errors 2023-11-21 15:30:44 -07:00
Brenin Rhodes
408da72cf4 Add settings for CDS Hooks and use latest hapi-fhir-cr configs 2023-10-19 06:50:29 -06:00
dotasek
0afe6ae050 Fix formatting 2023-10-12 16:01:12 -04:00
dotasek
ce0d7d43d2 Fix ExampleServerR4IT, restrict config to specific tests 2023-10-12 10:53:46 -04:00
dotasek
bcd10350fe Formatting 2023-10-12 10:27:27 -04:00
dotasek
4f6f3162f1 Fix ExampleServerDstu3IT 2023-10-12 10:03:16 -04:00
Justin McKelvy
4ac5f03a0d merge master 2023-09-18 18:41:34 -06:00
Justin McKelvy
1bb6e9e610 updating to latest hapi, fixing cr tests 2023-09-18 16:53:32 -06:00
dotasek
7265b115dd Leave comment in case of updates 2023-08-10 12:55:30 -04:00
dotasek
1907536d28 Fix one more failing IT config 2023-08-10 12:51:34 -04:00
dotasek
bdf593f151 Clean up code 2023-08-10 12:34:45 -04:00
Tadgh
f7853f5e19 Fix up test 2023-08-10 09:30:01 -07:00
dotasek
3c395e9dbe WIP try to expand default max_result_window 2023-08-10 12:08:57 -04:00
justin.mckelvy
8566f7f8ed updating to 6.7.14-snapshot 2023-07-17 11:07:32 -06:00
winne42
484aa9deb5 Boyscouting (#558)
* Boyscouting: Docker conventions

* Boyscouting: JUnit 5 conventions ("It is generally recommended to omit the public modifier for test classes, test methods, and lifecycle methods unless there is a technical reason for doing so)"

* Boyscouting: typo in RepositoryValidationInterceptorFactoryDstu3

* Boyscouting: use List.of instead of Guava; use StandardCharsets instead of Guava; remove unused imports

---------

Co-authored-by: Gerlach, Winfried <Winfried.Gerlach@draeger.com>
2023-07-11 23:53:18 +02:00
justin.mckelvy
26662c2476 configure caregaps operation and properties 2023-06-30 14:53:51 -06:00
justin.mckelvy
6fe8784860 add cql translator options 2023-06-15 13:14:48 -06:00
justin.mckelvy
27e250f930 add factory loader 2023-06-12 16:36:11 -06:00
justin.mckelvy
e97788dab3 update integration tests and appproperties 2023-06-11 14:20:30 -06:00
justin.mckelvy
f59ecd961a adding factories and beans for cr 2023-06-10 22:29:25 -06:00
dotasek
53a958ac66 Bump HAPI to release 6.6.0 (#539)
* Start tracking 6.5

* Use JpaStorageSettings and StorageSettings

* Bump parent pom version + add deps for jaxb

* Bump HAPI

* Fix Subscription/Topic resource creation

* fix subscription topic beans

* Change to rel_6_6 hapi-fhir SNAPSHOT

* Fix emailSender config

* Split method calls by line.

* Merge pull request #524 from hapifhir/do-20230509-smoke-test-ci

Create smoke-tests.yml

* Bump core to release 6.6.0

---------

Co-authored-by: Michael Buckley <michaelabuckley@gmail.com>
Co-authored-by: Kevin Dougan SmileCDR <72025369+KevinDougan-SmileCDR@users.noreply.github.com>
Co-authored-by: Ken Stevens <ken@smilecdr.com>
Co-authored-by: Mark Iantorno <markiantorno@gmail.com>
2023-05-29 20:33:45 +02:00
Panayiotis Savva
e905da7733 CQL to CR 2023-01-26 21:44:06 +01:00
James Agnew
ea3d858563 Fix tests for websocket 2023-01-11 16:30:12 -05:00
Luke deGruchy
38ed00a84b Implement a new solution: Instead of static code blocks disabling logging, rollback slf4j-api, logback-classic, and logback-core to older versions. It's the addition of the rollback for slf4j-api that seems to restore logging. 2023-01-10 16:53:57 -05:00
Luke deGruchy
76650df4dc First commit to restore hapi-fhir 6.3.6-SNAPSHOT changes. Add static code blocks to Application.java as well as all tests to System.setProperty("org.springframework.boot.logging.LoggingSystem", "none"); 2023-01-10 14:51:32 -05:00
Luke deGruchy
0c7e48cb4d Revert "Update pom.xml to reference hapi-fhir 6.3.6-SNAPSHOT. This hapi-fhir release contains a fix for POSTing an XML resource with comments results in a fhir_comments error (#465)" (#476)
This reverts commit 9a513cd184.
2023-01-10 20:14:52 +01:00
isims
d903ab9661 Remove old junit4 usage. 2023-01-10 11:21:21 +01:00
Luke deGruchy
9a513cd184 Update pom.xml to reference hapi-fhir 6.3.6-SNAPSHOT. This hapi-fhir release contains a fix for POSTing an XML resource with comments results in a fhir_comments error (#465)
* Update pom.xml to reference hapi-fhir 6.3.4-SNAPSHOT.  This also involves renaming websocket dependencies whose names have changed since 6.2.2 (ex websocket-api to websocket-jetty-api).

* Update pom to reference logback 1.2.10 explicitly to resolve the missing StaticLoggerBinder errors.

* Fix logback issue by pulling the same logback version as hapi-fhir and setting the following system property at boot: org.springframework.boot.logging.LoggingSystem=none.   Also, fix the hapi-fhir-jpaserver-base dependency error by setting this in application.yaml: allow-bean-definition-overriding: true

* Set allow-bean-definition-overriding: true on test application.yaml as well.

* Remove lines in ExampleServerR4BIT that causes an implementation guide version error.

* Upgrade to 6.3.6-SNAPSHOT and once again disable allow-bean-definition-overriding.  Also remove the Bean for IMdmLinkDoa from StartJpaConfig and the Bean for ITermCodeSystemStorageSvc in FhirServerConfigDstu2.

* Explicitly use logback 1.2.10 for both logback-classic and logback-core to resolve StaticBinderLogger not found errors.  Also, remove explici logger disabling code in Application.java.

* Restore Application.java as well as both application.yaml files to the same as master.
2023-01-05 22:56:01 +01:00
Craig McClendon
ba58a71624 allow interceptors to be registered via properties 2022-12-20 20:07:18 -06:00
Jens Kristian Villadsen
2e1f5f5276 fixes for support of R4B / 6.2.0 (#455) 2022-11-12 18:39:38 +01:00