Commit Graph

32 Commits

Author SHA1 Message Date
darth.cav
b81e2abe81 Add Elasticsearch index prefix configuration (#891)
* Add Elasticsearch configuration section to application.yaml

* Add configuration for reindexing resources upon search parameter change

* Add Elasticsearch client configuration for testing

* Update logback dependencies because of a security issue and enable resource filtering in pom.xml

* Add application name and tester configuration to application.yaml. Refactor hibernate properties

* Add custom Elasticsearch configuration to create ElasticsearchClient bean

* Add index prefix configuration for Elasticsearch indices

* Fix Elasticsearch URI format in test initialization

* Refactor ElasticsearchConfig for improved readability and code style consistency (spotless:apply)

* Refactor ElasticsearchConfig for improved readability and code style consistency (spotless:apply)

* Update index prefix in application.yaml for Elasticsearch configuration

* Enhance index prefix validation and add sanitization method for Elasticsearch index names

* Merged with master in upstream

* Refactor ElasticsearchBootSvcImpl and ElasticsearchConfig for improved readability (mvn spotless)

* Comment out custom_content_path in application.yaml for clarity

* - Refactor application.yaml for improved structure and readability;
- Add PostgresLucenePatientIT integration test; and
- Update testcontainers dependencies to avoid compatibility issues with newer Docker APIs.

* Refactor PostgresLucenePatientIT to use external configuration file for test properties

* Add integration tests for PostgreSQL and Elasticsearch with dynamic configuration

* Increase socket timeout in CdsHooksServletIT for improved stability during tests

* Remove deprecated tester configuration from application.yaml
2026-01-20 15:32:24 +01:00
craig mcclendon
9512ce1ddf enable the test profile in unit tests (#882) 2025-11-16 14:02:02 +01:00
Jens Kristian Villadsen
9576cfa9b5 Feature/elastic on boot (#856)
* Fixing up elastic for Spring Boot

* Adding class shadowing for issue reported on https://github.com/hapifhir/hapi-fhir/pull/7242

* Formatting

* corrected condition

* fix import

* fix2

* crappy fix3

* fix actuator endpoint

* Simplified expression

* Ironed out a few legacy issues

* more rework

* major overhaul

* Disabling invalid test

* Reverting back to defaults for text searches

* Added default hibernate settings from the EnvironmentHelper

* Formatting

* Added comment on class shadow

* Added missing default
2025-09-22 23:41:43 +02:00
winfriedgerlach
8224cae131 some cleanup (#840)
* 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
2025-08-19 20:00:34 +02:00
Saurav Sharma
e29dc540e3 feat: add support to enable search index full text (#828)
Signed-off-by: Saurav Sharma <appdroiddeveloper@gmail.com>
2025-06-08 11:38:52 +02: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
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
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
dotasek
ce0d7d43d2 Fix ExampleServerR4IT, restrict config to specific tests 2023-10-12 10:53:46 -04:00
Justin McKelvy
4ac5f03a0d merge master 2023-09-18 18:41:34 -06:00
dotasek
7265b115dd Leave comment in case of updates 2023-08-10 12:55:30 -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
justin.mckelvy
e97788dab3 update integration tests and appproperties 2023-06-11 14:20:30 -06: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
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
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
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
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
Frank Tao
da326875dd Prepare for R5.4 2021-03-13 21:49:50 -05:00
Tadgh
6d5ee3036d Fix broken test and loading 2021-02-17 14:22:52 -05:00
Tadgh
4be7d41948 UPdate to support new HS6 changes 2021-01-06 18:27:50 -05:00
ianmarshall
2e2bdaed67 Added support for $lastn operation and fixed Elasticsearch indexing. 2020-12-04 15:50:43 -05:00