From 5ed2f6b53ab125f7fddfc6277d0bde07c61e68c3 Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Wed, 19 May 2021 13:28:46 +0200 Subject: [PATCH 1/2] Consider new API calls in static response example With this commit we amend the example response file in our documentation to also include a static response for the cluster settings API. This is needed because Rally issues this call to determine the value of `action.destructive_requires_name` prior to issuing a delete index request. Relates #1243 --- docs/command_line_reference.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/command_line_reference.rst b/docs/command_line_reference.rst index 468823cc1..5a05117af 100644 --- a/docs/command_line_reference.rst +++ b/docs/command_line_reference.rst @@ -715,6 +715,13 @@ Here we define the necessary responses for a track that bulk-indexes data:: }, "body-encoding": "json" }, + { + "path": "/_cluster/settings", + "body": { + "transient": {} + }, + "body-encoding": "json" + }, { "path": "/_all/_stats/_all", "body": { From 0d9bbe95ba125bf78b553a3ce37fa692ef457ee6 Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Tue, 25 May 2021 07:55:11 +0200 Subject: [PATCH 2/2] Also add persistent settings Co-authored-by: Rick Boyd --- docs/command_line_reference.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/command_line_reference.rst b/docs/command_line_reference.rst index 5a05117af..7d1c077ae 100644 --- a/docs/command_line_reference.rst +++ b/docs/command_line_reference.rst @@ -718,6 +718,7 @@ Here we define the necessary responses for a track that bulk-indexes data:: { "path": "/_cluster/settings", "body": { + "persistent": {}, "transient": {} }, "body-encoding": "json"