* Backport spec_to_console script to work with new JSON file format. * Updated test fixture to use new JSON file pattern * Fix if statement
45 lines
935 B
JSON
45 lines
935 B
JSON
{
|
|
"cluster.health": {
|
|
"url_params": {
|
|
"expand_wildcards": [
|
|
"open",
|
|
"closed",
|
|
"none",
|
|
"all"
|
|
],
|
|
"level": [
|
|
"cluster",
|
|
"indices",
|
|
"shards"
|
|
],
|
|
"local": "__flag__",
|
|
"master_timeout": "",
|
|
"timeout": "",
|
|
"wait_for_active_shards": "",
|
|
"wait_for_nodes": "",
|
|
"wait_for_events": [
|
|
"immediate",
|
|
"urgent",
|
|
"high",
|
|
"normal",
|
|
"low",
|
|
"languid"
|
|
],
|
|
"wait_for_no_relocating_shards": "__flag__",
|
|
"wait_for_no_initializing_shards": "__flag__",
|
|
"wait_for_status": [
|
|
"green",
|
|
"yellow",
|
|
"red"
|
|
]
|
|
},
|
|
"methods": [
|
|
"GET"
|
|
],
|
|
"patterns": [
|
|
"_cluster/health",
|
|
"_cluster/health/{indices}"
|
|
],
|
|
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html"
|
|
}
|
|
}
|