b57c4f6ebe
In order to prepare to the distributed watch execution, this commit removes the in memory watch store. Whenever a watch is needed now, a get request is executed and the parsing is done. This happens when * Put * Get * Ack * Activate/Deactivate * Execute Note: This also means there are no usage stats currently regarding the watch count, because we would need to execute a query. This would require the usage stats to be async, see elastic/elasticsearch#3569 Another advantage is, that there is no dirty flag in the watch itself needed anymore, because the watch is always the latest. Also write operations store immediately and dont leave anything in memory. Also ActionListener.wrap() was used a lot instead of more verbose anonmyous inner classes. Original commit: elastic/x-pack-elasticsearch@c47465b47c |
||
---|---|---|
buildSrc | ||
dev-tools | ||
elasticsearch | ||
elasticsearch-transport-client | ||
license-tools | ||
qa | ||
.dir-locals.el | ||
.projectile | ||
GRADLE.CHEATSHEET.asciidoc | ||
LICENSE.txt | ||
README.asciidoc | ||
build.gradle | ||
gradle.properties | ||
settings.gradle |
README.asciidoc
= Elasticsearch X Plugins A set of Elastic's commercial plugins: - License - Security - Watcher - Monitoring = Setup You must checkout x-plugins and elasticsearch in the same directory as siblings. This elasticsearch checkout will be used when building x-plugins. = Build - Run unit tests: + [source, txt] ----- gradle clean test ----- - Run all tests: + [source, txt] ----- gradle clean check ----- - Run integration tests: + [source, txt] ----- gradle clean integTest ----- - Package X-Pack (wihtout running tests) + [source, txt] ----- gradle clean assemble ----- - Install X-Pack (wihtout running tests) + [source, txt] ----- gradle clean install ----- - If you don't work on the UI side of x-plugins, you can force gradle to skip building kibana by adding `xpack.kibana.build=false` to your `~/.gradle/gradle.properties`. Alternatively you add `-Pxpack.kibana.build=false` on the command line if you only want to do this on individual builds (or `-Pxpack.kibana.build=true` if you need to override having added this to your `gradle.properties`).