Ryan Ernst
33785e5446
Build: Improve behavior and setup for attachment to elasticsearch
...
Currently, running any task while attached to elasticsearch will also
try to run that task in all elasticsearch projects. This change causes
x-plugins to be moved into a subproject when attached. It does this by
dynamically creating a fake root project, and making this root project
think it is attached to the existing attachments, along with x-plugins
itself.
This also fixes buildSrc so attachment to elasticsearch's buildSrc
actually works.
Original commit: elastic/x-pack-elasticsearch@da0adf1da5
2015-11-06 11:08:03 -08:00
Tanguy Leroux
9fc92950c4
Fix Shield zip package
...
Original commit: elastic/x-pack-elasticsearch@eaf9dfc9ba
2015-11-06 16:17:03 +01:00
Tanguy Leroux
70f1b5c8f2
Marvel: Client nodes should be able to send metrics
...
closes elastic/elasticsearch#897
Original commit: elastic/x-pack-elasticsearch@1ebcc9de14
2015-11-06 15:32:13 +01:00
Tanguy Leroux
7e27abca98
Marvel: Add test for unsupported cluster version in HttpExporterTests
...
Original commit: elastic/x-pack-elasticsearch@556a05e86f
2015-11-06 15:12:12 +01:00
Your Full Name
bf4c42a40f
XContentExtraction: Fix state bug
...
This fixes a nasty bug, when trying to extract arrays, that contain objects
from a searchinput. Reason for this is, that we reset the state to early, while
still being in an array and not having read all of the embedded objects.
With Jackson 2.6 we should reuse jacksons capabilities to not only filter for
xcontent builders, but also for parsers. Not the nicest code ever.
Closes elastic/elasticsearch#852
Original commit: elastic/x-pack-elasticsearch@2682254644
2015-11-06 09:48:07 +01:00
debadair
6106128272
Docs: Added uninstall topics to Watcher & Shield. Closes elastic/elasticsearch#801 .
...
Original commit: elastic/x-pack-elasticsearch@b990c64647
2015-11-05 17:54:35 -08:00
Simon Willnauer
a9028da5d1
Merge pull request elastic/elasticsearch#933 from s1monw/catchup/14518
...
Fix API usage after index-level guice was removed
Original commit: elastic/x-pack-elasticsearch@06400cc58d
2015-11-05 18:39:12 +01:00
Robert Muir
f517fc8680
Merge pull request elastic/elasticsearch#935 from rmuir/nuke_poms
...
Remove confusing pom.xml files
Original commit: elastic/x-pack-elasticsearch@87c28d8cdc
2015-11-05 12:07:40 -05:00
Robert Muir
cfb77bf572
Remove confusing pom.xml files
...
Original commit: elastic/x-pack-elasticsearch@772a1eb5d3
2015-11-05 10:39:28 -05:00
Simon Willnauer
ad2835f6d3
Fix API usage after index-level guice was removed
...
See https://github.com/elastic/elasticsearch/pull/14518
Original commit: elastic/x-pack-elasticsearch@2428ee47c2
2015-11-05 13:18:58 +01:00
Robert Muir
5311da746b
Add jimfs as shield test dep and conditionalize file permissions changing in tests.
...
See elastic/elasticsearch#928 for followup work
Original commit: elastic/x-pack-elasticsearch@d435cf9000
2015-11-04 14:25:20 -05:00
Ryan Ernst
09b6e3cfdc
Add attachment docs to README
...
Original commit: elastic/x-pack-elasticsearch@49cbc9c66a
2015-11-04 11:19:13 -08:00
Ryan Ernst
dc2fcf22b0
Add jcenter to buildSrc repos so that when elasticsearch/buildSrc is
...
attached it finds it for the dummy perforce dependency.
Original commit: elastic/x-pack-elasticsearch@6bd377ab6a
2015-11-04 10:58:27 -08:00
Daniel Mitterdorfer
081ffbeced
Allow System#exit() from command line tools
...
This commit adds SuppressForbidden annotations to command line tools to
still allow to call System#exit() (see also issue 12596 in ES core).
Original commit: elastic/x-pack-elasticsearch@1dd3f1dcb1
2015-11-04 14:54:27 +01:00
Martijn van Groningen
1d6845190f
test: removed small change that should not have been committed
...
Original commit: elastic/x-pack-elasticsearch@3b069b775a
2015-11-04 19:07:14 +07:00
Martijn van Groningen
418c341e32
test: re-enabled a number of Watcher tests that were disabled
...
Relates to elastic/elasticsearch#724
Original commit: elastic/x-pack-elasticsearch@3bdd118f2e
2015-11-04 18:39:37 +07:00
Martijn van Groningen
b7b9fa3ba5
fixed shield due to the IndexQueryParseService removal change
...
Original commit: elastic/x-pack-elasticsearch@ad826b9245
2015-11-04 13:10:42 +07:00
Martijn van Groningen
8fe5a03aae
fixed compile error by removing unused imports
...
Original commit: elastic/x-pack-elasticsearch@59384c6a10
2015-11-04 11:39:19 +07:00
javanna
e6409ea171
[TEST] resolve compile error due to upstream changes
...
Original commit: elastic/x-pack-elasticsearch@b16c56ae6a
2015-10-31 10:31:54 +01:00
Ryan Ernst
a9037c296f
Fix lucene snapshot setup to automatically use lucene version ES uses
...
Original commit: elastic/x-pack-elasticsearch@cb42014e1c
2015-10-31 00:48:40 -07:00
Lee Hinman
439ba93a2f
Add .dir-locals.el and .projectile
...
Relates to https://github.com/elastic/elasticsearch/pull/14227
Original commit: elastic/x-pack-elasticsearch@7db90740dc
2015-10-30 11:16:29 -06:00
Alexander Reelsen
496ab1d033
Tests: Fixing ChainIntegrationTest to work without timewarp as well
...
Original commit: elastic/x-pack-elasticsearch@ba0b61022d
2015-10-30 13:51:29 +01:00
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
Lee Hinman
52cfa2b6ed
[TEST] Fix IndexPrivilegeTests for the _optimize removal
...
Original commit: elastic/x-pack-elasticsearch@cc1a8b94d4
2015-10-29 16:39:03 -06:00
Ryan Ernst
c5ff81e0ac
fix buildscript repos to have jcenter for silly "needed" perforce dep
...
Original commit: elastic/x-pack-elasticsearch@d21868e7d4
2015-10-29 15:21:25 -07: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
c088d19da4
Fixed YAML error in config. Closes elastic/elasticsearch#896
...
Original commit: elastic/x-pack-elasticsearch@7056bd5315
2015-10-29 11:38:56 -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
debadair
86ed4c84d6
Fixed download links. Closes elastic/elasticsearch#891 & elastic/elasticsearch#893 .
...
Original commit: elastic/x-pack-elasticsearch@f6711f2dbc
2015-10-28 16:33:41 -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
jaymode
2837a2d8dc
docs: shield release notes updates for 2.0GA
...
Original commit: elastic/x-pack-elasticsearch@6693be06da
2015-10-28 06:21:30 -04: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
Suyog Rao
7b0dbfe3c5
Update Shield docs with Logstash 2.0 changes
...
Most changes are related to the change in default
protocol from node to http
Fixes elastic/elasticsearch#882
Original commit: elastic/x-pack-elasticsearch@f5cad71f84
2015-10-27 18:18:31 -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
70ed74cd7d
Make sure license plugins classes are loaded before we can instantiate them
...
Original commit: elastic/x-pack-elasticsearch@c46fd7287e
2015-10-27 23:23:44 +01: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
Tanguy Leroux
f16dabc2bb
Marvel: fix template name in HttpExporter
...
Original commit: elastic/x-pack-elasticsearch@5f5592ad7f
2015-10-27 15:59:23 +01:00
Tanguy Leroux
496a595c24
Marvel: index_recovery type doesn't need all data indexed
...
closes elastic/elasticsearch#832
Original commit: elastic/x-pack-elasticsearch@5a8b2ea345
2015-10-27 15:34:07 +01:00
Simon Willnauer
b6038ae97f
Merge pull request elastic/elasticsearch#876 from s1monw/catchup/pull/14303
...
Use official public API to register query cache and index searcher wrapper
Original commit: elastic/x-pack-elasticsearch@00cd2ea3e5
2015-10-27 14:51:37 +01:00
jaymode
bb6fe2abcd
test: re-sync the smoke test plugins lists with core
...
Original commit: elastic/x-pack-elasticsearch@ba45f84d97
2015-10-27 09:48:31 -04:00
Simon Willnauer
3639465760
remove useless @Inject annoation to make sure nobody loads this in anger
...
Original commit: elastic/x-pack-elasticsearch@418381665c
2015-10-27 14:31:31 +01:00
Simon Willnauer
c132e55020
Use official public API to register query cache and index searcher wrapper
...
Closes elastic/elasticsearch#794
Original commit: elastic/x-pack-elasticsearch@eb94fbd145
2015-10-27 14:20:26 +01:00
Simon Willnauer
90335855cb
Merge pull request elastic/elasticsearch#875 from s1monw/catchup/pull/14293
...
Cut over to IndexModule to register query cache
Original commit: elastic/x-pack-elasticsearch@e96e6ee6ec
2015-10-27 12:30:41 +01:00
Simon Willnauer
6b742a0d60
fix tests - don't mock BitSetFilterCache
...
Original commit: elastic/x-pack-elasticsearch@ad9a507415
2015-10-27 12:24:04 +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
Tanguy Leroux
f3f5381bdc
Marvel: fix ShardsCollectorTests
...
closes elastic/elasticsearch#752
Original commit: elastic/x-pack-elasticsearch@d3aee60d8a
2015-10-27 11:54:05 +01:00
jaymode
b9b914408e
test: ensure the bulk has been opened before trying to export
...
The LocalExporter tests seem to fail regularly in CI. It appears as though there is a race condition
where the LocalExporter has not truly been started yet and the tests try to send a collected document
through the exporter. The documents being indexed by the test are never indexed and are dropped.
The tests now wait for the exporter to be started.
Relates to elastic/elasticsearch#847
Original commit: elastic/x-pack-elasticsearch@b391067cae
2015-10-27 06:51:32 -04:00
jaymode
203e6f4c6e
add ensureYellow
...
Original commit: elastic/x-pack-elasticsearch@698c00dd6b
2015-10-26 16:25:50 -04:00