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
This commit is contained in:
darth.cav
2026-01-29 11:52:38 +01:00
committed by GitHub
parent b81e2abe81
commit 58c9656242
7 changed files with 257 additions and 144 deletions

View File

@@ -9,9 +9,17 @@ hapi:
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: