Merge branch 'stable-2.16'
* stable-2.16: ElasticV6QueryProjectsTest: Use V6_7 Elasticsearch: Update elasticsearch-rest-client to 7.0.0 Change-Id: Ib138e90c2a5f01fb09fa4de023369d89da121a05
This commit is contained in:
12
WORKSPACE
12
WORKSPACE
@@ -829,15 +829,15 @@ maven_jar(
|
|||||||
# elasticsearch-rest-client explicitly depends on this version
|
# elasticsearch-rest-client explicitly depends on this version
|
||||||
maven_jar(
|
maven_jar(
|
||||||
name = "httpasyncclient",
|
name = "httpasyncclient",
|
||||||
artifact = "org.apache.httpcomponents:httpasyncclient:4.1.2",
|
artifact = "org.apache.httpcomponents:httpasyncclient:4.1.4",
|
||||||
sha1 = "95aa3e6fb520191a0970a73cf09f62948ee614be",
|
sha1 = "f3a3240681faae3fa46b573a4c7e50cec9db0d86",
|
||||||
)
|
)
|
||||||
|
|
||||||
# elasticsearch-rest-client explicitly depends on this version
|
# elasticsearch-rest-client explicitly depends on this version
|
||||||
maven_jar(
|
maven_jar(
|
||||||
name = "httpcore-nio",
|
name = "httpcore-nio",
|
||||||
artifact = "org.apache.httpcomponents:httpcore-nio:4.4.5",
|
artifact = "org.apache.httpcomponents:httpcore-nio:4.4.11",
|
||||||
sha1 = "f4be009e7505f6ceddf21e7960c759f413f15056",
|
sha1 = "7d0a97d01d39cff9aa3e6db81f21fddb2435f4e6",
|
||||||
)
|
)
|
||||||
|
|
||||||
# Test-only dependencies below.
|
# Test-only dependencies below.
|
||||||
@@ -1059,8 +1059,8 @@ maven_jar(
|
|||||||
# and httpasyncclient as necessary.
|
# and httpasyncclient as necessary.
|
||||||
maven_jar(
|
maven_jar(
|
||||||
name = "elasticsearch-rest-client",
|
name = "elasticsearch-rest-client",
|
||||||
artifact = "org.elasticsearch.client:elasticsearch-rest-client:6.7.1",
|
artifact = "org.elasticsearch.client:elasticsearch-rest-client:7.0.0",
|
||||||
sha1 = "a00aa6cc593a464e4a890d1a226ded5c625659ab",
|
sha1 = "121d12f1c71f318be1a654e8a956e38d5b68e98a",
|
||||||
)
|
)
|
||||||
|
|
||||||
JACKSON_VERSION = "2.9.8"
|
JACKSON_VERSION = "2.9.8"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ public class ElasticContainer extends ElasticsearchContainer {
|
|||||||
case V6_7:
|
case V6_7:
|
||||||
return "docker.elastic.co/elasticsearch/elasticsearch-oss:6.7.1";
|
return "docker.elastic.co/elasticsearch/elasticsearch-oss:6.7.1";
|
||||||
case V7_0:
|
case V7_0:
|
||||||
return "docker.elastic.co/elasticsearch/elasticsearch-oss:7.0.0-rc2";
|
return "docker.elastic.co/elasticsearch/elasticsearch-oss:7.0.0";
|
||||||
}
|
}
|
||||||
throw new IllegalStateException("No tests for version: " + version.name());
|
throw new IllegalStateException("No tests for version: " + version.name());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public class ElasticV6QueryProjectsTest extends AbstractQueryProjectsTest {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
container = ElasticContainer.createAndStart(ElasticVersion.V6_2);
|
container = ElasticContainer.createAndStart(ElasticVersion.V6_7);
|
||||||
nodeInfo = new ElasticNodeInfo(container.getHttpHost().getPort());
|
nodeInfo = new ElasticNodeInfo(container.getHttpHost().getPort());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user