Skip to content

Commit

Permalink
fixing uri
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Aug 15, 2024
1 parent e04fec9 commit 90e72da
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tests/replication/replica.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ chapters:
username: admin

- synopsis: Create leader role.
path: /_plugins/_security/api/roles/leader_role
path: /_plugins/_security/api/roles/{role}
parameters:
role: leader_role
method: PUT
request:
payload:
Expand All @@ -58,8 +60,10 @@ chapters:
status: 200

- synopsis: Create follower role.
path: /_plugins/_security/api/roles/cross_cluster_replication_follower_full_access
path: /_plugins/_security/api/roles/{role}
method: PUT
parameters:
role: cross_cluster_replication_follower_full_access
request:
payload:
cluster_permissions:
Expand All @@ -71,8 +75,10 @@ chapters:
status: 200

- synopsis: Map leader role to user.
path: /_plugins/_security/api/rolesmapping/leader_role
path: /_plugins/_security/api/rolesmapping/{role}
method: PUT
parameters:
role: leader_role
request:
payload:
backend_roles: ["admin"]

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

View workflow job for this annotation

GitHub Actions / lint

Must use plain style scalar

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

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote
Expand All @@ -81,8 +87,10 @@ chapters:
status: 200

- synopsis: Map follower role to user.
path: /_plugins/_security/api/rolesmapping/cross_cluster_replication_follower_full_access
path: /_plugins/_security/api/rolesmapping/{role}
method: PUT
parameters:
role: cross_cluster_replication_follower_full_access
request:
payload:
backend_roles: ["admin"]
Expand Down

0 comments on commit 90e72da

Please sign in to comment.