Skip to content

Commit

Permalink
fixing validate ci, links, added node failure in specs
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Dec 18, 2024
1 parent 7b32b67 commit d11bfdd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Added API spec for `adjust_pure_negative` for bool queries ([#641](https://github.com/opensearch-project/opensearch-api-specification/pull/641))
- Added a spec style checker [#620](https://github.com/opensearch-project/opensearch-api-specification/pull/620).
- Added `remote_store` to node `Stats` ([#643](https://github.com/opensearch-project/opensearch-api-specification/pull/643))
- Added 404 response to `/_search/scroll` ([#x](https://github.com/opensearch-project/opensearch-api-specification/pull/x))
- Added 404 response to `/_search/scroll` ([#749](https://github.com/opensearch-project/opensearch-api-specification/pull/749))

### Changed

Expand Down
6 changes: 6 additions & 0 deletions spec/namespaces/_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,8 @@ paths:
responses:
'200':
$ref: '#/components/responses/clear_scroll@200'
'404':
$ref: '#/components/responses/clear_scroll@404'
/_search/template:
get:
operationId: search_template.0
Expand Down Expand Up @@ -3386,6 +3388,10 @@ components:
type: object
additionalProperties:
$ref: '../schemas/_core.update_by_query_rethrottle.yaml#/components/schemas/UpdateByQueryRethrottleNode'
node_failures:
type: array
items:
$ref: '_common.yaml#/components/schemas/ErrorCause'
required:
- nodes
parameters:
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/workload-management/wlm/query_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ chapters:
payload:
resource_limits:
memory: 0.2
resiliency_mode: restrict
resiliency_mode: soft
- synopsis: Get the QueryGroup by name.
path: /_wlm/query_group/{name}
method: GET
Expand All @@ -35,7 +35,7 @@ chapters:
- name: analytics
resource_limits:
memory: 0.2
resiliency_mode: restrict
resiliency_mode: soft
- synopsis: Get all QueryGroups.
path: /_wlm/query_group
method: GET
Expand Down

0 comments on commit d11bfdd

Please sign in to comment.