-
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.
Add api spec for tiering of indices from hot to warm
Signed-off-by: Neetika Singhal <[email protected]>
- Loading branch information
1 parent
c7dbaaf
commit 464ff4e
Showing
6 changed files
with
137 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ determinized | |
distilbert | ||
DNFOF | ||
docvalue | ||
Dopensearch | ||
Downsample | ||
downsampling | ||
Downsampling | ||
|
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,17 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: Schemas of tier_warm category | ||
description: Schemas of tier_warm category | ||
version: 1.0.0 | ||
paths: {} | ||
components: | ||
schemas: | ||
FailedIndex: | ||
type: object | ||
properties: | ||
index: | ||
description: Index name. | ||
$ref: '_common.yaml#/components/schemas/IndexName' | ||
error: | ||
description: Error message. | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
$schema: ../../../json_schemas/test_story.schema.yaml | ||
|
||
version: '>= 2.17' | ||
description: Test endpoints relevant to tiering of index to warm. | ||
prologues: | ||
- path: /{index} | ||
method: PUT | ||
parameters: | ||
index: books | ||
- path: /{index} | ||
method: PUT | ||
parameters: | ||
index: games | ||
epilogues: | ||
- path: /books,movies | ||
method: DELETE | ||
status: [200, 404] | ||
chapters: | ||
- synopsis: Tier the `books` and `games` indices from hot to warm. | ||
path: /{index}/_tier/warm | ||
method: POST | ||
parameters: | ||
index: books,games | ||
response: | ||
status: 200 | ||
|