* 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
31 lines
1.1 KiB
YAML
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
|