Skip to content

Commit

Permalink
fixing tabling
Browse files Browse the repository at this point in the history
Signed-off-by: Niyazbek Torekeldi <[email protected]>
  • Loading branch information
Tokesh committed Sep 5, 2024
1 parent a603d74 commit 03c4bc2
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions tests/replication/replica.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Check failure on line 46 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote
- "cluster:admin/plugins/replication/index/setup/validate"

Check failure on line 47 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote

Check failure on line 47 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Expected sequence values to be in ascending order. 'cluster:admin/plugins/replication/index/setup/validate' should be before 'cluster:monitor/state'
index_permissions:
- index_patterns: ["your-leader-index-pattern"] # Укажите конкретный шаблон индекса

Check failure on line 49 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Must use plain style scalar

Check failure on line 49 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote

Check failure on line 49 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Unknown word: "Укажите"

Check failure on line 49 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Unknown word: "конкретный"

Check failure on line 49 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Unknown word: "шаблон"

Check failure on line 49 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Unknown word: "индекса"
allowed_actions:
- "indices:admin/plugins/replication/index/setup/validate"

Check failure on line 51 in tests/replication/replica.yaml

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote
- "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
Expand Down

0 comments on commit 03c4bc2

Please sign in to comment.