-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: dblock <[email protected]>
- Loading branch information
Showing
33 changed files
with
410 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: Schemas of cat.cluster_manager category | ||
description: Schemas of cat.cluster_manager category | ||
version: 1.0.0 | ||
paths: {} | ||
components: | ||
schemas: | ||
ClusterManagerRecord: | ||
type: object | ||
properties: | ||
id: | ||
description: node id | ||
type: string | ||
host: | ||
description: host name | ||
type: string | ||
ip: | ||
description: ip address | ||
type: string | ||
node: | ||
description: node name | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
$schema: ../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test aliases endpoints. | ||
epilogues: | ||
- path: /games | ||
method: DELETE | ||
status: [200, 404] | ||
prologues: | ||
- path: /{index} | ||
method: PUT | ||
parameters: | ||
index: games | ||
chapters: | ||
- synopsis: Create an alias. | ||
path: /{index}/_aliases/{name} | ||
method: PUT | ||
parameters: | ||
index: games | ||
name: jeux | ||
- synopsis: Get an alias from index. | ||
method: GET | ||
path: /{index}/_alias/{name} | ||
parameters: | ||
index: games | ||
name: jeux | ||
response: | ||
status: 200 | ||
content_type: application/json | ||
payload: | ||
games: | ||
aliases: | ||
jeux: {} | ||
- synopsis: Get an alias from _aliases. | ||
method: GET | ||
path: /_alias/{name} | ||
parameters: | ||
name: jeux | ||
response: | ||
status: 200 | ||
content_type: application/json | ||
payload: | ||
games: | ||
aliases: | ||
jeux: {} | ||
- synopsis: Multiple alias operations. | ||
path: /_aliases | ||
method: POST | ||
request_body: | ||
payload: | ||
actions: | ||
- remove: | ||
index: games | ||
alias: jeux | ||
- add: | ||
index: games | ||
alias: juegos1 | ||
- add: | ||
index: games | ||
alias: juegos2 | ||
response: | ||
status: 200 | ||
payload: | ||
acknowledged: true | ||
- synopsis: Delete an alias from _aliases. | ||
path: /{index}/_aliases/{name} | ||
method: DELETE | ||
parameters: | ||
index: games | ||
name: juegos1 | ||
- synopsis: Delete an alias from _alias. | ||
path: /{index}/_alias/{name} | ||
method: DELETE | ||
parameters: | ||
index: games | ||
name: juegos2 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
$schema: ../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test cat/allocation endpoints. | ||
chapters: | ||
- synopsis: Cat with a json response. | ||
path: /_cat/allocation | ||
method: GET | ||
parameters: | ||
format: json | ||
response: | ||
status: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
$schema: ../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test cat/cluster_manager endpoints. | ||
chapters: | ||
- synopsis: Cat with a json response. | ||
path: /_cat/cluster_manager | ||
method: GET | ||
parameters: | ||
format: json | ||
response: | ||
status: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
$schema: ../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test cat/count endpoints. | ||
chapters: | ||
- synopsis: Cat with a json response. | ||
path: /_cat/count | ||
method: GET | ||
parameters: | ||
format: json | ||
response: | ||
status: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
$schema: ../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test cat/fielddata endpoints. | ||
chapters: | ||
- synopsis: Cat with a json response. | ||
path: /_cat/fielddata | ||
method: GET | ||
parameters: | ||
format: json | ||
response: | ||
status: 200 |
Oops, something went wrong.