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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user