Skip to content

Commit

Permalink
Updated Elasticsearch REST client to 7.12.0. #42
Browse files Browse the repository at this point in the history
  • Loading branch information
essiembre committed Apr 18, 2021
1 parent 4b108ef commit 3b08170
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGES.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
Added back "typeName" support for backward compatibility with older
versions of Elasticsearch (lower than 7.0).
</action>
<action dev="essiembre" type="update">
Maven dependency updates: Elasticsearch REST client 7.12.0.
</action>
</release>

<release version="5.0.0-M1" date="2021-03-01" description="Feature release">
Expand Down
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
<description>Elasticsearch implementation of Norconex Committer.</description>

<properties>
<elasticsearch.version>7.8.1</elasticsearch.version>
<elasticsearch.version>7.12.0</elasticsearch.version>
<testcontainers.version>1.15.2</testcontainers.version>
</properties>
<inceptionYear>2013</inceptionYear>

Expand Down Expand Up @@ -69,13 +70,13 @@
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>1.14.3</version>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>elasticsearch</artifactId>
<version>1.14.3</version>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ElasticsearchCommitterTest {
private static final Logger LOG = LoggerFactory.getLogger(
ElasticsearchCommitterTest.class);

private static final String TEST_ES_VERSION = "7.8.1";
private static final String TEST_ES_VERSION = "7.12.0";
private static final String TEST_INDEX = "tests";
private static final String TEST_ID = "1";
private static final String TEST_CONTENT = "This is test content.";
Expand All @@ -78,10 +78,9 @@ class ElasticsearchCommitterTest {

@Container
static ElasticsearchContainer container = new ElasticsearchContainer(
new DockerImageName(
"docker.elastic.co/elasticsearch/elasticsearch",
TEST_ES_VERSION).toString());

DockerImageName.parse(
"docker.elastic.co/elasticsearch/elasticsearch")
.withTag(TEST_ES_VERSION));

private static RestClient restClient;

Expand Down

0 comments on commit 3b08170

Please sign in to comment.