-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove help_url,rename summary to symptom, and user_actions to diagno…
…sis (#88553) Remove help_url,rename summary->symptom,user_actions->diagnosis Separate the diagnosis `message` field in `cause` and `action` Co-authored-by: Mary Gouseti <mgouseti@gmail.com>
- Loading branch information
Showing
25 changed files
with
287 additions
and
357 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 88553 | ||
summary: "Remove help_url,rename summary to symptom, and `user_actions` to diagnosis" | ||
area: Health | ||
type: feature | ||
issues: | ||
- 88474 |
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
28 changes: 28 additions & 0 deletions
28
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/health/40_diagnosis.yml
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,28 @@ | ||
--- | ||
"Diagnosis": | ||
- skip: | ||
version: "- 8.3.99" | ||
reason: "diagnosis was only added in 8.4.0" | ||
|
||
- do: | ||
indices.create: | ||
index: red_index | ||
body: | ||
settings: | ||
number_of_shards: 1 | ||
number_of_replicas: 0 | ||
index.routing.allocation.enable: none | ||
|
||
- do: | ||
_internal.health: | ||
component: data | ||
feature: shards_availability | ||
|
||
- is_true: cluster_name | ||
- match: { components.data.indicators.shards_availability.status: "red" } | ||
- match: { components.data.indicators.shards_availability.symptom: "This cluster has 1 unavailable primary." } | ||
- is_true: components.data.indicators.shards_availability.diagnosis | ||
- length: { components.data.indicators.shards_availability.diagnosis: 1 } | ||
- is_true: components.data.indicators.shards_availability.diagnosis.0.affected_resources | ||
- length: { components.data.indicators.shards_availability.diagnosis.0.affected_resources: 1 } | ||
- match: { components.data.indicators.shards_availability.diagnosis.0.affected_resources.0: "red_index" } |
28 changes: 0 additions & 28 deletions
28
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/health/40_useractions.yml
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.