Commit Graph

5869 Commits

Author SHA1 Message Date
Martijn van Groningen ecdfdb11d9 Cleanup: removed lost synchronized keyword
Original commit: elastic/x-pack-elasticsearch@6eaa2a59a7
2014-11-14 00:01:09 +01:00
Martijn van Groningen 8705fd04b9 Core: Fix use of search templates
Original commit: elastic/x-pack-elasticsearch@401b9b39f2
2014-11-14 00:00:19 +01:00
Brian Murphy a78d10da42 README: Update readme with new REST actions.
This commit brings the README uptodate with the new alert REST managment interface.

Original commit: elastic/x-pack-elasticsearch@dea5855a80
2014-11-13 18:56:33 +00:00
Areek Zillur a397019139 [DOCS] updated Readme
Original commit: elastic/x-pack-elasticsearch@a6ad9db556
2014-11-13 13:25:46 -05:00
Brian Murphy aa6a51306c Merge branch 'master' of https://github.com/elasticsearch/elasticsearch-alerts
Original commit: elastic/x-pack-elasticsearch@bf4f4669f1
2014-11-13 18:24:02 +00:00
Brian Murphy e79a98c568 REST : Fix rendering on GetAlerts
Original commit: elastic/x-pack-elasticsearch@81fc5d86df
2014-11-13 18:23:11 +00:00
Martijn van Groningen cabdcd862b Core: Use reading/writing search request infra also in alert action
Original commit: elastic/x-pack-elasticsearch@14dbbfe164
2014-11-13 19:22:41 +01:00
Martijn van Groningen eb3f123ad6 Core: Better infra for reading/writing search request in alert
Original commit: elastic/x-pack-elasticsearch@febd43058b
2014-11-13 19:14:36 +01:00
Martijn van Groningen 6a5a1710d0 Core: Change <<< placeholder to {{
Original commit: elastic/x-pack-elasticsearch@39d2de2dd8
2014-11-13 18:39:23 +01:00
Martijn van Groningen f58b36b70a Core: fix trigger search for templates
Original commit: elastic/x-pack-elasticsearch@11cdc8a396
2014-11-13 18:36:07 +01:00
Brian Murphy c070e932c3 CORE : add keyed lock.
This commit adds a keyed lock to prevent concurrent modification of the alert store and alert index.

Original commit: elastic/x-pack-elasticsearch@416351c06d
2014-11-13 16:38:49 +00:00
Martijn van Groningen 1e593a4075 Build: Added mail and activation to depdency sets for the assembly plugin
Original commit: elastic/x-pack-elasticsearch@3af4f1b8d9
2014-11-13 15:55:16 +01:00
Brian Murphy d20bd52a27 REST : actually add the handlers.
Original commit: elastic/x-pack-elasticsearch@fce0de9dea
2014-11-13 14:27:25 +00:00
Brian Murphy e2340a9645 Merge branch 'master' of https://github.com/elasticsearch/elasticsearch-alerts
Original commit: elastic/x-pack-elasticsearch@9169ddaabe
2014-11-13 14:21:11 +00:00
Brian Murphy 31baa2aa47 REST : Add stats and get alert rest handlers.
Original commit: elastic/x-pack-elasticsearch@f402c13fc5
2014-11-13 14:20:05 +00:00
Martijn van Groningen d801537c9e Test: Added trigger search test
Core: Modified TriggerManager#prepareTriggerSearch to always produce a new instance.

Original commit: elastic/x-pack-elasticsearch@4041898645
2014-11-13 13:42:51 +01:00
Brian Murphy 8b2c6ba39d CORE : Add alerts stats.
This commit adds the alerts stats actions.

Original commit: elastic/x-pack-elasticsearch@c3c471de74
2014-11-13 11:25:28 +00:00
Areek Zillur 24147fd79c [DOCS] move private docs to project wiki
Original commit: elastic/x-pack-elasticsearch@2e47bdfde9
2014-11-12 19:28:30 -05:00
Areek Zillur 08429c2b16 Add readme note: go to wiki for private docs
Original commit: elastic/x-pack-elasticsearch@bbd976c15e
2014-11-12 19:20:09 -05:00
c-a-m 7472b50144 Fix listing of users without roles
When no users have roles, esusers will now correctly list all users.

Fixes https://github.com/elasticsearch/elasticsearch-shield/issues/315

Original commit: elastic/x-pack-elasticsearch@12f4c171d8
2014-11-12 17:10:07 -07:00
Areek Zillur a1d349fbb5 incorporate feedback; added doc
Original commit: elastic/x-pack-elasticsearch@30aaa05943
2014-11-12 18:42:52 -05:00
Areek Zillur b606be83f2 Add Generic ExpiredLicenseException
closes elastic/elasticsearch#5

Original commit: elastic/x-pack-elasticsearch@712e40214a
2014-11-12 18:25:50 -05:00
Areek Zillur 039cf21180 [BUILD] add licensing check on compile
Original commit: elastic/x-pack-elasticsearch@cfd2e1a3e5
2014-11-12 17:06:38 -05:00
Martijn van Groningen b731f84d68 Core: Removed unused methods.
Original commit: elastic/x-pack-elasticsearch@1aac9a440e
2014-11-12 22:11:45 +01:00
Martijn van Groningen cd2c74a6a0 Core: Simplify the template helper by using the actual put index template api instead of the MetaDataIndexTemplateService directly which allows for code reuse.
Original commit: elastic/x-pack-elasticsearch@1c646f3448
2014-11-12 22:04:41 +01:00
Martijn van Groningen e0741997d0 Test: Extended malformed test to also check if the strict alert mapping in the template is active.
Original commit: elastic/x-pack-elasticsearch@dfcad46f94
2014-11-12 21:27:48 +01:00
Areek Zillur 853c3eee7d minor fix to pass CI
Original commit: elastic/x-pack-elasticsearch@97be52a3eb
2014-11-12 13:11:26 -05:00
Areek Zillur 9a17a8a27a remove sonatype parent; update test plan links to point to master
Original commit: elastic/x-pack-elasticsearch@622c2c3dc8
2014-11-12 12:30:15 -05:00
Martijn van Groningen 4d581876bd Cleanup: removed unused field and method
Original commit: elastic/x-pack-elasticsearch@058e57f6c4
2014-11-12 18:03:17 +01:00
Martijn van Groningen 3bed2c92e2 Core: Retry shouldn't cause a new cluster state, but rather should be done in a forked thread.
Original commit: elastic/x-pack-elasticsearch@cb944ddce7
2014-11-12 18:02:15 +01:00
Brian Murphy 36dc82bcc5 AlertActions : Change the AlertActions to be simple POJOs and do the actions in the factories.
With this commit alert actions are simple pojos with the action descriptions. The actual actions are undertaken by the AlertActionFactories.

Original commit: elastic/x-pack-elasticsearch@d47b453018
2014-11-12 11:06:35 +00:00
Areek Zillur 1b25f8e72d [DOCS] minor readme ordering change
Original commit: elastic/x-pack-elasticsearch@fc929b5b77
2014-11-11 18:40:01 -05:00
Areek Zillur a25e00b519 [DOCS] update README
Original commit: elastic/x-pack-elasticsearch@1157a4c02f
2014-11-11 17:30:34 -05:00
Areek Zillur f8ca4a3a6d [TEST & DOCS] Added PluginIntegrationTestFramework & license plugin test doc
Original commit: elastic/x-pack-elasticsearch@f65e4b3823
2014-11-11 17:22:08 -05:00
Areek Zillur e57cea9430 [TEST] added more randomized tests; status field for license GET; minor doc fixes
Original commit: elastic/x-pack-elasticsearch@1b8b3bf34f
2014-11-10 22:57:21 -05:00
Areek Zillur 3a40c747e6 [DOCS] add REST API and DESIGN doc links to readme
Original commit: elastic/x-pack-elasticsearch@828d7370b0
2014-11-10 16:26:39 -05:00
Areek Zillur 4d46e6c277 [DOCS] License consumer interface
Original commit: elastic/x-pack-elasticsearch@056a7fbed3
2014-11-10 13:45:30 -05:00
Areek Zillur f95a198926 [DOCS]: added license-tool Usage & Reference
- minor refactoring of tests & plugin

Original commit: elastic/x-pack-elasticsearch@44ad694457
2014-11-10 13:00:58 -05:00
Martijn van Groningen 3c1e31bfbf Test: move no master node test over to only use unicast zen discovery. On the build server there is no multicast enabled.
Original commit: elastic/x-pack-elasticsearch@20eab58db1
2014-11-09 23:17:20 +00:00
Martijn van Groningen e87b0a980c Test: Fixed local discovery issue when running tests for plugins
Core: synchronized initializing and stopping the scheduler to avoid scheduler stops leaving leaking threads behind

Original commit: elastic/x-pack-elasticsearch@b845651430
2014-11-09 22:21:51 +00:00
Martijn van Groningen 77fc31f815 Test: Added todo
Original commit: elastic/x-pack-elasticsearch@4267ebfe8f
2014-11-09 21:25:05 +00:00
Martijn van Groningen 0e53268bf2 Test: Don't force networking mode.
By default use local transport to increase testing speed.
Also Zen discovery is required for plugin tests otherwise Guice errors occur (so far unclear to me what is causing this).

Original commit: elastic/x-pack-elasticsearch@0de574c12f
2014-11-09 21:17:57 +00:00
Martijn van Groningen 15c1b4c56d Core: Changed the way index templates are installed
Before the index templates were installed via json files in the config directory, this commit installs templates from the classpath via the put index template api.
Also template versioning is enforced.

Original commit: elastic/x-pack-elasticsearch@22f6596015
2014-11-09 20:50:03 +01:00
Martijn van Groningen b62da0691b Core: Make sure deletes are unscheduled and no npe is returned when a alert is deleted twice
Core: When an alert searches in an index that doesn't exist it shouldn't fail

Original commit: elastic/x-pack-elasticsearch@fc4ab8f823
2014-11-08 02:13:59 +01:00
Martijn van Groningen 4b089cb157 Build: include dependencies in plugin assembly
Original commit: elastic/x-pack-elasticsearch@276e87d8f8
2014-11-08 01:47:01 +01:00
Martijn van Groningen 94cf006b8f Replaced quartz thread pool by an impl that is backed by ES thread pool
Original commit: elastic/x-pack-elasticsearch@24a055dc00
2014-11-07 23:49:44 +01:00
Martijn van Groningen b11f0bf6df Test: changed default node settings
Core: AlertManager sets itself now

Original commit: elastic/x-pack-elasticsearch@fad2318528
2014-11-07 21:47:02 +01:00
Bill Hwang 728356f5b5 [BUILD] Add private repo hook
Original commit: elastic/x-pack-elasticsearch@aacbdf79b9
2014-11-07 15:15:22 -05:00
Martijn van Groningen a6bb3b533f Test: prevent npe
Original commit: elastic/x-pack-elasticsearch@8a332d22be
2014-11-07 20:32:24 +01:00
Martijn van Groningen c081a9b62c Test: assertAlertTrigger should wait for active shards in alert history index.
Original commit: elastic/x-pack-elasticsearch@bdf6370aee
2014-11-07 19:59:56 +01:00