kibana/tasks/config
Tyler Smalley 024c81697e Tribe node support (#9132)
* Adds support for Tribe nodes

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* @spalger review feedback

* Close create{Admin,Data}Cluster handles closing the connection
* Remove callAsKibanaUser argument from tests
* ClientLogger uses ES6 properties for tags and logQueries
* Ensure were destructuring cluster to access callAsKibanaUser

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Use class syntax on new data sources

* [tribe] Use includes instead of indexOf in call_client

* [tribe] DocRequest --> AbstractDocRequest

* [tribe] Fix AbstractDoc test rename

* Removes factory objects and adds addClientPlugin to Cluster (#9467)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Resolves eslint error

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Use properties on the instance instead of class properties

Class properties are still in the very eary stages and not widely supported.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Remove disabled dev tools app, do not bundle console when tribe is enabled

* [tribe] Use destructuring, don't reassign args

* [tribe] Use class syntax for client request wrapper

* [tribe] callAsKibanaUser -> callWithInternalUser

* [tribe] Remove clients from module context, service is a singleton

* [tribe] Use instance property shorthand for admin and data DocRequests

* Removes questions

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Fixes typo in tests

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Correctly names test case

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Revert "Use properties on the instance instead of class properties"

This reverts commit ebd06ae591.

* Adds tests for create_{admin,data}_cluster

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Persists clusters to server

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Move cluster config requests to distinct getters

* Adds getClient and removes addClientPlugin

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Expose createClient, consolidate config parsing

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Removes createClients from Cluster

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Prevent status change from red to red

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Updates esvm:tribe ports to be consistant with dev

9200 is admin
9201:9202 are both data clusters
9203 is a tribe node connecting to both data clusters

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Get ssl.ca from serverConfig

* [tribe/esvm] Remove plugin configuration

* Removes unused variable

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Named exports for creating clusters

* [tribe] Named exports for client logger, cluster

* [tribe] Named exports for health check

* Remove invalid comment

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Comment explaining difference between admin and data browser clients

* Rename ES checks to be consistant with functionality

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Organize NOOP functions

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Removing function comments

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Explicitly check for presence of url in tribe

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-12-30 09:46:55 -06:00
..
aws_s3.js [eslint] reenable no-extra-semi and quotes rules (#9473) 2016-12-13 18:17:47 -07:00
babel.js [eslint] re-enable no-var and prefer-const (#9455) 2016-12-13 10:44:27 -07:00
build.js Uppercase -SNAPSHOT on snapshot builds 2016-06-15 18:33:04 -04:00
clean.js build: remove deepModules hackery (#9327) 2016-12-01 19:52:37 -05:00
copy.js Fix build with ui framework (#9463) 2016-12-13 14:41:57 -07:00
eslint.js Upgrade eslint (#9357) 2016-12-12 13:44:18 -07:00
esvm.js Tribe node support (#9132) 2016-12-30 09:46:55 -06:00
intern.js [eslint] re-enable no-var and prefer-const (#9455) 2016-12-13 10:44:27 -07:00
karma.js add test sharding 2016-09-02 10:38:29 -07:00
licenses.js Fix build with ui framework (#9463) 2016-12-13 14:41:57 -07: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 [eslint] re-enable no-var and prefer-const (#9455) 2016-12-13 10:44:27 -07:00
run.js [eslint] enable object-curly-spacing and no-global-assign (#9486) 2016-12-14 13:29:32 -07:00
s3.js [eslint] re-enable no-var and prefer-const (#9455) 2016-12-13 10:44:27 -07:00
services.js [eslint] re-enable no-var and prefer-const (#9455) 2016-12-13 10:44:27 -07:00
simplemocha.js Use spec reporter for Mocha tests (#9470) 2016-12-13 17:05:05 -08:00