OpenSearch/elasticsearch/x-pack/watcher
Ryan Ernst e3defb4dbd Internal: Remove guice cyclic dependency with InternalClient
The InternalClient is used by xpack code making requests to other nodes,
to add the xpack user to the thread context. To do this, it uses has a
dependency on the AuthenticationService, which in turn transitively
depends on InternalClient (eg IndexAuditTrail). But to add the xpack
user, the full authentication service is not necessary. Only having the
crypto service is needed in order to encrypt the header.

This change simplifes construction of InternalClient both making it a
real class instead of an interface, and removing the dependency on the
AuthenticationService. It also removes the use of
Provider<InternalClient> in users of the client.

Original commit: elastic/x-pack-elasticsearch@10f633bdf3
2016-07-14 13:46:07 -07:00
..
bin/x-pack Remove settings and system properties entanglement 2016-05-19 14:09:49 -04:00
dev-tools Moved shield, watcher, marvel and license plugin into common x-pack 2015-12-03 16:24:40 +01:00
src Internal: Remove guice cyclic dependency with InternalClient 2016-07-14 13:46:07 -07:00
README.asciidoc Moved shield, watcher, marvel and license plugin into common x-pack 2015-12-03 16:24:40 +01:00

README.asciidoc

= Elasticsearch Watcher Plugin

This plugins adds conditioned scheduled tasks features to elasticsearch - such a task is called a `Watch`.

You can build the plugin with `mvn package`.

The documentation is put in the `docs/` directory.