From 03c4bc2ff99ac232e78d913a9c6a01b12debbe9e Mon Sep 17 00:00:00 2001 From: Niyazbek Torekeldi <78027392+Tokesh@users.noreply.github.com> Date: Fri, 6 Sep 2024 00:47:26 +0500 Subject: [PATCH] fixing tabling Signed-off-by: Niyazbek Torekeldi <78027392+Tokesh@users.noreply.github.com> --- tests/replication/replica.yaml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/tests/replication/replica.yaml b/tests/replication/replica.yaml index 563a8ee14..ddef9810c 100644 --- a/tests/replication/replica.yaml +++ b/tests/replication/replica.yaml @@ -36,23 +36,23 @@ epilogues: status: [200, 404] chapters: - synopsis: Create leader role. - path: /_plugins/_security/api/roles/{role} - parameters: - role: leader_role - method: PUT - request: - payload: - cluster_permissions: - - "cluster:monitor/state" - - "cluster:admin/plugins/replication/index/setup/validate" - index_permissions: - - index_patterns: ["your-leader-index-pattern"] # Укажите конкретный шаблон индекса - allowed_actions: - - "indices:admin/plugins/replication/index/setup/validate" - - "indices:data/read/plugins/replication/file_chunk" - - "indices:data/read/plugins/replication/changes" - response: - status: 201 + path: /_plugins/_security/api/roles/{role} + parameters: + role: leader_role + method: PUT + request: + payload: + cluster_permissions: + - "cluster:monitor/state" + - "cluster:admin/plugins/replication/index/setup/validate" + index_permissions: + - index_patterns: ["your-leader-index-pattern"] # Укажите конкретный шаблон индекса + allowed_actions: + - "indices:admin/plugins/replication/index/setup/validate" + - "indices:data/read/plugins/replication/file_chunk" + - "indices:data/read/plugins/replication/changes" + response: + status: 201 - synopsis: Create follower role. path: /_plugins/_security/api/roles/{role} method: PUT