Files
hapi-fhir-jpaserver-starter/src/test/resources/test-postgres-lucene.yaml
darth.cav 58c9656242 Add TestContainerHelper for simplified integration testing (#910)
* Add TestContainerHelper for PostgreSQL and Elasticsearch integration testing

* Add configuration files for Elasticsearch and PostgreSQL integration testing

* Refactor integration tests to utilize TestContainerHelper for PostgreSQL and Elasticsearch
2026-01-29 11:52:38 +01:00

31 lines
1.1 KiB
YAML

hapi:
fhir:
fhir_version: r4
cr_enabled: false
advanced_lucene_indexing: true
store_resource_in_lucene_index_enabled: true
search_index_full_text_enabled: true
spring:
main:
allow-bean-definition-overriding: true
# PostgreSQL datasource properties - set dynamically by TestContainerHelper.registerPostgresProperties()
datasource:
url: # Set dynamically from PostgreSQLContainer
username: # Set dynamically from PostgreSQLContainer
password: # Set dynamically from PostgreSQLContainer
driver-class-name: # Set dynamically from PostgreSQLContainer
jpa:
properties:
hibernate:
# PostgreSQL dialect - set dynamically by TestContainerHelper.registerPostgresProperties()
dialect: # Set dynamically to ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgresDialect
search:
enabled: true
backend:
type: lucene
analysis:
configurer: ca.uhn.fhir.jpa.search.HapiHSearchAnalysisConfigurers$HapiLuceneAnalysisConfigurer
directory:
type: local-heap