Brian Murphy
84680f84b3
TESTS : Fix the alert stats test failure and some cleanup and docs.
...
This test fixes the alert stats test failures due the the scope being suite scope
which meant that the pass/fail was dependent on execution order for the clean start test.
Also add asciidoc for alert stats.
Original commit: elastic/x-pack-elasticsearch@be3ff86359
2014-11-19 09:33:16 +00:00
c-a-m
a59b389967
[TEST] Fixes the ssl configuration of the rest tests
...
The rest tests were configured with transport and http settings for ssl. This
changes that to the shield.ssl settings.
Original commit: elastic/x-pack-elasticsearch@19b96f7fa3
2014-11-18 17:00:30 -07:00
Brian Murphy
90a214f9ab
TEST fix the stats test.
...
Original commit: elastic/x-pack-elasticsearch@021cb7d5f2
2014-11-18 16:03:06 +00:00
Brian Murphy
7d27fdfc4b
TEST fix the alert serialization test to look at each field instead of compairing alerts directly.
...
Original commit: elastic/x-pack-elasticsearch@2d0d4ce6df
2014-11-18 15:46:17 +00:00
Brian Murphy
6e7ea3cc5b
Core: Add javadocs and add refresh to queue loading
...
This commit adds javadocs to the Request/Response/Action classes and
Adds a refresh to the loading of both the action queue and the alerts.
Original commit: elastic/x-pack-elasticsearch@853be114dd
2014-11-18 15:42:22 +00:00
c-a-m
eaac7ff250
This adds a static clear method fot LdapSSLSocketFactory for testing
...
This clears the LdapSSLSocketFactory "singleton" for reproducible tests.
Fixes https://github.com/elasticsearch/elasticsearch-shield/issues/336
Original commit: elastic/x-pack-elasticsearch@baa3a2ce60
2014-11-18 08:07:39 -07:00
c-a-m
a224b54973
Simplied SSL keystores and truststores
...
This puts one keystore in the SSLService. An optional truststore can be configured but the
keystore defaults as the truststore. This change also removed the ability to do certificate authentication with clients.
Resolves https://github.com/elasticsearch/elasticsearch-shield/issues/292
Original commit: elastic/x-pack-elasticsearch@59920db32a
2014-11-18 08:07:27 -07:00
Brian Murphy
5491e8e4b3
TESTS : Add stats test and bootstrap test
...
This commit adds tests for the stats API along with a bootstrap test.
The bootstrap test is currently failing outside of a debugger for me so I'm digging into it.
Original commit: elastic/x-pack-elasticsearch@db497a6b51
2014-11-18 11:17:00 +00:00
Martijn van Groningen
43043ce3ce
Added `search_type` option to the trigger search in an alert.
...
The default `search_type` is `count`.
Closes elastic/elasticsearch#38
Original commit: elastic/x-pack-elasticsearch@8e87aaea36
2014-11-17 19:02:23 +01:00
Martijn van Groningen
732d7018b4
Core: Made the trigger search request templating use the mustache / script service.
...
Closes elastic/elasticsearch#47
Original commit: elastic/x-pack-elasticsearch@db22c882dd
2014-11-17 15:06:09 +01:00
Martijn van Groningen
532e5d7b35
Core: Change the rest api url structure as if all operations are targetted for the `.alerts` index.
...
Closes elastic/elasticsearch#44
Original commit: elastic/x-pack-elasticsearch@0f1a9e23b1
2014-11-17 12:09:22 +01:00
Areek Zillur
eb5a06a1f9
Log feature license statuses on startup
...
Original commit: elastic/x-pack-elasticsearch@0cf5fc0354
2014-11-14 20:19:06 -05:00
Areek Zillur
8bf9b95033
Change action names to indicate it is a plugin action
...
closes elastic/elasticsearch#10
Original commit: elastic/x-pack-elasticsearch@badae4062a
2014-11-14 19:41:45 -05:00
Areek Zillur
f6a2a690b2
[CORE] Add feature getter on LicenseExpiredException
...
Original commit: elastic/x-pack-elasticsearch@a04b73ff00
2014-11-14 19:26:18 -05:00
Martijn van Groningen
6891702397
Fix template error
...
Original commit: elastic/x-pack-elasticsearch@2f1733348a
2014-11-14 21:14:24 +01:00
javanna
90d4c43a6d
[TEST] replaced all the TemporaryFolder rules with utils provided by the randomized runner
...
There is no need to use TempraryFolder rules in our tests, since we depend on randomized runner which creates a globalTempDir() whose cleaning is already managed by the infra. Any other dir or file should be created under the global temp dir by specifying also its desired duration (SUITE or TEST).
Closes elastic/elasticsearch#337
Original commit: elastic/x-pack-elasticsearch@7456882d18
2014-11-14 17:46:06 +01:00
Brian Murphy
dfc645a589
Merge branch 'master' of https://github.com/elasticsearch/elasticsearch-alerts
...
Original commit: elastic/x-pack-elasticsearch@db6f1ac43b
2014-11-14 16:01:38 +00:00
Brian Murphy
b04d8261de
README : Update the read me with a scripted aggregation alert.
...
Original commit: elastic/x-pack-elasticsearch@d2acb63f26
2014-11-14 16:00:39 +00:00
Martijn van Groningen
f6e28c96ca
Core: move errorMessage field to error_message field
...
Closes elastic/elasticsearch#25
Original commit: elastic/x-pack-elasticsearch@186f812919
2014-11-14 11:16:32 +01:00
Martijn van Groningen
5c34d8b59a
Core: Renamed AlertsClient to NodeAlertsClient and renamed AlertsClientInterface to AlertsClient
...
Original commit: elastic/x-pack-elasticsearch@7aff2cbdd8
2014-11-14 00:45:05 +01:00
Martijn van Groningen
e5293ba0c3
Core: Transport classes are now managed by Guide and are injected into the AlertsClient
...
Original commit: elastic/x-pack-elasticsearch@3cfdd3dc71
2014-11-14 00:37:49 +01:00
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