* [es][savedObjects/index] put template on each savedObject write The elasticsearch plugin currently checks for the Kibana index on each iteration of the healthCheck, and creates it if it does not exist. This removes that step from the healthCheck and instead, before each savedObject is written to elasticsearch, ensures that Elasticsearch has the necessary index template should the write result in index creation. The healthCheck still has the `patchKibanaIndex()` logic, which checks the type in the Kibana index and adds any missing types. This step now does nothing when the Kibana index does not exist, and does what it has always done when it does. * [ftr] remove unused kibanaIndex service (cherry picked from commit b1ef897dafeb6d43fe279776e44a9d793a389dc3) * [savedObjects/integration] create now creates kibana index * [es/healthCheck] remove use of format() * [es/healthCheck/tests] use sinon assertions * [es/patchKibanaIndex] test for kibana index missing behavior * [savedObjects/errors] add tests for EsAutoCreateIndexError * [savedObjects/config] deprecate and remove savedObjects.indexCheckTimeout config * use dangling commas consistently * [ui/error_auto_create_index] fix class names * [ui/savedObjectsClient] no need to specify basePath * [eslint] fix linting issue |
||
---|---|---|
.. | ||
build | ||
config | ||
lib | ||
utils | ||
check_plugins.js | ||
functional_test_runner.js | ||
jenkins.js | ||
licenses.js | ||
licenses_csv_report.js | ||
plugin.js | ||
reject_rej_files.js | ||
release.js | ||
release_packages.js | ||
setup_kibana.js | ||
sterilize.js | ||
test.js | ||
test_jest.js | ||
ui_framework.js |