Skip to content

Commit f637792

Browse files
committed
Merge branch 'main' into mp-rest-tests
2 parents 0fe1aa7 + 4d907ce commit f637792

File tree

72 files changed

+4445
-1235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+4445
-1235
lines changed

docs/changelog/126856.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 126856
2+
summary: "[ML] Integrate SageMaker with OpenAI Embeddings"
3+
area: Machine Learning
4+
type: enhancement
5+
issues: []

docs/changelog/127475.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 127475
2+
summary: Remove dangling spaces wherever found
3+
area: Security
4+
type: bug
5+
issues: []

gradle/verification-metadata.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4912,6 +4912,11 @@
49124912
<sha256 value="c83dd82a9d82ff8c7d2eb1bdb2ae9f9505b312dad9a6bf0b80bc0136653a3a24" origin="Generated by Gradle"/>
49134913
</artifact>
49144914
</component>
4915+
<component group="software.amazon.awssdk" name="sagemakerruntime" version="2.30.38">
4916+
<artifact name="sagemakerruntime-2.30.38.jar">
4917+
<sha256 value="b26ee73fa06d047eab9a174e49627972e646c0bbe909f479c18dbff193b561f5" origin="Generated by Gradle"/>
4918+
</artifact>
4919+
</component>
49154920
<component group="software.amazon.awssdk" name="sdk-core" version="2.30.38">
49164921
<artifact name="sdk-core-2.30.38.jar">
49174922
<sha256 value="556463b8c353408d93feab74719d141fcfda7fd3d7b7d1ad3a8a548b7cc2982d" origin="Generated by Gradle"/>

libs/x-content/src/main/java/org/elasticsearch/xcontent/ObjectParser.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,11 @@ private void throwExpectedStartObject(XContentParser parser, XContentParser.Toke
333333

334334
private static void throwMissingRequiredFields(List<String[]> requiredFields) {
335335
final StringBuilder message = new StringBuilder();
336-
for (String[] fields : requiredFields) {
337-
message.append("Required one of fields ").append(Arrays.toString(fields)).append(", but none were specified. ");
336+
for (int i = 0; i < requiredFields.size(); i++) {
337+
if (i > 0) {
338+
message.append(" ");
339+
}
340+
message.append("Required one of fields ").append(Arrays.toString(requiredFields.get(i))).append(", but none were specified.");
338341
}
339342
throw new IllegalArgumentException(message.toString());
340343
}

libs/x-content/src/test/java/org/elasticsearch/xcontent/ObjectParserTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ public void testMultipleRequiredFieldSet() throws IOException {
10041004
IllegalArgumentException e = expectThrows(IllegalArgumentException.class, () -> objectParser.apply(parser, null));
10051005
assertThat(
10061006
e.getMessage(),
1007-
equalTo("Required one of fields [a, b], but none were specified. " + "Required one of fields [c, d], but none were specified. ")
1007+
equalTo("Required one of fields [a, b], but none were specified. " + "Required one of fields [c, d], but none were specified.")
10081008
);
10091009
}
10101010

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,6 @@ tests:
429429
- class: org.elasticsearch.xpack.esql.qa.single_node.GenerativeIT
430430
method: test
431431
issue: https://github.com/elastic/elasticsearch/issues/127536
432-
- class: org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT
433-
method: test {union_types.MultiIndexSortIpStringEval ASYNC}
434-
issue: https://github.com/elastic/elasticsearch/issues/127537
435432
- class: org.elasticsearch.xpack.inference.action.filter.ShardBulkInferenceActionFilterIT
436433
method: testRestart {p0=false p1=false}
437434
issue: https://github.com/elastic/elasticsearch/issues/127592

qa/evil-tests/src/test/java/org/elasticsearch/bootstrap/EvilSecurityTests.java

Lines changed: 0 additions & 245 deletions
This file was deleted.

server/src/main/java/org/elasticsearch/TransportVersions.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ static TransportVersion def(int id) {
162162
public static final TransportVersion AMAZON_BEDROCK_TASK_SETTINGS_8_19 = def(8_841_0_17);
163163
public static final TransportVersion BATCHED_QUERY_PHASE_VERSION_BACKPORT_8_X = def(8_841_0_19);
164164
public static final TransportVersion SEARCH_INCREMENTAL_TOP_DOCS_NULL_BACKPORT_8_19 = def(8_841_0_20);
165+
public static final TransportVersion ML_INFERENCE_SAGEMAKER_8_19 = def(8_841_0_21);
165166
public static final TransportVersion V_9_0_0 = def(9_000_0_09);
166167
public static final TransportVersion INITIAL_ELASTICSEARCH_9_0_1 = def(9_000_0_10);
167168
public static final TransportVersion COHERE_BIT_EMBEDDING_TYPE_SUPPORT_ADDED = def(9_001_0_00);
@@ -232,6 +233,7 @@ static TransportVersion def(int id) {
232233
public static final TransportVersion PROJECT_METADATA_SETTINGS = def(9_066_00_0);
233234
public static final TransportVersion AGGREGATE_METRIC_DOUBLE_BLOCK = def(9_067_00_0);
234235
public static final TransportVersion PINNED_RETRIEVER = def(9_068_0_00);
236+
public static final TransportVersion ML_INFERENCE_SAGEMAKER = def(9_069_0_00);
235237

236238
/*
237239
* STOP! READ THIS FIRST! No, really,

0 commit comments

Comments
 (0)