-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Console Definitions From Elasticsearch to Kibana for 7.9 (#72556)
* Fixed issue with generated files. * Added xpack definitions * Added overrides for the endpoint request bodies. * Fixed overrides and tested them. Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information
1 parent
8f6e055
commit cc91e3d
Showing
107 changed files
with
779 additions
and
93 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
14 changes: 14 additions & 0 deletions
14
...e/server/lib/spec_definitions/json/generated/cluster.delete_voting_config_exclusions.json
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,14 @@ | ||
{ | ||
"cluster.delete_voting_config_exclusions": { | ||
"url_params": { | ||
"wait_for_removal": "__flag__" | ||
}, | ||
"methods": [ | ||
"DELETE" | ||
], | ||
"patterns": [ | ||
"_cluster/voting_config_exclusions" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html" | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...console/server/lib/spec_definitions/json/generated/cluster.exists_component_template.json
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,15 @@ | ||
{ | ||
"cluster.exists_component_template": { | ||
"url_params": { | ||
"master_timeout": "", | ||
"local": "__flag__" | ||
}, | ||
"methods": [ | ||
"HEAD" | ||
], | ||
"patterns": [ | ||
"_component_template/{name}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ns/console/server/lib/spec_definitions/json/generated/cluster.get_component_template.json
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,16 @@ | ||
{ | ||
"cluster.get_component_template": { | ||
"url_params": { | ||
"master_timeout": "", | ||
"local": "__flag__" | ||
}, | ||
"methods": [ | ||
"GET" | ||
], | ||
"patterns": [ | ||
"_component_template", | ||
"_component_template/{name}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ole/server/lib/spec_definitions/json/generated/cluster.post_voting_config_exclusions.json
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,16 @@ | ||
{ | ||
"cluster.post_voting_config_exclusions": { | ||
"url_params": { | ||
"node_ids": "", | ||
"node_names": "", | ||
"timeout": "" | ||
}, | ||
"methods": [ | ||
"POST" | ||
], | ||
"patterns": [ | ||
"_cluster/voting_config_exclusions" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html" | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ns/console/server/lib/spec_definitions/json/generated/cluster.put_component_template.json
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,17 @@ | ||
{ | ||
"cluster.put_component_template": { | ||
"url_params": { | ||
"create": "__flag__", | ||
"timeout": "", | ||
"master_timeout": "" | ||
}, | ||
"methods": [ | ||
"PUT", | ||
"POST" | ||
], | ||
"patterns": [ | ||
"_component_template/{name}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html" | ||
} | ||
} |
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
16 changes: 16 additions & 0 deletions
16
...le/server/lib/spec_definitions/json/generated/dangling_indices.delete_dangling_index.json
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,16 @@ | ||
{ | ||
"dangling_indices.delete_dangling_index": { | ||
"url_params": { | ||
"accept_data_loss": "__flag__", | ||
"timeout": "", | ||
"master_timeout": "" | ||
}, | ||
"methods": [ | ||
"DELETE" | ||
], | ||
"patterns": [ | ||
"_dangling/{index_uuid}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...le/server/lib/spec_definitions/json/generated/dangling_indices.import_dangling_index.json
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,16 @@ | ||
{ | ||
"dangling_indices.import_dangling_index": { | ||
"url_params": { | ||
"accept_data_loss": "__flag__", | ||
"timeout": "", | ||
"master_timeout": "" | ||
}, | ||
"methods": [ | ||
"POST" | ||
], | ||
"patterns": [ | ||
"_dangling/{index_uuid}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...le/server/lib/spec_definitions/json/generated/dangling_indices.list_dangling_indices.json
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,11 @@ | ||
{ | ||
"dangling_indices.list_dangling_indices": { | ||
"methods": [ | ||
"GET" | ||
], | ||
"patterns": [ | ||
"_dangling" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html" | ||
} | ||
} |
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
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
24 changes: 24 additions & 0 deletions
24
src/plugins/console/server/lib/spec_definitions/json/generated/indices.add_block.json
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,24 @@ | ||
{ | ||
"indices.add_block": { | ||
"url_params": { | ||
"timeout": "", | ||
"master_timeout": "", | ||
"ignore_unavailable": "__flag__", | ||
"allow_no_indices": "__flag__", | ||
"expand_wildcards": [ | ||
"open", | ||
"closed", | ||
"hidden", | ||
"none", | ||
"all" | ||
] | ||
}, | ||
"methods": [ | ||
"PUT" | ||
], | ||
"patterns": [ | ||
"{indices}/_block/{block}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-blocks.html" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...lugins/console/server/lib/spec_definitions/json/generated/indices.create_data_stream.json
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,11 @@ | ||
{ | ||
"indices.create_data_stream": { | ||
"methods": [ | ||
"PUT" | ||
], | ||
"patterns": [ | ||
"_data_stream/{name}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...lugins/console/server/lib/spec_definitions/json/generated/indices.data_streams_stats.json
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,22 @@ | ||
{ | ||
"indices.data_streams_stats": { | ||
"url_params": { | ||
"expand_wildcards": [ | ||
"open", | ||
"closed", | ||
"hidden", | ||
"none", | ||
"all" | ||
], | ||
"forbid_closed_indices": "__flag__" | ||
}, | ||
"methods": [ | ||
"GET" | ||
], | ||
"patterns": [ | ||
"_data_stream/_stats", | ||
"_data_stream/{name}/_stats" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...lugins/console/server/lib/spec_definitions/json/generated/indices.delete_data_stream.json
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,11 @@ | ||
{ | ||
"indices.delete_data_stream": { | ||
"methods": [ | ||
"DELETE" | ||
], | ||
"patterns": [ | ||
"_data_stream/{name}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ins/console/server/lib/spec_definitions/json/generated/indices.delete_index_template.json
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,15 @@ | ||
{ | ||
"indices.delete_index_template": { | ||
"url_params": { | ||
"timeout": "", | ||
"master_timeout": "" | ||
}, | ||
"methods": [ | ||
"DELETE" | ||
], | ||
"patterns": [ | ||
"_index_template/{name}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ins/console/server/lib/spec_definitions/json/generated/indices.exists_index_template.json
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,16 @@ | ||
{ | ||
"indices.exists_index_template": { | ||
"url_params": { | ||
"flat_settings": "__flag__", | ||
"master_timeout": "", | ||
"local": "__flag__" | ||
}, | ||
"methods": [ | ||
"HEAD" | ||
], | ||
"patterns": [ | ||
"_index_template/{name}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_data_stream.json
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,12 @@ | ||
{ | ||
"indices.get_data_stream": { | ||
"methods": [ | ||
"GET" | ||
], | ||
"patterns": [ | ||
"_data_stream", | ||
"_data_stream/{name}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html" | ||
} | ||
} |
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
17 changes: 17 additions & 0 deletions
17
...lugins/console/server/lib/spec_definitions/json/generated/indices.get_index_template.json
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,17 @@ | ||
{ | ||
"indices.get_index_template": { | ||
"url_params": { | ||
"flat_settings": "__flag__", | ||
"master_timeout": "", | ||
"local": "__flag__" | ||
}, | ||
"methods": [ | ||
"GET" | ||
], | ||
"patterns": [ | ||
"_index_template", | ||
"_index_template/{name}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html" | ||
} | ||
} |
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.