Commit Graph

92 Commits

Author SHA1 Message Date
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
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
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
jkv
09a5a5758c Allowed overriding of Reindex bean for now 2021-08-26 21:47:18 +02:00
jkv
eec1ab8649 Revert "Renamed according to convention"
This reverts commit d94aa8ba3b.
2021-08-26 20:57:23 +02:00
jvi
d94aa8ba3b Renamed according to convention 2021-08-25 19:43:18 +02:00
Levi
f33719ff25 Affected Issue(s): Fix failing test
What this commit has achieved:
1. Revert formatting of imports and config properties declaration
2021-08-25 16:46:18 +02:00
Levi
c83e196f96 Affected Issue(s): Fix failing test
What this commit has achieved:
1. Fixed failing tests in `ExampleServerR4IT` due to:
```
org.awaitility.core.ConditionTimeoutException: Condition with ca.uhn.fhir.jpa.starter.ExampleServerR4IT was not fulfilled within 10 seconds.
```
default await time from Awaitility is 10 seconds
2. Added entries in `.gitignore` related to STS IDE
2021-08-25 16:46:18 +02:00
jamesagnew
415f2461e8 Compile fixes 2021-05-19 08:45:03 -04:00
Frank Tao
da326875dd Prepare for R5.4 2021-03-13 21:49:50 -05:00
Tadgh
f86391800b Update mdm test 2021-02-17 15:34:39 -05:00
Tadgh
9fef4fe1eb Rework MDM tests 2021-02-17 15:05:49 -05:00
Tadgh
6d5ee3036d Fix broken test and loading 2021-02-17 14:22:52 -05:00
Kevin Dougan
5828fb666a Fixed a Unit Test. 2021-02-16 12:21:14 -05:00
Kevin Dougan
e5862422f3 Added back the await() step to ensure the getPatients() call returns 2 Patients. 2021-02-08 11:02:04 -05:00
Kevin Dougan
c0e95593bd Added some extra logging to the ExampleServerR4IT test to see if I can debug what's going on when it runs on the CI Build Server. 2021-02-05 11:56:01 -05:00
Kevin Dougan
8c45a5d482 Merged Branch rel_5_3_0 into this Branch. 2021-02-04 11:38:33 -05:00
Tadgh
aa467a71a7 try tests again 2021-01-07 11:37:34 -05:00
Tadgh
ad9be77d2a wip 2021-01-07 09:26:09 -05:00
Kevin Dougan
3954f6a3f4 Merged the rel_5_3_0 branch into this Branch to pick up the MDM changes. 2021-01-07 09:12:52 -05:00
Tadgh
99f92965c1 fix for tests 2021-01-06 21:45:17 -05:00
Tadgh
4be7d41948 UPdate to support new HS6 changes 2021-01-06 18:27:50 -05:00
jamesagnew
803f713be6 Add repository validating interceptor, and update for EMPI->MDM rename 2021-01-01 16:06:18 -05:00
Kevin Dougan
29b5182493 Fixed a test for EXM130 by upgrading the input bundle. 2020-12-24 12:59:07 -05:00
Kevin Dougan
468df6b547 Added a test for EXM349. 2020-12-24 12:31:10 -05:00
Kevin Dougan
9becb3fc44 Remove all traces of EMPI since it has been replaced in master with MDM. 2020-12-24 09:31:30 -05:00
Kevin Dougan
f23553e2ea Cleaned up some tests - more work to do to get some additional tests working in R4. 2020-12-23 16:36:38 -05:00
Kevin Dougan
ebe7e99c37 Merge branch 'master' into kbd-20201125-cql-initial-impl 2020-12-15 15:32:07 -05:00