Skip to content

Commit 1ca7601

Browse files
authored
Merge branch '9.0' into backport/9.0/pr-117152
2 parents c4a331a + e39f80b commit 1ca7601

File tree

91 files changed

+1098
-337
lines changed

Some content is hidden

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

91 files changed

+1098
-337
lines changed

build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RestrictedBuildApiService.java

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,7 @@ private static ListMultimap<Class<?>, String> createLegacyRestTestBasePluginUsag
2929
ListMultimap<Class<?>, String> map = ArrayListMultimap.create(1, 200);
3030
map.put(LegacyRestTestBasePlugin.class, ":docs");
3131
map.put(LegacyRestTestBasePlugin.class, ":distribution:docker");
32-
map.put(LegacyRestTestBasePlugin.class, ":modules:lang-expression");
33-
map.put(LegacyRestTestBasePlugin.class, ":modules:lang-mustache");
34-
map.put(LegacyRestTestBasePlugin.class, ":modules:mapper-extras");
35-
map.put(LegacyRestTestBasePlugin.class, ":modules:parent-join");
36-
map.put(LegacyRestTestBasePlugin.class, ":modules:percolator");
37-
map.put(LegacyRestTestBasePlugin.class, ":modules:rank-eval");
3832
map.put(LegacyRestTestBasePlugin.class, ":modules:reindex");
39-
map.put(LegacyRestTestBasePlugin.class, ":modules:repository-url");
40-
map.put(LegacyRestTestBasePlugin.class, ":modules:transport-netty4");
41-
map.put(LegacyRestTestBasePlugin.class, ":plugins:analysis-icu");
42-
map.put(LegacyRestTestBasePlugin.class, ":plugins:analysis-kuromoji");
43-
map.put(LegacyRestTestBasePlugin.class, ":plugins:analysis-nori");
44-
map.put(LegacyRestTestBasePlugin.class, ":plugins:analysis-phonetic");
45-
map.put(LegacyRestTestBasePlugin.class, ":plugins:analysis-smartcn");
46-
map.put(LegacyRestTestBasePlugin.class, ":plugins:analysis-stempel");
47-
map.put(LegacyRestTestBasePlugin.class, ":plugins:analysis-ukrainian");
48-
map.put(LegacyRestTestBasePlugin.class, ":plugins:discovery-azure-classic");
49-
map.put(LegacyRestTestBasePlugin.class, ":plugins:discovery-ec2");
50-
map.put(LegacyRestTestBasePlugin.class, ":plugins:discovery-gce");
51-
map.put(LegacyRestTestBasePlugin.class, ":plugins:mapper-annotated-text");
52-
map.put(LegacyRestTestBasePlugin.class, ":plugins:store-smb");
5333
map.put(LegacyRestTestBasePlugin.class, ":qa:ccs-rolling-upgrade-remote-cluster");
5434
map.put(LegacyRestTestBasePlugin.class, ":qa:mixed-cluster");
5535
map.put(LegacyRestTestBasePlugin.class, ":qa:multi-cluster-search");
@@ -61,12 +41,6 @@ private static ListMultimap<Class<?>, String> createLegacyRestTestBasePluginUsag
6141
map.put(LegacyRestTestBasePlugin.class, ":qa:smoke-test-ingest-with-all-dependencies");
6242
map.put(LegacyRestTestBasePlugin.class, ":qa:smoke-test-plugins");
6343
map.put(LegacyRestTestBasePlugin.class, ":qa:system-indices");
64-
map.put(LegacyRestTestBasePlugin.class, ":test:external-modules:test-apm-integration");
65-
map.put(LegacyRestTestBasePlugin.class, ":test:external-modules:test-delayed-aggs");
66-
map.put(LegacyRestTestBasePlugin.class, ":test:external-modules:test-die-with-dignity");
67-
map.put(LegacyRestTestBasePlugin.class, ":test:external-modules:test-error-query");
68-
map.put(LegacyRestTestBasePlugin.class, ":test:external-modules:test-latency-simulating-directory");
69-
map.put(LegacyRestTestBasePlugin.class, ":test:yaml-rest-runner");
7044
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:core");
7145
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:ent-search");
7246
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:fleet");
@@ -85,8 +59,6 @@ private static ListMultimap<Class<?>, String> createLegacyRestTestBasePluginUsag
8559
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:smoke-test-plugins-ssl");
8660
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:smoke-test-security-with-mustache");
8761
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:xpack-prefix-rest-compat");
88-
map.put(LegacyRestTestBasePlugin.class, ":modules:ingest-geoip:qa:file-based-update");
89-
map.put(LegacyRestTestBasePlugin.class, ":plugins:discovery-gce:qa:gce");
9062
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:multi-cluster-search-security:legacy-with-basic-license");
9163
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:multi-cluster-search-security:legacy-with-full-license");
9264
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:multi-cluster-search-security:legacy-with-restricted-trust");

build-tools/src/main/java/org/elasticsearch/gradle/plugin/BasePluginBuildPlugin.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public class BasePluginBuildPlugin implements Plugin<Project> {
5656
public static final String BUNDLE_PLUGIN_TASK_NAME = "bundlePlugin";
5757
public static final String EXPLODED_BUNDLE_PLUGIN_TASK_NAME = "explodedBundlePlugin";
5858
public static final String EXPLODED_BUNDLE_CONFIG = "explodedBundleZip";
59+
public static final Attribute<Boolean> EXPLODED_PLUGIN_BUNDLE_ATTRIBUTE = Attribute.of("exploded-plugin-bundle", Boolean.class);
5960

6061
protected final ProviderFactory providerFactory;
6162

@@ -170,6 +171,7 @@ private TaskProvider<Zip> createBundleTasks(final Project project, PluginPropert
170171
explodedBundleZip.setCanBeResolved(false);
171172
explodedBundleZip.setCanBeConsumed(true);
172173
explodedBundleZip.getAttributes().attribute(ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE, ArtifactTypeDefinition.DIRECTORY_TYPE);
174+
explodedBundleZip.getAttributes().attribute(EXPLODED_PLUGIN_BUNDLE_ATTRIBUTE, true);
173175
project.getArtifacts().add(EXPLODED_BUNDLE_CONFIG, explodedBundle);
174176
return bundle;
175177
}

docs/changelog/124048.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 124048
2+
summary: Handle long overflow in dates
3+
area: Search
4+
type: bug
5+
issues:
6+
- 112483

docs/changelog/125636.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 125636
2+
summary: Make `numberOfChannels` consistent with layout map by removing duplicated
3+
`ChannelSet`
4+
area: ES|QL
5+
type: bug
6+
issues: []

docs/changelog/125650.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pr: 125650
2+
summary: Load `FieldInfos` from store if not yet initialised through a refresh on
3+
`IndexShard`
4+
area: Search
5+
type: bug
6+
issues:
7+
- 125483

docs/changelog/125716.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 125716
2+
summary: Return appropriate error on null dims update instead of npe
3+
area: Vector Search
4+
type: bug
5+
issues: []

docs/docset.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ cross_links:
2121
- go-elasticsearch
2222
- kibana
2323
- logstash
24+
- logstash-docs-md
2425
toc:
2526
- toc: reference/elasticsearch
2627
- toc: reference/community-contributed

docs/reference/elasticsearch-plugins/integrations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ Integrations are not plugins, but are external tools or modules that make it eas
2020

2121
### Supported by Elastic: [_supported_by_elastic]
2222

23-
* [Logstash output to Elasticsearch](logstash://reference/plugins-outputs-elasticsearch.md): The Logstash `elasticsearch` output plugin.
24-
* [Elasticsearch input to Logstash](logstash://reference/plugins-inputs-elasticsearch.md) The Logstash `elasticsearch` input plugin.
25-
* [Elasticsearch event filtering in Logstash](logstash://reference/plugins-filters-elasticsearch.md) The Logstash `elasticsearch` filter plugin.
26-
* [Elasticsearch bulk codec](logstash://reference/plugins-codecs-es_bulk.md) The Logstash `es_bulk` plugin decodes the Elasticsearch bulk format into individual events.
23+
* [Logstash output to Elasticsearch](logstash-docs-md://lsr//plugins-outputs-elasticsearch.md): The Logstash `elasticsearch` output plugin.
24+
* [Elasticsearch input to Logstash](logstash-docs-md://lsr/plugins-inputs-elasticsearch.md) The Logstash `elasticsearch` input plugin.
25+
* [Elasticsearch event filtering in Logstash](logstash-docs-md://lsr/plugins-filters-elasticsearch.md) The Logstash `elasticsearch` filter plugin.
26+
* [Elasticsearch bulk codec](logstash-docs-md://lsr//plugins-codecs-es_bulk.md) The Logstash `es_bulk` plugin decodes the Elasticsearch bulk format into individual events.
2727

2828

2929
### Supported by the community: [_supported_by_the_community_2]

docs/reference/release-notes/9.0.0.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Also see <<breaking-changes-9.0,Breaking changes in 9.0>>.
1212
TLS::
1313
* Drop `TLS_RSA` cipher support for JDK 24 {es-pull}123600[#123600]
1414

15+
Infra/Core::
16+
* Update the response format when detailed error information is disabled {es-pull}90529[#90529]
17+
1518
[[bug-9.0.0]]
1619
[float]
1720
=== Bug fixes

modules/ingest-geoip/qa/file-based-update/build.gradle

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,8 @@
77
* License v3.0 only", or the "Server Side Public License, v 1".
88
*/
99

10-
apply plugin: 'elasticsearch.legacy-java-rest-test'
10+
apply plugin: 'elasticsearch.internal-java-rest-test'
1111

12-
testClusters.configureEach {
13-
testDistribution = 'DEFAULT'
14-
setting 'resource.reload.interval.high', '100ms'
15-
setting 'xpack.security.enabled', 'true'
16-
user username: 'admin', password: 'admin-password', role: 'superuser'
17-
}
18-
19-
tasks.named("javaRestTest").configure {
20-
systemProperty 'tests.security.manager', 'false' // Allows the test the add databases to config directory.
21-
nonInputProperties.systemProperty 'tests.config.dir', testClusters.named("javaRestTest").map(c -> c.singleNode().getConfigDir())
22-
}
23-
24-
tasks.named("forbiddenPatterns").configure {
25-
exclude '**/*.mmdb'
12+
dependencies {
13+
clusterModules project(':modules:ingest-geoip')
2614
}

0 commit comments

Comments
 (0)