Skip to content

Commit

Permalink
spec: add plugins to NodeInfoSettings (#442)
Browse files Browse the repository at this point in the history
* spec: add plugins to NodeInfoSettings

Signed-off-by: Jakob Hahn <[email protected]>

* github/opensearch-cluster: add plugins.index_state_management.job_interval to env for /_nodes/settings validation

Signed-off-by: Jakob Hahn <[email protected]>

---------

Signed-off-by: Jakob Hahn <[email protected]>
  • Loading branch information
Jakob3xD authored Jul 22, 2024
1 parent bf2772a commit d8f1e02
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/opensearch-cluster/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ services:
environment:
- 'OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_PASSWORD:-myStrongPassword123!}'
- discovery.type=single-node
- path.repo=/tmp/opensearch/repo
- path.repo=/tmp/opensearch/repo
- plugins.index_state_management.job_interval=1
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Added `is_hidden` to `/{index}/_alias/{name}` and `/{index}/_aliases/{name}` ([#429](https://github.com/opensearch-project/opensearch-api-specification/pull/429))
- Added `ignore_unmapped` to `GeoDistanceQuery` ([#427](https://github.com/opensearch-project/opensearch-api-specification/pull/427))
- Added missing variants of `indices.put_alias` ([#434](https://github.com/opensearch-project/opensearch-api-specification/pull/434))
- Added `plugins` to NodeInfoSettings ([#442](https://github.com/opensearch-project/opensearch-api-specification/pull/442))

### Changed

Expand Down
8 changes: 7 additions & 1 deletion spec/schemas/nodes.info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ components:
$ref: '#/components/schemas/NodeInfoSettingsIngest'
index:
$ref: '#/components/schemas/NodeInfoSettingsIndex'
plugins:
$ref: '#/components/schemas/NodeInfoSettingsPlugins'
required:
- client
- cluster
Expand Down Expand Up @@ -631,6 +633,10 @@ components:
type: array
items:
type: string
NodeInfoSettingsPlugins:
type: object
additionalProperties:
$ref: '_common.yaml#/components/schemas/FieldValue'
NodeThreadPoolInfo:
type: object
properties:
Expand Down Expand Up @@ -704,4 +710,4 @@ components:
$ref: '#/components/schemas/NodeInfoIngestProcessor'
required:
- request_processors
- response_processors
- response_processors

0 comments on commit d8f1e02

Please sign in to comment.