Commit Graph

150 Commits

Author SHA1 Message Date
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
dotasek
f1765a314f Rename plain_server.rest to plain_server.http 2023-05-09 16:26:31 -04: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
Mark Iantorno
e9ff226750 Update src/test/smoketest/SMOKE_TEST.md
Co-authored-by: Ken Stevens <khstevens@gmail.com>
2022-05-25 12:55:41 -04:00
Mark Iantorno
788015f467 Update src/test/smoketest/SMOKE_TEST.md
Co-authored-by: Ken Stevens <khstevens@gmail.com>
2022-05-25 12:55:22 -04:00
Mark Iantorno
b71880e39e Update src/test/smoketest/SMOKE_TEST.md
Co-authored-by: Ken Stevens <khstevens@gmail.com>
2022-05-25 12:55:16 -04:00
markiantorno
8d6247bfe8 wip 2022-05-24 19:20:13 -04:00
markiantorno
067c7f16c4 adding base documentation 2022-05-24 19:18:07 -04:00
markiantorno
9882a1cd58 adding smoke test files 2022-05-24 17:37:45 -04: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
Michael Buckley
2512616951 Merge branch 'master' into nih-testing
* master:
  Update application.yaml
  Bumped version of Spring Boot in order to fix same issue as https://github.com/Haulmont/jmix-security/issues/90
  Upgraded to 5.6.0 Subscription tests fail ...
  Added OpenAPI / Swagger option
  simplified helm chart
  build ARM-compatible images
  bumped dependencies to latest
  only push build images to DockerHub
  Adds ability to change HAPI FHIR JPA server's port with the environment variable server.port
  Adds ability to control the number of executor threads through environment variables server.tomcat.max-threads and server.tomcat.min-spare-threads.  There is not a breaking change and does not affect the function of the JPA server unless these environment variables are set.
  Adds ability to use delete-expunge operations to the JPA Starter Server.

# Conflicts:
#	pom.xml
#	src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java
#	src/main/java/ca/uhn/fhir/jpa/starter/Application.java
#	src/main/java/ca/uhn/fhir/jpa/starter/EnvironmentHelper.java
#	src/main/java/ca/uhn/fhir/jpa/starter/FhirServerConfigCommon.java
#	src/main/java/ca/uhn/fhir/jpa/starter/FhirServerConfigDstu2.java
#	src/main/java/ca/uhn/fhir/jpa/starter/FhirServerConfigDstu3.java
#	src/main/java/ca/uhn/fhir/jpa/starter/FhirServerConfigR4.java
#	src/main/java/ca/uhn/fhir/jpa/starter/FhirServerConfigR5.java
2021-12-09 14:53:03 -05:00
Michael Buckley
097db1642f Add local_base_urls configuration to feed DaoConfig.setTreatBaseUrlsAsLocal() 2021-10-07 15:14:06 -04:00
Ben Li-Sauerwine
15923edfd5 Adds ability to use delete-expunge operations to the JPA Starter Server. 2021-09-09 23:00:59 +02: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