Skip to content

Commit

Permalink
hotfix status code in response
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Nov 9, 2024
1 parent 78f73ff commit 485e213
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions tests/replication/replica.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,25 +78,7 @@ chapters:
backend_roles: ["admin", "leader-role", "follower"]
users: ["admin", "leader-role", "follower"]
response:
status: 201
- synopsis: Getting all role mappings.
path: /_plugins/_security/authinfo
method: GET
- synopsis: Get `follower` role permissions.
path: /_plugins/_security/api/roles/{role}
parameters:
role: follower
method: GET
- synopsis: Get `leader` role permissions.
path: /_plugins/_security/api/roles/{role}
parameters:
role: leader_role
method: GET
- synopsis: Get `leader` role permissions.
path: /_plugins/_security/api/roles/{role}
parameters:
role: all_access
method: GET
status: 200
- synopsis: Establish connection.
path: /_cluster/settings
method: PUT
Expand Down Expand Up @@ -187,3 +169,22 @@ chapters:
name: books
response:
status: 200

# - synopsis: Getting all role mappings.
# path: /_plugins/_security/authinfo
# method: GET
# - synopsis: Get `follower` role permissions.
# path: /_plugins/_security/api/roles/{role}
# parameters:
# role: follower
# method: GET
# - synopsis: Get `leader` role permissions.
# path: /_plugins/_security/api/roles/{role}
# parameters:
# role: leader_role
# method: GET
# - synopsis: Get `leader` role permissions.
path: /_plugins/_security/api/roles/{role}
parameters:
role: all_access
method: GET

0 comments on commit 485e213

Please sign in to comment.