|
@@ -1,6 +1,6 @@
|
|
|
setup:
|
|
|
- skip:
|
|
|
- features: headers
|
|
|
+ features: ["allowed_warnings", "headers"]
|
|
|
- do:
|
|
|
indices.create:
|
|
|
index: foo
|
|
@@ -29,6 +29,8 @@ setup:
|
|
|
- do:
|
|
|
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 Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.put_job:
|
|
|
id: foo
|
|
|
body: >
|
|
@@ -139,6 +141,8 @@ setup:
|
|
|
"Basic Search":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup"
|
|
|
body:
|
|
@@ -166,6 +170,8 @@ setup:
|
|
|
cluster_features: ["gte_v6.6.0"]
|
|
|
reason: rest_total_hits_as_int was introduced in 6.6.0
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information.
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup"
|
|
|
body:
|
|
@@ -191,6 +197,8 @@ setup:
|
|
|
"Formatted Date Histo":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup"
|
|
|
body:
|
|
@@ -217,6 +225,8 @@ setup:
|
|
|
"Empty aggregation":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
rest_total_hits_as_int: true
|
|
|
index: "foo_rollup"
|
|
@@ -232,6 +242,8 @@ setup:
|
|
|
"Empty aggregation with new response format":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup"
|
|
|
body:
|
|
@@ -249,6 +261,8 @@ setup:
|
|
|
"Search with Metric":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup"
|
|
|
body:
|
|
@@ -282,6 +296,8 @@ setup:
|
|
|
"Search with Query":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup"
|
|
|
body:
|
|
@@ -317,6 +333,8 @@ setup:
|
|
|
"Search with MatchAll and Second Job":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed 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:
|
|
@@ -427,6 +445,8 @@ setup:
|
|
|
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup"
|
|
|
body:
|
|
@@ -460,6 +480,8 @@ setup:
|
|
|
"Search with Query and Second Job":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed 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:
|
|
@@ -570,6 +592,8 @@ setup:
|
|
|
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup"
|
|
|
body:
|
|
@@ -605,6 +629,8 @@ setup:
|
|
|
"Search with Query and Second Job different intervals":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed 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:
|
|
@@ -714,6 +740,8 @@ setup:
|
|
|
"_rollup.version": 1
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup"
|
|
|
body:
|
|
@@ -749,6 +777,8 @@ setup:
|
|
|
"Wildcards matching single rollup index":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup*"
|
|
|
body:
|
|
@@ -787,6 +817,8 @@ setup:
|
|
|
type: integer
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed 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:
|
|
@@ -837,6 +869,8 @@ setup:
|
|
|
name: rollup_alias
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "rollup_alias"
|
|
|
body:
|
|
@@ -875,6 +909,8 @@ setup:
|
|
|
type: integer
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed 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:
|
|
@@ -908,6 +944,8 @@ setup:
|
|
|
name: rollup_alias
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed 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"
|
|
@@ -943,6 +981,8 @@ setup:
|
|
|
Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser
|
|
|
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 Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.put_job:
|
|
|
id: tz
|
|
|
body: >
|
|
@@ -1012,6 +1052,8 @@ setup:
|
|
|
"_rollup.version": 2
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "tz_rollup"
|
|
|
body:
|
|
@@ -1039,6 +1081,8 @@ setup:
|
|
|
- match: { aggregations.histo.buckets.2.the_max.value: 3 }
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "tz_rollup"
|
|
|
body:
|
|
@@ -1162,6 +1206,8 @@ setup:
|
|
|
"_rollup.version": 2
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "tz_rollup"
|
|
|
body:
|
|
@@ -1190,6 +1236,8 @@ setup:
|
|
|
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "tz_rollup"
|
|
|
body:
|
|
@@ -1221,6 +1269,8 @@ setup:
|
|
|
"Search with typed_keys":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
rollup.rollup_search:
|
|
|
index: "foo_rollup"
|
|
|
typed_keys: true
|
|
@@ -1254,6 +1304,8 @@ setup:
|
|
|
"Search error against live index":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
catch: bad_request
|
|
|
rollup.rollup_search:
|
|
|
index: "foo"
|
|
@@ -1270,6 +1322,8 @@ setup:
|
|
|
"Search error against rollup and live index":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
catch: bad_request
|
|
|
rollup.rollup_search:
|
|
|
index: "foo*"
|
|
@@ -1285,6 +1339,8 @@ setup:
|
|
|
"Search error no matching indices":
|
|
|
|
|
|
- do:
|
|
|
+ allowed_warnings:
|
|
|
+ - "The rollup functionality will be removed in Elasticsearch 10.0. See docs for more information."
|
|
|
catch: /Must specify at least one concrete index/
|
|
|
rollup.rollup_search:
|
|
|
index: "bar*"
|