Tanguy Leroux
06259f1836
Use ElasticsearchException.generateThrowableXContent() and metadataToXContent() ( elastic/elasticsearch#4655 )
...
This is the x-pack siblings of elastic/elasticsearchelastic/elasticsearch#22611
Original commit: elastic/x-pack-elasticsearch@57924a6f1a
2017-01-17 15:45:53 +01:00
Simon Willnauer
9e1f81d1e4
fix line len
...
Original commit: elastic/x-pack-elasticsearch@15d060560b
2017-01-16 21:17:22 +01:00
Simon Willnauer
6ebeaae972
Followup for elastic/elasticsearchelastic/elasticsearch#22636 ( elastic/elasticsearch#4634 )
...
Original commit: elastic/x-pack-elasticsearch@a6b2c88610
2017-01-16 21:06:30 +01:00
Jason Tedor
f677f3e327
Expose logs base path
...
This commit responds to a change in core Elasticsearch to expose
different properties for configuring the log files.
Relates elastic/elasticsearch#4633
Original commit: elastic/x-pack-elasticsearch@4caab617bf
2017-01-16 07:40:29 -05:00
Simon Willnauer
507e8d5461
Followup for elastic/elasticsearchelastic/elasticsearch#22618 ( elastic/elasticsearch#4625 )
...
Original commit: elastic/x-pack-elasticsearch@366253f46f
2017-01-15 13:36:03 +01:00
Lee Hinman
1ee5ac8a89
[TEST] Fix issue with bulk security rejections
...
Now that /_bulk requests are handled on a shard level, the entire request isn't
rejected, instead, each individual request is rejected. This changes the assert
accordingly.
Relates to elastic/elasticsearch#4441
Original commit: elastic/x-pack-elasticsearch@7ca777b574
2017-01-13 11:49:37 -07:00
Lee Hinman
4db2d7101a
Merge remote-tracking branch 'z-areek/enhancement/use_shard_bulk_for_single_ops'
...
Original commit: elastic/x-pack-elasticsearch@bb4265d026
2017-01-13 10:46:20 -07:00
Rashmi Kulkarni
d9802613a4
Merge pull request elastic/elasticsearch#4609 from rasroh/fix_ui
...
Small UI fix for replacing Delete Role button to Delete User in the Management> Edit>User page
Original commit: elastic/x-pack-elasticsearch@7e941d2d1b
2017-01-13 09:22:58 -08:00
Simon Willnauer
d50ffd6dc3
Fix compilation after elastic/elasticsearchelastic/elasticsearch#22608
...
Original commit: elastic/x-pack-elasticsearch@5ce843283a
2017-01-13 16:51:28 +01:00
Daniel Mitterdorfer
d90181a3a1
Merge remote-tracking branch 'origin/master' into strict-booleans
...
Original commit: elastic/x-pack-elasticsearch@36ae65f4d8
2017-01-13 10:11:37 +01:00
Suyog Rao
89405c783f
[Logstash monitoring] Fix template to match event structure ( elastic/elasticsearch#4613 )
...
CPU stats were wrongly nested under "load". The correct nesting is os->cpu->load_average
Original commit: elastic/x-pack-elasticsearch@e3dc3765f6
2017-01-12 16:55:26 -08:00
Jason Tedor
0169c7055d
Return test annotation
...
This commit returns a test annotation that is needed on
PreBuiltXPackTransportClientTests because the test derives from
RandomizedTest and not ESTestCase and its ilk.
Original commit: elastic/x-pack-elasticsearch@1badced090
2017-01-12 19:30:24 -05:00
Jason Tedor
d30f20212c
Remove unneeded dummy test
...
This commit removes an unneeded dummy test from
PreBuiltXPackTransportClientTests. The dummy test was needed when the
sole test in the suite was skipped in some configuration. This test is
no longer skipped though so the dummy test can be removed.
Original commit: elastic/x-pack-elasticsearch@9cdfcc3be5
2017-01-12 19:21:45 -05:00
Lee Hinman
53f2dbe8e6
switch shard-level actions to static final vars, use separate method
...
Instead of shoehorning everything into `isCompositeAction`, add a new
`isTranslatedToBulkAction` method.
Original commit: elastic/x-pack-elasticsearch@053faae505
2017-01-12 15:04:57 -07:00
Lee Hinman
0136b095d0
Add BWC indices for 5.1.2 ( elastic/elasticsearch#4607 )
...
Original commit: elastic/x-pack-elasticsearch@8f2311aca8
2017-01-12 14:31:41 -07:00
Lee Hinman
ff15132832
Merge remote-tracking branch 'dakrone/disable-all-by-default'
...
Original commit: elastic/x-pack-elasticsearch@835b1b8ac7
2017-01-12 10:23:14 -07:00
Lee Hinman
41f4d1784d
Remove `_all` configuration
...
Since the `_all` field is now disabled by default and no longer allowed to be
configured, these should be removed from the mapping templates.
Relates to https://github.com/elastic/elasticsearch/pull/22144
Original commit: elastic/x-pack-elasticsearch@3b17c2b9c6
2017-01-12 09:29:09 -07:00
Jason Tedor
694bb5d07b
Upgrade to Netty 4.1.7
...
This commit upgrades the Netty dependency to version 4.1.7.Final,
picking up some important bug fixes.
Relates elastic/elasticsearch#4602
Original commit: elastic/x-pack-elasticsearch@a5d10a9b04
2017-01-12 10:59:26 -05:00
javanna
2c5aeba418
remove unused arguments from RestGraphAction private parse method
...
Original commit: elastic/x-pack-elasticsearch@f0f41fb0a7
2017-01-12 14:44:02 +01:00
javanna
dcf5ce7a4e
Remove ParseFieldMatcher usages from QueryParseContext
...
Original commit: elastic/x-pack-elasticsearch@93423ca15c
2017-01-12 14:44:02 +01:00
javanna
51302608cb
remove some more ParseFieldMatcher usages
...
Original commit: elastic/x-pack-elasticsearch@4d3b7574cc
2017-01-12 14:44:02 +01:00
Lee Hinman
a21f64fef2
Revert "Don't add shard-specific versions of index/delete to isComposite"
...
This reverts commit elastic/x-pack@4b97fb70b5 .
Original commit: elastic/x-pack-elasticsearch@1777134975
2017-01-11 14:17:40 -07:00
Jay Modi
c5cab37db6
security: always restore the ThreadContext after invoking an action
...
This change ensure that the ThreadContext is always restored after an action has been invoked when
going through the SecurityActionFilter and authentication and authorization is enabled.
Original commit: elastic/x-pack-elasticsearch@5da70bd6fa
2017-01-11 13:41:14 -05:00
Chris Earle
33e670e3aa
[Monitoring] Improve Exporter "skipped" logging for Cloud ( elastic/elasticsearch#4581 )
...
This removes the "skipped exporter" logging at the info level in favor of debug level. The LocalExporter has been updated so that non-elected master nodes will log a "waiting for elected master node..." message when they're ready, but are stuck waiting for the master node to setup indices.
Original commit: elastic/x-pack-elasticsearch@3f8b58bc37
2017-01-11 13:38:27 -05:00
Lee Hinman
f64b1ea3eb
Merge branch 'master' into enhancement/use_shard_bulk_for_single_ops
...
Original commit: elastic/x-pack-elasticsearch@f71ce64fb3
2017-01-11 10:09:08 -07:00
Nik Everett
818c4e9791
Handle core removing SearchRequestParsers
...
Original commit: elastic/x-pack-elasticsearch@e2f0ef773b
2017-01-11 08:49:16 -05:00
Yannick Welsch
44d745bd92
[TEST] Missed @Test annotation
...
Original commit: elastic/x-pack-elasticsearch@57798e6763
2017-01-11 14:19:10 +01:00
Yannick Welsch
02ef018978
[TEST] Ensure that there is at least one enabled test in elasticsearch-transport-client
...
Original commit: elastic/x-pack-elasticsearch@092d35dc1c
2017-01-11 13:34:06 +01:00
Lee Hinman
a75fecb472
flush after deleting docs
...
Original commit: elastic/x-pack-elasticsearch@1cd245c398
2017-01-10 14:26:21 -07:00
Lee Hinman
760c960c98
Revert "Revert "Add a qa/rolling-upgrade test that does single-document index and deletes""
...
This reverts commit elastic/x-pack@94b65dcf52 .
Original commit: elastic/x-pack-elasticsearch@abd90463f8
2017-01-10 12:12:09 -07:00
Lee Hinman
05f72c0b91
Revert "Add a qa/rolling-upgrade test that does single-document index and deletes"
...
This reverts commit elastic/x-pack@ff05f28b7e .
Original commit: elastic/x-pack-elasticsearch@a05fc1f9e6
2017-01-10 11:19:15 -07:00
Lee Hinman
66f96a4666
Don't add shard-specific versions of index/delete to isComposite
...
Original commit: elastic/x-pack-elasticsearch@3777e9db8b
2017-01-10 10:39:53 -07:00
Alexander Reelsen
56e3e107d4
Tests: Fix watcher test using DNS resolution ( elastic/elasticsearch#4576 )
...
Turns out that this test became flaky on dev machines with specific DNS setup.
This test uses an index action to provoke an error, thus there is no dependency
on anything network specific.
The reason it was uncovered now, was due to the change to the Apache HTTP client which is doing DNS lookups. This DNS lookup happened inadvertantly because of a bug in the test, which had a URI like http://http://127.0.0.1 .... However having web request was not needed at all, so it was replaced.
Closes elastic/elasticsearch#4561
Original commit: elastic/x-pack-elasticsearch@158516b5e5
2017-01-10 17:26:54 +01:00
Yannick Welsch
a890cfb81e
Keep NodeConnectionsService in sync with current nodes in the cluster state
...
Companion commit to elastic/elasticsearchelastic/elasticsearch#22509
Original commit: elastic/x-pack-elasticsearch@d46a46bf68
2017-01-10 13:32:11 +01:00
Daniel Mitterdorfer
b9eab29195
Merge remote-tracking branch 'origin/master' into strict-booleans
...
Original commit: elastic/x-pack-elasticsearch@3eda267724
2017-01-10 10:19:12 +01:00
Lee Hinman
320ec6716d
Merge branch 'master' into enhancement/use_shard_bulk_for_single_ops
...
Original commit: elastic/x-pack-elasticsearch@23761f3e16
2017-01-09 16:27:42 -07:00
Lee Hinman
28adc73220
Merge remote-tracking branch 'dakrone/add-noop-it'
...
Original commit: elastic/x-pack-elasticsearch@780992535c
2017-01-09 16:02:04 -07:00
Lee Hinman
45e84cde6e
Add PreventFailingBuildIT in qa/smoke-test-watcher
...
The watcher tests were recently marked with `@Network`, which prevents them from
normally being run. Unfortunately, this means no tests run by default and the
entire suite fails.
Original commit: elastic/x-pack-elasticsearch@40cfc75b26
2017-01-09 15:59:32 -07:00
Nik Everett
66a2f0d49e
Handle core replacing Suggesters with namedObject
...
Original commit: elastic/x-pack-elasticsearch@e68d82569f
2017-01-09 16:51:47 -05:00
Lee Hinman
8326b6d83b
Merge branch 'master' into enhancement/use_shard_bulk_for_single_ops
...
Original commit: elastic/x-pack-elasticsearch@98f4e74d2e
2017-01-09 14:22:18 -07:00
Jay Modi
e0f0b4b7b8
rename the kibana role to kibana_system
...
This commit renames the kibana role to kibana_system and provides a backwards compatibility
layer so that kibana access still works properly during a rolling upgrade.
Closes elastic/elasticsearch#4525
Original commit: elastic/x-pack-elasticsearch@5c5796e53a
2017-01-09 16:06:50 -05:00
Lee Hinman
e311ce0794
IndexAction is now handled at the shard level, so don't test it
...
Original commit: elastic/x-pack-elasticsearch@0398acb10c
2017-01-09 13:41:51 -07:00
Lee Hinman
0b64c9e550
MockIndicesRequest should implement CompositeIndicesRequest
...
Original commit: elastic/x-pack-elasticsearch@094a31d379
2017-01-09 13:33:13 -07:00
Lee Hinman
93720505b8
Merge branch 'master' into enhancement/use_shard_bulk_for_single_ops
...
Original commit: elastic/x-pack-elasticsearch@089fa9977d
2017-01-09 11:39:37 -07:00
Lee Hinman
8c3b05fa32
Re-add index and delete actions to AuthorizationServiceTests
...
Original commit: elastic/x-pack-elasticsearch@719db23c02
2017-01-09 11:16:49 -07:00
Lee Hinman
7387d04139
Add a qa/rolling-upgrade test that does single-document index and deletes
...
Original commit: elastic/x-pack-elasticsearch@5850439b22
2017-01-09 11:16:33 -07:00
Lee Hinman
99f96862b4
Add subrequest versions of index and delete actions to `isCompositeAction`
...
Original commit: elastic/x-pack-elasticsearch@0e0a74eaea
2017-01-09 11:16:08 -07:00
Nik Everett
ac260505af
Handle core moving Aggregation parsing to namedObject
...
Original commit: elastic/x-pack-elasticsearch@a968c54e86
2017-01-09 13:05:56 -05:00
Nik Everett
c597d37fbb
Hande SearchExtParsers replaced by namedObject
...
Original commit: elastic/x-pack-elasticsearch@9691f9b772
2017-01-09 08:22:01 -05:00
jaymode
a0090ac556
test: ensure the roles store is called when verifying mock interations
...
The CompositeRolesStoreTests#testNegativeLookupsAreCached test had a bug where it was expected to
retrieve the superuser role but the mockito verification on the call failed. This was because there
is also randomization on the number of times to call, which could be 0.
Closes elastic/elasticsearch#4562
Original commit: elastic/x-pack-elasticsearch@5c62df15b7
2017-01-09 08:05:59 -05:00