Skip to content

Commit

Permalink
Fix Spec tests
Browse files Browse the repository at this point in the history
Signed-off-by: Archer <naarcha@amazon.com>
  • Loading branch information
Naarcha-AWS committed Feb 26, 2025
1 parent b7cc5c2 commit 71cd5f9
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 35 deletions.
34 changes: 19 additions & 15 deletions spec/schemas/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1059,21 +1059,25 @@ components:
- shards
WaitForEvents:
description: Waits until all currently queued events with the given priority are processed.
type: string
enum:
- high
- immediate
- languid
- low
- normal
- urgent
enumDescriptions:
immediate: The highest priority event, processed as soon as possible.
urgent: A very high priority event, processed after immediate events.
high: A high priority event, processed after urgent events.
normal: The default priority for events, processed after high priority events.
low: A low priority event, processed after normal events.
languid: The lowest priority event, processed after all other events.
oneOf:
- type: string
const: immediate
description: Highest priority, processed as soon as possible.
- type: string
const: urgent
description: Very high priority, processed after immediate events.
- type: string
const: high
description: High priority, processed after urgent events.
- type: string
const: normal
description: Default priority, processed after high priority events.
- type: string
const: low
description: Low priority, processed after normal events.
- type: string
const: languid
description: Lowest priority, processed after all other events.
DataStreamName:
type: string
CompletionStats:
Expand Down
48 changes: 28 additions & 20 deletions spec/schemas/cluster.reroute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,26 +121,34 @@ components:
- node
- shard
Metric:
type: string
enum:
- _all
- blocks
- cluster_manager_node
- master_node
- metadata
- nodes
- routing_nodes
- routing_table
- version
enumDescriptions:
_all: Returns all available metrics.
blocks: Returns information about cluster level blocks.
cluster_manager_node: Returns information about the current cluster manager node.
master_node: An alias for `cluster_manager_node`. Deprecated, but maintained for backwards compatibility.
metadata: Returns the cluster state metadata
nodes: Returns information about nodes in the cluster.
routing_nodes: Returns the node-level shard allocations.
version: Returns the cluster state version.
oneOf:
- type: string
const: _all
description: Returns all available metrics.
- type: string
const: blocks
description: Returns information about cluster-level blocks.
- type: string
const: cluster_manager_node
description: Returns information about the current cluster manager node.
- type: string
const: master_node
description: The alias for `cluster_manager_node`. Deprecated, but maintained for backwards compatibility.
- type: string
const: metadata
description: Returns the cluster state metadata.
- type: string
const: nodes
description: Returns information about nodes in the cluster.
- type: string
const: routing_nodes
description: Returns the node-level shard allocations.
- type: string
const: routing_table
description: Returns index-level shard allocations.
- type: string
const: version
description: Returns the cluster state version.
RerouteExplanation:
type: object
properties:
Expand Down

0 comments on commit 71cd5f9

Please sign in to comment.