kibana/tasks/config
Spencer 90e2aa001b
[savedObjects] Use index template (#14271)
* [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
2017-11-21 17:05:46 -07:00
..
aws_s3.js [eslint] enable no undef (#10825) 2017-03-22 07:08:23 -07:00
babel.js create babel-preset and babel-register modules (#13973) 2017-09-19 17:44:47 -07:00
build.js Allow build configuration to run on Windows machines (#9951) 2017-01-18 23:17:57 -05:00
clean.js [build] Clean examples from node modules (#14587) 2017-10-31 13:07:01 -05:00
copy.js [precommit hook] add dev script (#14890) 2017-11-20 14:22:24 -07:00
esvm.js Implement esTestCluster test util (#13099) 2017-07-28 09:47:41 -07:00
functional_test_runner.js [ftr] make room for more projects (#11848) 2017-05-17 18:53:45 -07:00
i18nextract.js [eslint] enable no undef (#10825) 2017-03-22 07:08:23 -07:00
karma.js [eslint] enable no undef (#10825) 2017-03-22 07:08:23 -07:00
licenses.js Add (MIT AND Zlib) to acceptable licenses. (#14985) 2017-11-15 17:12:32 -08:00
packages.js [build] Include full version in staging package prefix, set production prefix separately 2016-07-21 21:27:42 -05:00
platforms.js build: remove 32 bit builds (#11941) 2017-05-25 16:15:25 -04:00
run.js [precommit hook] add dev script (#14890) 2017-11-20 14:22:24 -07:00
s3.js [eslint] enable no undef (#10825) 2017-03-22 07:08:23 -07:00
services.js Upgrade to eslint 4 (#14862) 2017-11-14 18:16:59 -07:00
simplemocha.js [savedObjects] Use index template (#14271) 2017-11-21 17:05:46 -07:00