diff --git a/docs/build.gradle b/docs/build.gradle index 49d24e9f7042d..6baf4b8ca835e 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -888,7 +888,7 @@ buildRestTests.setups['sensor_rollup_job'] = ''' type: keyword - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.put_job: id: sensor body: > @@ -973,7 +973,7 @@ buildRestTests.setups['sensor_started_rollup_job'] = ''' - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.put_job: id: sensor body: > @@ -1005,7 +1005,7 @@ buildRestTests.setups['sensor_started_rollup_job'] = ''' } - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.start_job: id: sensor ''' diff --git a/docs/reference/rollup/apis/delete-job.asciidoc b/docs/reference/rollup/apis/delete-job.asciidoc index 35237d6f23cda..ef1a8b465928f 100644 --- a/docs/reference/rollup/apis/delete-job.asciidoc +++ b/docs/reference/rollup/apis/delete-job.asciidoc @@ -86,7 +86,7 @@ If we have a rollup job named `sensor`, it can be deleted with: DELETE _rollup/job/sensor -------------------------------------------------- // TEST[setup:sensor_rollup_job] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] Which will return the response: diff --git a/docs/reference/rollup/apis/get-job.asciidoc b/docs/reference/rollup/apis/get-job.asciidoc index 28ae04c4eb8a0..b6a543deb450b 100644 --- a/docs/reference/rollup/apis/get-job.asciidoc +++ b/docs/reference/rollup/apis/get-job.asciidoc @@ -95,7 +95,7 @@ job can be retrieved with: GET _rollup/job/sensor -------------------------------------------------- // TEST[setup:sensor_rollup_job] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] The API yields the following response: @@ -199,7 +199,7 @@ PUT _rollup/job/sensor2 <1> GET _rollup/job/_all <2> -------------------------------------------------- // TEST[setup:sensor_rollup_job] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] <1> We create a second job with name `sensor2` <2> Then request all jobs by using `_all` in the GetJobs API diff --git a/docs/reference/rollup/apis/put-job.asciidoc b/docs/reference/rollup/apis/put-job.asciidoc index 6e726633f6eeb..ded1b1ba4fcaf 100644 --- a/docs/reference/rollup/apis/put-job.asciidoc +++ b/docs/reference/rollup/apis/put-job.asciidoc @@ -287,7 +287,7 @@ PUT _rollup/job/sensor } -------------------------------------------------- // TEST[setup:sensor_index] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] <1> This configuration enables date histograms to be used on the `timestamp` field and `terms` aggregations to be used on the `node` field. <2> This configuration defines metrics over two fields: `temperature` and diff --git a/docs/reference/rollup/apis/rollup-caps.asciidoc b/docs/reference/rollup/apis/rollup-caps.asciidoc index 1fbaeda538e24..f91bab54099fa 100644 --- a/docs/reference/rollup/apis/rollup-caps.asciidoc +++ b/docs/reference/rollup/apis/rollup-caps.asciidoc @@ -89,7 +89,7 @@ PUT _rollup/job/sensor } -------------------------------------------------- // TEST[setup:sensor_index] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] We can then retrieve the rollup capabilities of that index pattern (`sensor-*`) via the following command: @@ -99,7 +99,7 @@ via the following command: GET _rollup/data/sensor-* -------------------------------------------------- // TEST[continued] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] Which will yield the following response: @@ -172,7 +172,7 @@ We could also retrieve the same information with a request to `_all`: GET _rollup/data/_all -------------------------------------------------- // TEST[continued] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] But note that if we use the concrete index name (`sensor-1`), we'll retrieve no rollup capabilities: @@ -182,7 +182,7 @@ rollup capabilities: GET _rollup/data/sensor-1 -------------------------------------------------- // TEST[continued] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] [source,console-result] ---- diff --git a/docs/reference/rollup/apis/rollup-index-caps.asciidoc b/docs/reference/rollup/apis/rollup-index-caps.asciidoc index 72881e81a9ccb..b7fcd5cc80eb1 100644 --- a/docs/reference/rollup/apis/rollup-index-caps.asciidoc +++ b/docs/reference/rollup/apis/rollup-index-caps.asciidoc @@ -86,7 +86,7 @@ PUT _rollup/job/sensor } -------------------------------------------------- // TEST[setup:sensor_index] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] If at a later date, we'd like to determine what jobs and capabilities were stored in the `sensor_rollup` index, we can use the get rollup index API: @@ -96,7 +96,7 @@ stored in the `sensor_rollup` index, we can use the get rollup index API: GET /sensor_rollup/_rollup/data -------------------------------------------------- // TEST[continued] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] Note how we are requesting the concrete rollup index name (`sensor_rollup`) as the first part of the URL. This will yield the following response: @@ -172,4 +172,4 @@ instead of explicit indices: GET /*_rollup/_rollup/data -------------------------------------------------- // TEST[continued] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] diff --git a/docs/reference/rollup/apis/rollup-search.asciidoc b/docs/reference/rollup/apis/rollup-search.asciidoc index 5a21d164183fc..024c1a33e0901 100644 --- a/docs/reference/rollup/apis/rollup-search.asciidoc +++ b/docs/reference/rollup/apis/rollup-search.asciidoc @@ -111,7 +111,7 @@ PUT _rollup/job/sensor } -------------------------------------------------- // TEST[setup:sensor_index] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] This rolls up the `sensor-*` pattern and stores the results in `sensor_rollup`. To search this rolled up data, we need to use the `_rollup_search` endpoint. @@ -134,7 +134,7 @@ GET /sensor_rollup/_rollup_search -------------------------------------------------- // TEST[setup:sensor_prefab_data] // TEST[s/_rollup_search/_rollup_search?filter_path=took,timed_out,terminated_early,_shards,hits,aggregations/] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] The query is targeting the `sensor_rollup` data, since this contains the rollup data as configured in the job. A `max` aggregation has been used on the @@ -190,7 +190,7 @@ GET sensor_rollup/_rollup_search -------------------------------------------------- // TEST[continued] // TEST[catch:/illegal_argument_exception/] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] [source,console-result] ---- @@ -234,7 +234,7 @@ GET sensor-1,sensor_rollup/_rollup_search <1> -------------------------------------------------- // TEST[continued] // TEST[s/_rollup_search/_rollup_search?filter_path=took,timed_out,terminated_early,_shards,hits,aggregations/] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] <1> Note the URI now searches `sensor-1` and `sensor_rollup` at the same time When the search is executed, the rollup search endpoint does two things: diff --git a/docs/reference/rollup/apis/start-job.asciidoc b/docs/reference/rollup/apis/start-job.asciidoc index b928875e3990f..d0c791e2ebd61 100644 --- a/docs/reference/rollup/apis/start-job.asciidoc +++ b/docs/reference/rollup/apis/start-job.asciidoc @@ -57,7 +57,7 @@ If we have already created a {rollup-job} named `sensor`, it can be started with POST _rollup/job/sensor/_start -------------------------------------------------- // TEST[setup:sensor_rollup_job] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] Which will return the response: diff --git a/docs/reference/rollup/apis/stop-job.asciidoc b/docs/reference/rollup/apis/stop-job.asciidoc index 7cb503ab85ff5..a7a720a97a19c 100644 --- a/docs/reference/rollup/apis/stop-job.asciidoc +++ b/docs/reference/rollup/apis/stop-job.asciidoc @@ -82,7 +82,7 @@ the indexer has fully stopped. This is accomplished with the POST _rollup/job/sensor/_stop?wait_for_completion=true&timeout=10s -------------------------------------------------- // TEST[setup:sensor_started_rollup_job] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] The parameter blocks the API call from returning until either the job has moved to `STOPPED` or the specified time has elapsed. If the specified time elapses diff --git a/docs/reference/rollup/migrating-to-downsampling.asciidoc b/docs/reference/rollup/migrating-to-downsampling.asciidoc index 45be3860366e8..fdbae993f03a9 100644 --- a/docs/reference/rollup/migrating-to-downsampling.asciidoc +++ b/docs/reference/rollup/migrating-to-downsampling.asciidoc @@ -51,7 +51,7 @@ PUT _rollup/job/sensor } -------------------------------------------------- // TEST[setup:sensor_index] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] The equivalent <> setup that uses downsampling via DSL: diff --git a/docs/reference/rollup/rollup-getting-started.asciidoc b/docs/reference/rollup/rollup-getting-started.asciidoc index fa33f2c5e5a24..7813093ad46fe 100644 --- a/docs/reference/rollup/rollup-getting-started.asciidoc +++ b/docs/reference/rollup/rollup-getting-started.asciidoc @@ -64,7 +64,7 @@ PUT _rollup/job/sensor } -------------------------------------------------- // TEST[setup:sensor_index] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] We give the job the ID of "sensor" (in the url: `PUT _rollup/job/sensor`), and tell it to rollup the index pattern `"sensor-*"`. This job will find and rollup any index that matches that pattern. Rollup summaries are then stored in the `"sensor_rollup"` index. @@ -144,7 +144,7 @@ To start the job, execute this command: POST _rollup/job/sensor/_start -------------------------------------------------- // TEST[setup:sensor_rollup_job] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] [discrete] ==== Searching the rolled results @@ -169,7 +169,7 @@ GET /sensor_rollup/_rollup_search } -------------------------------------------------- // TEST[setup:sensor_prefab_data] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] It's a simple aggregation that calculates the maximum of the `temperature` field. But you'll notice that it is being sent to the `sensor_rollup` index instead of the raw `sensor-*` indices. And you'll also notice that it is using the `_rollup_search` endpoint. Otherwise the syntax @@ -201,7 +201,7 @@ If you were to execute that query, you'd receive a result that looks like a norm ---- // TESTRESPONSE[s/"took" : 102/"took" : $body.$_path/] // TESTRESPONSE[s/"_shards" : \.\.\. /"_shards" : $body.$_path/] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] The only notable difference is that Rollup search results have zero `hits`, because we aren't really searching the original, live data any more. Otherwise it's identical syntax. @@ -248,7 +248,7 @@ GET /sensor_rollup/_rollup_search } -------------------------------------------------- // TEST[setup:sensor_prefab_data] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] Which returns a corresponding response: diff --git a/docs/reference/rollup/rollup-search-limitations.asciidoc b/docs/reference/rollup/rollup-search-limitations.asciidoc index 3b51496668aab..6e9e2ac4ec279 100644 --- a/docs/reference/rollup/rollup-search-limitations.asciidoc +++ b/docs/reference/rollup/rollup-search-limitations.asciidoc @@ -56,7 +56,7 @@ GET sensor_rollup/_rollup_search -------------------------------------------------- // TEST[setup:sensor_prefab_data] // TEST[catch:/illegal_argument_exception/] -// TEST[warning:The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information.] +// TEST[warning:The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information.] The response will tell you that the field and aggregation were not possible, because no rollup jobs were found which contained them: diff --git a/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java index b61ca9362d664..e5e7d8c35a2d3 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java @@ -163,7 +163,7 @@ public abstract class ESRestTestCase extends ESTestCase { private static final Logger SUITE_LOGGER = LogManager.getLogger(ESRestTestCase.class); private static final String EXPECTED_ROLLUP_WARNING_MESSAGE = - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information."; + "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information."; public static final RequestOptions.Builder ROLLUP_REQUESTS_OPTIONS = RequestOptions.DEFAULT.toBuilder().setWarningsHandler(warnings -> { // Either no warning, because of bwc integration test OR // the expected warning, because on current version diff --git a/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/Rollup.java b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/Rollup.java index 8453773a62732..604fbbbe97663 100644 --- a/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/Rollup.java +++ b/x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/Rollup.java @@ -71,7 +71,7 @@ public class Rollup extends Plugin implements ActionPlugin, PersistentTaskPlugin { public static final String DEPRECATION_MESSAGE = - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information."; + "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information."; public static final String DEPRECATION_KEY = "rollup_removal"; // Introduced in ES version 6.3 diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/data_streams/10_data_stream_resolvability.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/data_streams/10_data_stream_resolvability.yml index 43788e8e69897..da669d2302296 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/data_streams/10_data_stream_resolvability.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/data_streams/10_data_stream_resolvability.yml @@ -149,7 +149,7 @@ - do: # Should not raise error allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_rollup_index_caps: index: "logs*" - do: @@ -476,7 +476,7 @@ - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "simple-data-stream1" body: diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/delete_job.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/delete_job.yml index ee306c4a03b4d..f1d97c3399213 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/delete_job.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/delete_job.yml @@ -51,7 +51,7 @@ setup: ] } allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." --- "Test basic delete_job": @@ -59,7 +59,7 @@ setup: test_runner_features: ["allowed_warnings"] - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_jobs: id: foo @@ -101,14 +101,14 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.delete_job: id: foo - is_true: acknowledged - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_jobs: id: foo - match: @@ -119,7 +119,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_jobs: id: foo @@ -161,14 +161,14 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.delete_job: id: foo - is_true: acknowledged - do: allowed_warnings: - - The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information. + - The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information. rollup.get_jobs: id: foo - match: @@ -179,7 +179,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_jobs: id: foo @@ -221,14 +221,14 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.start_job: id: foo - is_true: started - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: request rollup.delete_job: id: foo @@ -241,7 +241,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /the task with id \[does_not_exist\] doesn't exist/ headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_jobs.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_jobs.yml index c7a96aeba0632..c1f3703b60be6 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_jobs.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_jobs.yml @@ -30,7 +30,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -58,7 +58,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_jobs: id: foo @@ -102,7 +102,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_jobs: id: "_all" @@ -113,7 +113,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_jobs: id: foo diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_rollup_caps.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_rollup_caps.yml index ca8dc638238f8..5937ded2ea109 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_rollup_caps.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_rollup_caps.yml @@ -47,7 +47,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -81,7 +81,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_rollup_caps: id: "foo" @@ -106,7 +106,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -132,7 +132,7 @@ setup: } - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_rollup_caps: id: "foo" @@ -169,7 +169,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -196,7 +196,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -223,7 +223,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_rollup_caps: id: "_all" diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_rollup_index_caps.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_rollup_index_caps.yml index fc5ee06fcf452..15cbb7c77474e 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_rollup_index_caps.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_rollup_index_caps.yml @@ -48,7 +48,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -82,7 +82,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_rollup_index_caps: index: "foo_rollup" @@ -107,7 +107,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -133,7 +133,7 @@ setup: } - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_rollup_index_caps: index: "foo_rollup" @@ -171,7 +171,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -197,7 +197,7 @@ setup: } - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_rollup_index_caps: index: "foo_rollup" @@ -222,7 +222,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -248,7 +248,7 @@ setup: } - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -275,7 +275,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_rollup_index_caps: index: "_all" @@ -327,7 +327,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -353,7 +353,7 @@ setup: } - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -380,7 +380,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_rollup_index_caps: index: "foo_rollup2,foo_rollup" @@ -432,7 +432,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -458,7 +458,7 @@ setup: } - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -485,7 +485,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_rollup_index_caps: index: "*_rollup2" diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/put_job.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/put_job.yml index c1b92e1b1483c..583ed8bcb233a 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/put_job.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/put_job.yml @@ -43,7 +43,7 @@ setup: "Test basic put_job": - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -71,7 +71,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_jobs: id: foo @@ -121,7 +121,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -149,7 +149,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /Cannot create rollup job \[foo\] because job was previously created \(existing metadata\)/ headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser @@ -182,7 +182,7 @@ setup: index: non-rollup - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /Rollup data cannot be added to existing indices that contain non-rollup data/ headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser @@ -214,7 +214,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /unknown field \[headers\]/ headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser @@ -248,7 +248,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /Could not find a \[numeric\] or \[date,date_nanos\] field with name \[field_doesnt_exist\] in any of the indices matching the index pattern/ headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser @@ -283,7 +283,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /new rollup jobs are not allowed in clusters that don't have any rollup usage, since rollup has been deprecated/ headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser @@ -314,7 +314,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /Unsupported metric \[does_not_exist\]/ headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser @@ -356,7 +356,7 @@ setup: - do: allowed_warnings: - "index [foo_rollup] matches multiple legacy templates [global, test], composable templates will only match a single template" - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -433,7 +433,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -461,7 +461,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.get_jobs: id: bar diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/rollup_search.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/rollup_search.yml index e52e8560346d7..89584655f8434 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/rollup_search.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/rollup_search.yml @@ -30,7 +30,7 @@ setup: headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.put_job: id: foo body: > @@ -142,7 +142,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "foo_rollup" body: @@ -171,7 +171,7 @@ setup: reason: rest_total_hits_as_int was introduced in 6.6.0 - do: allowed_warnings: - - The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information. + - The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information. rollup.rollup_search: index: "foo_rollup" body: @@ -198,7 +198,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "foo_rollup" body: @@ -226,7 +226,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: rest_total_hits_as_int: true index: "foo_rollup" @@ -243,7 +243,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "foo_rollup" body: @@ -262,7 +262,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "foo_rollup" body: @@ -297,7 +297,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "foo_rollup" body: @@ -334,7 +334,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -446,7 +446,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "foo_rollup" body: @@ -481,7 +481,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -593,7 +593,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "foo_rollup" body: @@ -630,7 +630,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -741,7 +741,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "foo_rollup" body: @@ -778,7 +778,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "foo_rollup*" body: @@ -818,7 +818,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -870,7 +870,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "rollup_alias" body: @@ -910,7 +910,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -945,7 +945,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /RollupSearch currently only supports searching one rollup index at a time\./ rollup.rollup_search: index: "rollup_alias" @@ -982,7 +982,7 @@ setup: warnings: - "Creating Rollup job [tz] with timezone [Canada/Mountain], but [Canada/Mountain] has been deprecated by the IANA. Use [America/Edmonton] instead." allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.put_job: id: tz body: > @@ -1053,7 +1053,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "tz_rollup" body: @@ -1082,7 +1082,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "tz_rollup" body: @@ -1207,7 +1207,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "tz_rollup" body: @@ -1237,7 +1237,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "tz_rollup" body: @@ -1270,7 +1270,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." rollup.rollup_search: index: "foo_rollup" typed_keys: true @@ -1305,7 +1305,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: bad_request rollup.rollup_search: index: "foo" @@ -1323,7 +1323,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: bad_request rollup.rollup_search: index: "foo*" @@ -1340,7 +1340,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /Must specify at least one concrete index/ rollup.rollup_search: index: "bar*" diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/start_job.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/start_job.yml index 9c292bfff5dbb..faa0630199cff 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/start_job.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/start_job.yml @@ -26,7 +26,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -56,7 +56,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /Task for Rollup Job \[does_not_exist\] not found/ headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser @@ -69,7 +69,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.start_job: @@ -78,7 +78,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.start_job: diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/stop_job.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/stop_job.yml index 624be7aceb700..b3cadea0f4d88 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/stop_job.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/stop_job.yml @@ -26,7 +26,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.put_job: @@ -56,7 +56,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." catch: /Task for Rollup Job \[does_not_exist\] not found/ headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser @@ -69,7 +69,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.start_job: @@ -78,7 +78,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.stop_job: @@ -87,7 +87,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.stop_job: @@ -99,7 +99,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.stop_job: @@ -111,7 +111,7 @@ setup: "Test wait_for_completion default timeout": - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.start_job: @@ -120,7 +120,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.stop_job: @@ -132,7 +132,7 @@ setup: "Test wait_for_completion with custom timeout": - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.start_job: @@ -141,7 +141,7 @@ setup: - do: allowed_warnings: - - "The rollup functionality will be removed in in Elasticsearch 9.0. See docs for more information." + - "The rollup functionality will be removed in in Elasticsearch 10.0. See docs for more information." headers: Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser rollup.stop_job: