From 4be7d41948cfe473542f13ace53a864a54df0421 Mon Sep 17 00:00:00 2001 From: Tadgh Date: Wed, 6 Jan 2021 18:27:50 -0500 Subject: [PATCH] UPdate to support new HS6 changes --- README.md | 3 +- pom.xml | 15 +++++++ .../fhir/jpa/starter/EnvironmentHelper.java | 45 ++++++++++++------- .../jpa/starter/FhirServerConfigCommon.java | 6 +-- .../fhir/jpa/starter/FhirServerConfigR4.java | 10 ++++- ...va => JpaHibernatePropertiesProvider.java} | 6 +-- .../jpa/starter/ElasticsearchLastNR4IT.java | 35 ++++++--------- 7 files changed, 75 insertions(+), 45 deletions(-) rename src/main/java/ca/uhn/fhir/jpa/starter/{JpaHibernateDialectProvider.java => JpaHibernatePropertiesProvider.java} (78%) diff --git a/README.md b/README.md index 4d1b251..f26e02c 100644 --- a/README.md +++ b/README.md @@ -328,9 +328,10 @@ For example: ```properties elasticsearch.enabled=true -elasticsearch.rest_url=http://localhost:9200 +elasticsearch.rest_url=localhost:9200 elasticsearch.username=SomeUsername elasticsearch.password=SomePassword +elasticsearch.protocol=http elasticsearch.required_index_status=YELLOW elasticsearch.schema_management_strategy=CREATE ``` diff --git a/pom.xml b/pom.xml index 9dbdcf1..2efc2df 100644 --- a/pom.xml +++ b/pom.xml @@ -233,6 +233,21 @@ jetty-webapp test + + org.testcontainers + testcontainers + test + + + org.testcontainers + elasticsearch + test + + + org.testcontainers + junit-jupiter + test +