Commit Graph

117 Commits

Author SHA1 Message Date
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
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
jmarchionatto
f8d749ae28 Tracking Hapi 6.2-PRE releases (#408)
* Tracking branch for 6.1 pre-releases.

* Update to 6.1.0-PRE3-SNAPSHOT

* Adjust for hapi-fhir namespace changes and version

* Adjust version to include new hapi-fhir HSearch fast path feature

* Bump hapi PRE

* Update to PRE16

* Adjust configuration class name to HAPI-FHIR HSearch namespace consolidation.
Add commented out sample properties for lucene and elastic.
Move batch.job.enabled property under spring: prefix to have it considered.

* Adjust enumeration renaming

* Repoint FHIR 6.2.0-PRE1-SNAPSHOT

* Add missing Bean to starter configuration

* Update to hapi-fhir 6.2.0-PRE2-SNAPSHOT

* Update application-integrationtest.yaml and rename it as application.yaml to make test configuration independent of prod.

* Update to hapi-fhir 6.2.0-PRE5-SNAPSHOT

* Update dep

* Bump version fix failures

* Remove dead import

* Fix up

* remove batch refs

Co-authored-by: Michael Buckley <michael.buckley@smilecdr.com>
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
Co-authored-by: Tadgh <garygrantgraham@gmail.com>
2022-11-12 14:16:38 +01:00
Jens Kristian Villadsen
43d50a0c71 Extract IG loading (#426) 2022-09-13 18:54:14 +02:00
Jens Kristian Villadsen
d660d5f76d Feat/restructuring (#422)
* Did restructuring and made repo validation interceptor an optional bean instead as it makes it more clean

* Moved construction of FHIR servlet into a bean for better reuse of others that would like to depend directly on this library

* Disabled default validation enabled
2022-09-10 21:14:01 +02:00
Tadgh
2a71578516 Merge branch 'master' into rel_6_0_0_mergeback 2022-05-19 10:43:51 -07:00
Tadgh
12ea07b460 make lastN test pass 2022-05-16 15:45:49 -07:00
Jaison Baskaran
87585ec7cc hibernate search application properties updates. 2022-05-16 16:18:30 -06:00
Tadgh
ffd0cb1a4f Bump ES version 2022-05-16 14:26:52 -07:00
dotasek
bb21ccfe90 Fix comments in Demo that lead to 404 (#348)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-04-11 17:47:09 +02:00
Jaison B
528d2bc087 Add configuration flag to enable storing of resources in lucene index (#304)
* 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>
2022-01-05 15:02:57 -07:00
Tadgh
f3ea6803da Add broken test 2021-09-09 14:41:38 -04:00
Tadgh
e26364670d Remove bean override 2021-08-28 18:52:41 -04:00