Martijn van Groningen
5a957ed678
Introduced dedicated alerting thread pool, which executes alert actions
...
Original commit: elastic/x-pack-elasticsearch@e49ecb3f7c
2014-11-05 16:08:27 +01:00
Martijn van Groningen
61a28f68e3
Upgraded to ES 1.4.0
...
Original commit: elastic/x-pack-elasticsearch@6685382a01
2014-11-05 16:06:36 +01:00
Brian Murphy
47a78648df
Alerts : Cleanup
...
This commit :
1. Ensures an alert will run even if the lastFireTime is null (first time we see an alert)
2. Removes the incorrect license that existed in some of the files.
3. Cuts the BasicTest over to use the AlertsClient and deletes the alert at the end of the test
to prevent it running in a race condition.
4. Moves the execute method signatures in AlertsClient to be on a single line.
Original commit: elastic/x-pack-elasticsearch@9c3aec0127
2014-11-05 10:05:17 +00:00
Alexander Reelsen
4903852f48
Packaging: Include build information
...
Also added a ShieldBuild class to return
* Shield version
* Shield build hash
* Shield build timestamp
Also added a '/_shield' endpoint which returns those fields.
Original commit: elastic/x-pack-elasticsearch@38928d1ef6
2014-11-05 10:28:02 +01:00
Areek Zillur
1eec394f8f
Merge branch 'master' into es_integration
...
Original commit: elastic/x-pack-elasticsearch@e57a626bff
2014-11-04 23:12:25 -05:00
Areek Zillur
7b6afbeb69
minor comments fix
...
Original commit: elastic/x-pack-elasticsearch@53e5432b55
2014-11-04 23:05:02 -05:00
Areek Zillur
3558ee76f9
remove license
...
Original commit: elastic/x-pack-elasticsearch@ae67cd82a5
2014-11-04 22:58:45 -05:00
Areek Zillur
3aec0fd1f0
- Fix test concurrency bugs
...
- Minor test fixes
- LicensesService documentation
Original commit: elastic/x-pack-elasticsearch@ab98ba8a2d
2014-11-04 22:54:27 -05:00
Areek Zillur
93944f27f2
minor fixes
...
Original commit: elastic/x-pack-elasticsearch@6dae7b4ee6
2014-11-04 17:38:14 -05:00
Areek Zillur
73754767dd
short-circuit master notification when registering trial license
...
Original commit: elastic/x-pack-elasticsearch@877df7705b
2014-11-04 16:51:19 -05:00
Areek Zillur
8007136e63
cleanup tests
...
Original commit: elastic/x-pack-elasticsearch@b7733b8269
2014-11-04 16:12:42 -05:00
Areek Zillur
97796d3634
minor comment fixes
...
Original commit: elastic/x-pack-elasticsearch@fbadfc9218
2014-11-04 16:01:01 -05:00
Areek Zillur
d9d04fceaf
LicensesService:
...
- Ensure license registration can be called through any stage of consumer plugin life cycle
- Added randomized plugin integration tests
- Run test on plugins with different license registration scheme
Original commit: elastic/x-pack-elasticsearch@1cee85943d
2014-11-04 15:48:20 -05:00
Brian Murphy
9a2e594647
Merge branch 'master' of https://github.com/elasticsearch/elasticsearch-alerts
...
Original commit: elastic/x-pack-elasticsearch@258c047506
2014-11-04 17:24:57 +00:00
Brian Murphy
4f58b9c5ff
Alerts : Forgot to add the AlertsClient package.
...
Sorry.
Original commit: elastic/x-pack-elasticsearch@8231a3845b
2014-11-04 17:24:18 +00:00
Brian Murphy
aced6039e9
Merge pull request elastic/elasticsearch#26 from elasticsearch/add-transport-actions
...
adds the following actions and an AlertsClient with AlertsClientInterface.
CreateAlert : Creates an alert.
UpdateAlert : Updates an existing alert.
DeleteAlert : Deletes an existing alert.
GetAlert : Gets an existing alert.
Original commit: elastic/x-pack-elasticsearch@8638fa7e35
2014-11-04 17:12:39 +00:00
Brian Murphy
9f3f23698f
Merge branch 'add-transport-actions' of https://github.com/elasticsearch/elasticsearch-alerts into add-transport-actions
...
Conflicts:
src/main/java/org/elasticsearch/alerts/AlertManager.java
src/main/java/org/elasticsearch/alerts/AlertsStore.java
src/main/java/org/elasticsearch/alerts/transport/actions/update/TransportUpdateAlertAction.java
src/main/java/org/elasticsearch/alerts/transport/actions/update/UpdateAlertResponse.java
src/test/java/org/elasticsearch/alerts/actions/AlertActionsTest.java
Original commit: elastic/x-pack-elasticsearch@3f1b58a2ee
2014-11-04 17:09:40 +00:00
Brian Murphy
85655ac16d
Alerts : Alert Transport Layer
...
This commit fixes the test and tests to make sure the alert we get back from
the alertsstore isn't null in execute alert since it may have been deleted.
Original commit: elastic/x-pack-elasticsearch@7a57dd090a
2014-11-04 17:03:03 +00:00
Brian Murphy
a05fc88f0d
Alerts: Transport actions
...
Add the UpdateAction (oops) and fix the test.
Original commit: elastic/x-pack-elasticsearch@ead7d446d7
2014-11-04 16:49:56 +00:00
Brian Murphy
75ce20ecff
Alerting transport layer.
...
This commit adds the transport layer to the alerting plugin.
Original commit: elastic/x-pack-elasticsearch@a99dce9411
2014-11-04 16:49:56 +00:00
Martijn van Groningen
669203b2a1
Removed checks for creating alert & history index from code and use index templates instead
...
Original commit: elastic/x-pack-elasticsearch@c81134701f
2014-11-04 17:23:05 +01:00
Brian Murphy
69942c6c79
Alerting transport layer.
...
This commit adds the transport layer to the alerting plugin.
Original commit: elastic/x-pack-elasticsearch@0b6cb4760f
2014-11-04 16:21:57 +00:00
Martijn van Groningen
c8c30f9b28
Properly resolve the place holders in the request source
...
Original commit: elastic/x-pack-elasticsearch@0d19c920d1
2014-11-04 16:01:20 +01:00
Martijn van Groningen
8ba9c1c609
Cleared up the alert / alert action entry classes and how the search request in the trigger manager gets prepared.
...
Original commit: elastic/x-pack-elasticsearch@52b16abb53
2014-11-04 11:27:58 +01:00
Areek Zillur
6c116e2fb3
- added serialization tests
...
- added license signature tests
- refactor unit tests
- testing infra
- cleanup license tools
- nuked FileBasedLicenseProvider
Original commit: elastic/x-pack-elasticsearch@2af36aecfa
2014-11-03 20:57:25 -05:00
Areek Zillur
e0ec8f6059
Tests & Refactoring:
...
- Added LicensesPluginsIntegrationTests (test with more than one consumer plugin)
- Minor fix for LicensesService
- Remove public_key_file from verify-license
- WIP: STATE_NOT_RECOVERED_BLOCK tests
Original commit: elastic/x-pack-elasticsearch@372034a86a
2014-11-03 10:44:52 -05:00
Igor Motov
c5f5c807bb
Fix test level logging
...
Original commit: elastic/x-pack-elasticsearch@aa8439bd89
2014-11-02 11:23:21 -05:00
Areek Zillur
dc8e3850e4
LicensesService: make sure feature registration happens only after first cluster changed event
...
Tests: added multiple plugin integration tests
Minor fixes
Original commit: elastic/x-pack-elasticsearch@d9a20b4a10
2014-10-31 18:31:17 -04:00
Areek Zillur
7d41146f38
LicensesService:
...
- remove scheduled notification offset
- improve test to test serial notification
Original commit: elastic/x-pack-elasticsearch@fbf811efaa
2014-10-31 14:14:05 -04:00
Areek Zillur
bf4d249221
minor doc fix
...
Original commit: elastic/x-pack-elasticsearch@88b9f7a13c
2014-10-31 12:58:28 -04:00
Areek Zillur
5051e30af2
LicensesService: Added Notification Documentation
...
Original commit: elastic/x-pack-elasticsearch@1337fbc9c7
2014-10-31 12:53:49 -04:00
Igor Motov
455dc77162
Add support for time in license issue and expiration dates
...
Original commit: elastic/x-pack-elasticsearch@27fb44ba1c
2014-10-31 12:44:18 -04:00
Areek Zillur
cc2859d22f
LicensesService: make sure that there are no race conditions on cluster state metaData
...
Original commit: elastic/x-pack-elasticsearch@095e7263b8
2014-10-31 11:36:44 -04:00
Martijn van Groningen
4373330a28
Changed the alert manager starting logic to move the loading logic down to alert store and alert action manager
...
Moved logic around from alert scheduler to action manager and trigger manager.
Original commit: elastic/x-pack-elasticsearch@8cba72b005
2014-10-31 10:28:42 +01:00
Igor Motov
feeae1956f
Enable license plugin to work on clients nodes
...
Original commit: elastic/x-pack-elasticsearch@1b940480ae
2014-10-30 19:58:47 -04:00
Igor Motov
a107b5d70a
TestConsumerPlugin shouldn't register its service on transport clients
...
Original commit: elastic/x-pack-elasticsearch@c9baa72a4b
2014-10-30 18:20:02 -04:00
Areek Zillur
34679d3e47
registerLicenses/trialLicenses should return currentCLusterState if not modified
...
Original commit: elastic/x-pack-elasticsearch@b8432ed988
2014-10-30 17:45:57 -04:00
Areek Zillur
1b9f069837
WIP: cluster integration tests
...
Original commit: elastic/x-pack-elasticsearch@99d055e04f
2014-10-30 17:29:55 -04:00
Igor Motov
d518cd86db
LicensesService cleanup
...
Original commit: elastic/x-pack-elasticsearch@348a2a6ca9
2014-10-30 17:14:43 -04:00
Areek Zillur
6d6f196af6
change to Elasticsearch Confidential license
...
Original commit: elastic/x-pack-elasticsearch@6d1d65a96f
2014-10-30 12:27:55 -04:00
Areek Zillur
b79757bb91
LicensesService: Documentation & minor cleanups
...
Original commit: elastic/x-pack-elasticsearch@5ce349e2f5
2014-10-30 12:17:10 -04:00
Areek Zillur
50fb5250ee
LicensesService:
...
- notification management
- dont notify when NOT_RECOVERED_BLOCK is on
- clean up & fixes
- improve tests
Original commit: elastic/x-pack-elasticsearch@907af6d308
2014-10-29 23:14:17 -04:00
Areek Zillur
d1b39f2c8e
Improved LicensesServiceTests (include randomized stress tests, multiple client registrations)
...
- minor pom fixing
Original commit: elastic/x-pack-elasticsearch@6a0a141eca
2014-10-29 19:45:40 -04:00
Martijn van Groningen
3e45310877
make more readable
...
Original commit: elastic/x-pack-elasticsearch@c7727618ac
2014-10-29 14:08:06 +01:00
Martijn van Groningen
12a6de0a57
Moved alert loading to use scan scroll instead of a single normal search
...
Original commit: elastic/x-pack-elasticsearch@06e70836ec
2014-10-29 10:20:36 +01:00
Martijn van Groningen
1e7fc84f06
Forgot to parse field
...
Original commit: elastic/x-pack-elasticsearch@23512bce74
2014-10-29 09:46:39 +01:00
Areek Zillur
9a64f00802
Refactored & improved LicensesTransportTests
...
Ensure that invalid licenses never make it to clusterState
Original commit: elastic/x-pack-elasticsearch@c6dfb6226d
2014-10-28 23:11:36 -04:00
Areek Zillur
d431c8b532
thorough plugin integration tests
...
Original commit: elastic/x-pack-elasticsearch@ff361ee49c
2014-10-28 22:25:41 -04:00
Areek Zillur
c2c1eeeb97
increase disable notification timeout for test
...
Original commit: elastic/x-pack-elasticsearch@59b9fce0bf
2014-10-28 21:44:21 -04:00
Areek Zillur
d7c9a2c8fc
LicensesService cleanup; test fix
...
Original commit: elastic/x-pack-elasticsearch@bc6b2fdce9
2014-10-28 21:27:30 -04:00