mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Console] Clean up after initial 7.7.0 spec definitions update (#61227)
* Move JSON files in console_extensions to mirror console struct. Also update the spec-to-console package README.md with the new instructions. * Re-add flat settings completion in indices.put_template * Re-add template completion suggestions for indices.get_template Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
4b4c5bca2d
commit
535b933b66
249 changed files with 20 additions and 31 deletions
|
@ -26,7 +26,7 @@ At the root of the Kibana repository, run the following commands:
|
|||
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/rest-api-spec/src/main/resources/rest-api-spec/api/*" -d "src/plugins/console/server/lib/spec_definitions/json"
|
||||
|
||||
# X-pack
|
||||
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/x-pack/plugin/src/test/resources/rest-api-spec/api/*" -d "x-pack/plugins/console_extensions/server/spec/generated"
|
||||
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/x-pack/plugin/src/test/resources/rest-api-spec/api/*" -d "x-pack/plugins/console_extensions/server/lib/spec_definitions/json"
|
||||
```
|
||||
|
||||
### Information used in Console that is not available in the REST spec
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
---
|
||||
|
||||
root: true
|
||||
extends: '../../../../../../../.eslintrc.js'
|
||||
|
||||
rules:
|
||||
block-scoped-var: off
|
||||
camelcase: off
|
||||
dot-location: off
|
||||
dot-notation: off
|
||||
eqeqeq: off
|
||||
guard-for-in: off
|
||||
new-cap: off
|
||||
no-caller: off
|
||||
no-empty: off
|
||||
no-extend-native: off
|
||||
no-loop-func: off
|
||||
no-multi-str: off
|
||||
no-nested-ternary: off
|
||||
no-proto: off
|
||||
no-sequences: off
|
||||
no-undef: off
|
||||
no-use-before-define: off
|
||||
one-var: off
|
||||
strict: off
|
||||
no-var: off
|
||||
prefer-const: off
|
|
@ -4,7 +4,8 @@
|
|||
"include_type_name": "__flag__",
|
||||
"order": "",
|
||||
"create": "__flag__",
|
||||
"master_timeout": ""
|
||||
"master_timeout": "",
|
||||
"flat_settings": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"PUT",
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"indices.get_template": {
|
||||
"patterns": [
|
||||
"_template",
|
||||
"_template/{template}"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
export { processors } from './ingest';
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue