Alexander Reelsen
04a8fb3202
Watcher: Add chained input
...
```
Chained input for now works like this
{
"chain" : [
{ "first" : { "simple" : { "foo" : "bar" } } },
{ "second" : { "simple" : { "spam" : "eggs" } } }
]
```
This allows to access the payload via ctx.payload.first.foo for example
The array notation is needed to guarantee order, as JSON itself does not guarantee
order of objects.
Closes elastic/elasticsearch#353
Original commit: elastic/x-pack-elasticsearch@7ab32c43a8
2015-10-30 10:22:26 +01:00
Ryan Ernst
d1b5d020f5
Switch to gradle build system.
...
See elastic/elasticsearchelastic/elasticsearch#13930
Original commit: elastic/x-pack-elasticsearch@b8d26ebd2a
2015-10-29 11:44:48 -07:00
debadair
fa49b5c62f
Fixed download links. Closes elastic/elasticsearch#894 .
...
Original commit: elastic/x-pack-elasticsearch@9f8bc6d6bc
2015-10-28 16:47:57 -07:00
Alexander Reelsen
6920a09cd2
Docs: Updated watcher java docs to show that plugin must be loaded
...
Using the new addPlugin() instead of plugin.types setting.
Original commit: elastic/x-pack-elasticsearch@e1deea853c
2015-10-28 11:54:11 +01:00
debadair
a705b6fb3e
Watcher Docs: Fixed typo in float tag.
...
Original commit: elastic/x-pack-elasticsearch@afc0a19b26
2015-10-27 19:18:57 -07:00
debadair
e81e640190
Docs: Consolidated Watcher 2.0 release notes. Fixed pkg install cmds and subscription links for Watcher & Shield.
...
Original commit: elastic/x-pack-elasticsearch@1387a61a8f
2015-10-27 18:01:41 -07:00
Clinton Gormley
604975d2c1
Updated docs links to point to master branches
...
Original commit: elastic/x-pack-elasticsearch@2f15df4847
2015-10-28 01:33:59 +01:00
Robert Muir
8aa8d88d3d
x-plugins security changes for elastic/elasticsearch#14311
...
* watcher needs setFactory at least for now
* fix watcher build to include security.policy (it duplicates too much build logic, this is hard)
* fix watcher build to respect test logging parameters.
Original commit: elastic/x-pack-elasticsearch@d2dc5f82e7
2015-10-27 20:07:38 -04:00
Simon Willnauer
c74ae7aad2
[TEST] Don't wrap query in wrapper query
...
This is caused by a breaking change in https://github.com/elastic/elasticsearch/pull/14304
Original commit: elastic/x-pack-elasticsearch@b376ad2042
2015-10-27 21:47:11 +01:00
Simon Willnauer
2cb0cbf62a
Cut over to IndexModule to register query cache
...
This commit cuts over to the new query cache registry in IndexModule added in
https://github.com/elastic/elasticsearch/pull/14293
Original commit: elastic/x-pack-elasticsearch@4d56584b01
2015-10-27 12:04:37 +01:00
debadair
388f8cec6b
Watcher Docs: Fixed messed up cross document links.
...
Original commit: elastic/x-pack-elasticsearch@c36c546d16
2015-10-21 14:29:23 -07:00
Alexander Reelsen
ea032cd3a9
HttpClient: Add proxy support
...
Allows to configure watcher.http.proxy.host and watcher.http.proxy.port properties to
configure a HTTP proxy as well as specify a proxy whenever a HTTP request is executed.
Closes elastic/elasticsearch#587
Original commit: elastic/x-pack-elasticsearch@75ef260fef
2015-10-21 17:24:35 +02:00
jaymode
f5e9c826b4
docs: remove configuration path setting from plugin install commands
...
The additional setting to specify the configuration path is no longer needed with elasticsearch 2.0, so
we should remove it from the documentation. Also cleans up the installation commands to be in line
with what 2.0 requires.
Original commit: elastic/x-pack-elasticsearch@b269568a67
2015-10-21 07:14:34 -04:00
Nik Everett
8231e856c2
Remove and ban @Test
...
Original commit: elastic/x-pack-elasticsearch@02425ca13d
2015-10-20 18:20:46 -04:00
debadair
aeffd696ff
Watcher Docs: Added license management topic. Closes elastic/elasticsearch#706 .
...
Original commit: elastic/x-pack-elasticsearch@477d14ecd3
2015-10-20 10:03:04 -07:00
Steve Kearns
e1dde82724
Update LICENSE.txt for shield and watcher with new EULA
...
Original commit: elastic/x-pack-elasticsearch@9dd554efff
2015-10-20 15:47:00 +02:00
uboness
c2c7cbf2f5
updated LICENSE.txt and NOTES.txt
...
Closes elastic/elasticsearch#837
Closes elastic/elasticsearch#310
Original commit: elastic/x-pack-elasticsearch@164817c0c8
2015-10-20 14:58:36 +02:00
Nik Everett
bdc464cf0e
Merge pull request elastic/elasticsearch#810 from nik9000/drop_test_shard_routing
...
Remove TestShardRouting
Original commit: elastic/x-pack-elasticsearch@fb3e619135
2015-10-19 10:00:25 -04:00
javanna
baa36f7bae
adapt to upstream java count api removal
...
Original commit: elastic/x-pack-elasticsearch@ea6c53b88e
2015-10-19 15:10:59 +02:00
javanna
7ec03c040b
[TEST] fix test problem after search refactoring
...
Original commit: elastic/x-pack-elasticsearch@10d4f061ce
2015-10-16 15:42:41 +02:00
Alexander Reelsen
215a554555
Tests: Fixing more tests in Watcher after query refactoring
...
Original commit: elastic/x-pack-elasticsearch@1a0b654c56
2015-10-16 15:04:05 +02:00
Colin Goodheart-Smithe
f1bd2cdab7
[TEST] fix WatcherUtilsTests
...
Original commit: elastic/x-pack-elasticsearch@c2ac559b2d
2015-10-16 13:32:42 +01:00
Colin Goodheart-Smithe
4f1f535937
[TEST] fix template comparisons in watcher tests
...
Original commit: elastic/x-pack-elasticsearch@8edc47089b
2015-10-16 13:29:58 +01:00
Colin Goodheart-Smithe
acec3c9216
[TEST] Fixes to failing watcher tests
...
Original commit: elastic/x-pack-elasticsearch@4d592b9c92
2015-10-16 10:09:13 +01:00
Colin Goodheart-Smithe
7a5fe13c34
Fixes to ensure the watcher context is added to templates
...
Original commit: elastic/x-pack-elasticsearch@a1dfecdd6b
2015-10-16 09:35:14 +01:00
Colin Goodheart-Smithe
4cd02142a2
fixes for compile errors due to search request refactoring in core
...
Original commit: elastic/x-pack-elasticsearch@8808789912
2015-10-16 08:18:20 +01:00
Areek Zillur
ae552efc3c
[license] simplify Licensee interface
...
Currently, Licensee#onChange is called with a license and its status, It would be
cleaner if it accepted the license's operationMode and status as parameters instead.
This hides the license responsible for the notification from the consumer plugins and only
provides the license information used by the commercial plugins to turn features on via
operationMode and status to act on whether the current license is enabled, in
grace_period or disabled.
Original commit: elastic/x-pack-elasticsearch@b0ea7ec32b
2015-10-15 17:57:54 -04:00
Nik Everett
79b8541582
[test] Remove TestShardRouting
...
This fixes jarhell issues running watcher tests in Eclipse but it requires
that elasticsearch core export its copy of TestShardRouting in its test jar.
Original commit: elastic/x-pack-elasticsearch@2a83d52553
2015-10-15 09:54:16 -04:00
Jason Tedor
a0b9d424e6
Reflect upstream changes to o.e.c.m.IndexMetaData
...
This commit reflects some upstream method removals from
o.e.c.m.IndexMetaData.
Original commit: elastic/x-pack-elasticsearch@74b25628dc
2015-10-14 21:05:35 -04:00
Alexander Reelsen
b927fd08bc
Watcher: Adhere to new licensing requirements
...
* Basic license equlas disabling
* trial/gold/platinum: everything is allowed
* On expiry: actions of watches do not execute, PUT/GET on watches is disabled
Closes elastic/elasticsearch#688
Original commit: elastic/x-pack-elasticsearch@7017c62136
2015-10-14 17:59:09 +02:00
Rashmi Kulkarni
245614c9cb
actual _watcher/stats response
...
Original commit: elastic/x-pack-elasticsearch@e7911244cf
2015-10-13 15:19:03 -07:00
Alexander Reelsen
b95101f7a0
Documentation: Repleace search_type=count with size=0 in the docs
...
Relates elastic/elasticsearch#787
Original commit: elastic/x-pack-elasticsearch@f0183cedc3
2015-10-13 18:24:36 +02:00
Alexander Reelsen
ef86ea87f6
Tests: Fix DataAttachmentTests to not use System.lineSeparator
...
The DataAttachmentsTests used the default line separator for checking
JSON syntax and indendation. This is not working anymore due to
elastic/elasticsearchelastic/elasticsearch#13816 and thus fails on windows.
This commit just uses `\n` everywhere as Elasticsearch does as well.
Closes elastic/elasticsearch#728
Original commit: elastic/x-pack-elasticsearch@dce572e272
2015-10-13 10:49:22 +02:00
Jason Tedor
b468c74401
Remove Guava as a dependency
...
This commit removes Guava as a dependency. Note that Guava will remain
as a test-only dependency (transitively through Elasticsearch through
Jimfs).
Relates elastic/elasticsearchelastic/elasticsearch#13224
Original commit: elastic/x-pack-elasticsearch@fe23d5f25f
2015-10-09 14:56:03 -04:00
Nik Everett
f18b66fdc4
Handle missing actions when parsing WatchStatus
...
Original commit: elastic/x-pack-elasticsearch@b868aa1a62
2015-10-09 12:27:01 -04:00
Nik Everett
2bde3de3f0
Merge branch 'master' into immutable_map_be_gone
...
Original commit: elastic/x-pack-elasticsearch@62358ec345
2015-10-09 12:25:28 -04:00
Areek Zillur
daf4a9765c
[License] Feature agnostic licensing model
...
This commit changes the license plugin to work with license that are not tied to any specific feature in a bwc way. It refactors the license plugin api into a lighter weight API, enabling the license plugin to manage license expiration and acknowledgment triggers.
closes elastic/elasticsearch#683 , elastic/elasticsearch#686 , elastic/elasticsearch#687 , elastic/elasticsearch#691
Original commit: elastic/x-pack-elasticsearch@537cd3933a
2015-10-09 00:32:15 -04:00
Martijn van Groningen
56981b5fff
watcher: removed calibrating with round clock in ticker trigger engine
...
Closes elastic/elasticsearch#749
Original commit: elastic/x-pack-elasticsearch@f9f2db50d5
2015-10-07 18:12:20 +02:00
Nik Everett
0ff0cb7cd5
Merge branch 'master' into immutable_map_be_gone
...
Original commit: elastic/x-pack-elasticsearch@9eb0fb4bd7
2015-10-06 09:41:00 -04:00
Adrien Grand
fec6ab7c22
Fix compile due to upstream elasticsearch changes.
...
Original commit: elastic/x-pack-elasticsearch@18033465c9
2015-10-06 14:00:50 +02:00
Martijn van Groningen
a569951187
docs: updated release notes for elastic/elasticsearch#649 change
...
Original commit: elastic/x-pack-elasticsearch@ee5e009fd2
2015-10-06 11:36:09 +02:00
Martijn van Groningen
686c92312f
Prevent Watcher to start if `action.auto_create_index` setting is too restrictive.
...
Closes elastic/elasticsearch#649
Original commit: elastic/x-pack-elasticsearch@afe05332ce
2015-10-06 11:22:06 +02:00
Martijn van Groningen
2cdd8c068f
fixed compile error due to upstream change
...
Original commit: elastic/x-pack-elasticsearch@7c745ab463
2015-10-06 11:19:10 +02:00
Nik Everett
dab504f6ba
Remove ImmutableMap$Builder
...
Original commit: elastic/x-pack-elasticsearch@f0d3f71887
2015-10-05 17:11:33 -04:00
Nik Everett
1d61278b2d
More ImmutableMap banning
...
Original commit: elastic/x-pack-elasticsearch@59fee6e288
2015-10-05 13:35:31 -04:00
Nik Everett
eb60d5925a
Start banning ImmutableMap
...
Original commit: elastic/x-pack-elasticsearch@b895e51944
2015-10-05 13:35:31 -04:00
Robert Muir
4d71d18f50
Disable flaky test. See elastic/elasticsearch#728
...
Original commit: elastic/x-pack-elasticsearch@9210df1844
2015-09-29 21:27:18 -04:00
Robert Muir
9e9b835213
Move watcher REST tests that require groovy to smoke-test-watcher-with-groovy
...
See https://github.com/elastic/x-plugins/issues/724
Original commit: elastic/x-pack-elasticsearch@ab95aef8e3
2015-09-29 07:49:44 -04:00
Robert Muir
15bb2581a0
Fix compile and unit test phase by disabling unit tests with direct groovy dependencies (temporary!)
...
See https://github.com/elastic/x-plugins/issues/724
Original commit: elastic/x-pack-elasticsearch@27862a76cb
2015-09-29 07:06:51 -04:00
Nik Everett
c6e7c9c1d6
Merge branch 'master' into immutable_set_be_gone
...
Original commit: elastic/x-pack-elasticsearch@faa212ffbd
2015-09-25 10:47:16 -04:00