Jason Tedor
6ce8bd69ef
Mark default password migration test as skipped
...
This test fails reliably, so this commit marks the test as awaits fix.
Original commit: elastic/x-pack-elasticsearch@8eb8b732ba
2017-05-23 13:35:44 -04:00
Clinton Gormley
844a97586e
Updated docs for cross-cluster search ( elastic/x-pack-elasticsearch#1478 )
...
* Updated docs for cross-cluster search
Wildcards are now supported in both cluster alias and index name,
and the "view_index_metadata" privilege is automatically conferred
by the "read_cross_cluster" role.
* For now, best to allow users permissions to query all indices on all remote clusters
Original commit: elastic/x-pack-elasticsearch@31959f78f4
2017-05-23 19:18:03 +02:00
Jason Tedor
87ff7f0b52
Mark default password migration test as awaits fix
...
This commit marks the default password migration test as awaits fix as
the test is reliabily failling.
Original commit: elastic/x-pack-elasticsearch@4377480d98
2017-05-23 12:02:11 -04:00
Andrew Cholakian
ae778cc66f
Move logstash-states template into the main logstash template ( elastic/x-pack-elasticsearch#1490 )
...
This is a revert of elastic/x-pack-elasticsearch@1940d79d13 .
and also moves the template to boot
Original commit: elastic/x-pack-elasticsearch@434183b0e9
2017-05-23 09:20:46 -05:00
Jason Tedor
275bfc0e51
Mark failing exporter template test as awaits fix
...
This test is failing for eleven days and needs to be looked at.
Original commit: elastic/x-pack-elasticsearch@b16b95f333
2017-05-23 09:48:21 -04:00
David Kyle
ea0f3fe4a0
[ML] Wait for a stopping datafeed ( elastic/x-pack-elasticsearch#1461 )
...
* [ML] Wait for a stopping datafeed
* Fix compilation after rebase
* Address review comments
Original commit: elastic/x-pack-elasticsearch@2baed641e9
2017-05-23 14:31:19 +01:00
Ali Beyad
ec175debd0
Enables security to work with index aliases ( elastic/x-pack-elasticsearch#1496 )
...
This commit enables security to work with an index named .security (as
it could before) OR an alias named .security that points to a concrete
index by a different name that has the security index. This prepares
the ability to migrate from a 5.x to 6.x security index that allows
changing and re-indexing the underlying security index while maintaining
a .security alias that points to the underlying updated index.
relates elastic/x-pack-elasticsearch#1216
Original commit: elastic/x-pack-elasticsearch@9fee12e5a0
2017-05-23 09:10:06 -04:00
Alexander Reelsen
521b7a1940
Watcher: Support setting of markdown in attachments ( elastic/x-pack-elasticsearch#1492 )
...
Watcher: Support setting of markdown in attachments
This allows to set the `mrkdwn_in` array in slack attachments to specify which fields should contain markdown.
See https://api.slack.com/docs/message-formatting#message_formatting
This is mainly useful for the text and pretext fields in an attachment.
relates elastic/x-pack-elasticsearch#403
Original commit: elastic/x-pack-elasticsearch@ee4180e4bf
2017-05-23 13:33:00 +02:00
David Roberts
e198845614
[ML] Avoid masses of log spam/stack traces on shutdown ( elastic/x-pack-elasticsearch#1495 )
...
Suppress many job/datafeed errors if a node is known to be shutting down. Also, ensure started datafeeds and open jobs don't end up stopped/failed due to errors as the shutdown progresses, as this would prevent them automatically relocating to a different node.
relates elastic/x-pack-elasticsearch#1114
Original commit: elastic/x-pack-elasticsearch@e56a7dbea1
2017-05-23 10:05:27 +01:00
Ali Beyad
958ee95f26
[TEST] mute watcher test failure that is being tracked in elastic/x-pack-elasticsearch#1517
...
Original commit: elastic/x-pack-elasticsearch@a28b7ce3a5
2017-05-22 22:01:31 -04:00
Ryan Ernst
68e0bc419a
Use simplified ScriptContext ( elastic/x-pack-elasticsearch#1502 )
...
This is the xpack side of elastic/elasticsearch#24818
Original commit: elastic/x-pack-elasticsearch@0edbbab431
2017-05-22 13:11:23 -07:00
Ali Beyad
f158be89b8
[TEST] fixes tests that attempt to delete documents from missing
...
indices, as that is now prohibited by elastic/elasticsearch#24518
relates elastic/x-pack-elasticsearch#1511
Original commit: elastic/x-pack-elasticsearch@026a516196
2017-05-22 13:16:53 -04:00
Ali Beyad
e0a8881cfc
[TEST] mute failing tests, which are tracked in elastic/x-pack-elasticsearch#1511
...
Original commit: elastic/x-pack-elasticsearch@e23dd847f3
2017-05-22 12:19:56 -04:00
Ryan Ernst
5a3c85cd57
Build: Add bwcTest target to ci script ( elastic/x-pack-elasticsearch#1488 )
...
This is to allow bwcTest to be run by ci. This commit also fixes the
existing packagingTest target, which was never updated after the xpack
repo split.
Original commit: elastic/x-pack-elasticsearch@f4696c1899
2017-05-22 08:53:36 -07:00
Dimitris Athanasiou
aff8258398
[ML] Change result index searches to not use _type ( elastic/x-pack-elasticsearch#1509 )
...
Adjusts the searches for
- buckets
- categories
- model snapshots
to not use _type.
Relates elastic/x-pack-elasticsearch#668
Original commit: elastic/x-pack-elasticsearch@8269609705
2017-05-22 14:44:39 +01:00
Hendrik Muhs
edc299a532
move verification so that test is in order ( elastic/x-pack-elasticsearch#1504 )
...
improves test by taking order of statuses into account
Original commit: elastic/x-pack-elasticsearch@0d214714d3
2017-05-22 15:44:09 +02:00
David Kyle
1873624a18
Fix failing line length checks
...
Original commit: elastic/x-pack-elasticsearch@6a493a70a4
2017-05-22 12:39:51 +01:00
David Kyle
8e890d0365
Fix test
...
Original commit: elastic/x-pack-elasticsearch@cdf7950d3f
2017-05-22 12:36:15 +01:00
David Kyle
0425f58d80
[ML] Give test jobs meaningful names ( elastic/x-pack-elasticsearch#1508 )
...
Original commit: elastic/x-pack-elasticsearch@97bec3b1e9
2017-05-22 12:22:39 +01:00
David Roberts
5b2ef6e98e
[ML] Ignore IndexNotFoundException when deleting quantiles ( elastic/x-pack-elasticsearch#1507 )
...
Relates elastic/elasticsearch#24518
Original commit: elastic/x-pack-elasticsearch@34ee52443c
2017-05-22 11:04:27 +01:00
Hendrik Muhs
527dcfd98d
[ML] Make job closing robust against crashes in autodetect and other misbehavior ( elastic/x-pack-elasticsearch#1480 )
...
Set job to failed if autodetect manager fails closing, fix force closing of jobs that hang in closing
state, set timeout when waiting for clusterstate update, disallow closing of failed jobs with normal
close
relates elastic/x-pack-elasticsearch#1453
Original commit: elastic/x-pack-elasticsearch@493cf85e22
2017-05-22 08:48:33 +02:00
Simon Willnauer
392e67851e
Preserve aliases in index permissions ( elastic/x-pack-elasticsearch#1501 )
...
Aliases might be contained in requests that check index permissions
to disable caches etc. This commit preserves permissions for
aliases as well.
Original commit: elastic/x-pack-elasticsearch@233195aeba
2017-05-20 21:34:38 +02:00
Ryan Ernst
883f5d8a7a
Remove overrides of isInlineScriptEnabled ( elastic/x-pack-elasticsearch#1500 )
...
This is the xpack side of elastic/elasticsearch#24815
Original commit: elastic/x-pack-elasticsearch@5aa314a49d
2017-05-20 12:01:34 -07:00
Lisa Cawley
d18c48f820
[DOCS] Add info about configuring ML ( elastic/x-pack-elasticsearch#1497 )
...
Original commit: elastic/x-pack-elasticsearch@a9dfc239cc
2017-05-19 13:40:50 -07:00
Lisa Cawley
d72a8f8026
[DOCS] Add ML geographic functions ( elastic/x-pack-elasticsearch#1357 )
...
* [DOCS] Add ML geographic functions
* [DOCS] Add script_fields info to ML geo functions
* [DOCS] Remove summary count from ML geographic functions
* [DOCS] Added example title to geographic functions
* [DOCS] Remove list from ML geographic functions
Original commit: elastic/x-pack-elasticsearch@a8e495657f
2017-05-19 11:09:39 -07:00
Lisa Cawley
27b0af7eae
[DOCS] Modify ML analytical functions ( elastic/x-pack-elasticsearch#1467 )
...
* [DOCS] Modify ML analytical functions
* [DOCS] Fix ML function section titles
Original commit: elastic/x-pack-elasticsearch@f95ae012bb
2017-05-19 10:48:15 -07:00
David Roberts
fa95474ab8
[BUILD] Change ordering of Java compilation and ML C++ notice extraction
...
May help to avoid problems with the speed of temporary AWS credentials
propagation (see elastic/x-pack-logstash#73 )
Original commit: elastic/x-pack-elasticsearch@c78e00cda5
2017-05-19 13:36:40 +01:00
Tim Vernum
b689159077
[TEST] Mock getVersion on channel for ServerTransportFilterTests
...
Original commit: elastic/x-pack-elasticsearch@0b48c21eb0
2017-05-19 10:15:49 +10:00
Jack Conradson
b92a2f6582
Remove deprecated script settings. ( elastic/x-pack-elasticsearch#1469 )
...
Original commit: elastic/x-pack-elasticsearch@069e5a1087
2017-05-18 13:32:57 -07:00
Jay Modi
667f842f92
Fix authentication forward compatibility ( elastic/x-pack-elasticsearch#1481 )
...
The authentication object was changed in 5.4.0 in that it was conditionally signed depending on
the version and other factors. A bug was introduced however that causes the authentication to
actually get written with the version of the node it is being sent to even if that version is
greater than the version of the current node, which causes rolling upgrades to fail.
Original commit: elastic/x-pack-elasticsearch@a718ff8a52
2017-05-18 15:30:53 -04:00
debadair
5353c35420
[DOCS] Removed references to file-based scripts.
...
Original commit: elastic/x-pack-elasticsearch@f0462e2f69
2017-05-18 11:18:11 -07:00
David Kyle
e5810f894c
[ML] Catch exceptions in AutoDetectResultProcessor#process and continue ( elastic/x-pack-elasticsearch#1484 )
...
Original commit: elastic/x-pack-elasticsearch@f1f6a322e0
2017-05-18 18:40:41 +01:00
Ryan Ernst
489a4eb685
Build: Guard adding project substitution for bwc zip with snapshot check ( elastic/x-pack-elasticsearch#1485 )
...
We should only be adding a project substitution if the last wire compat
version is a snapshot.
Original commit: elastic/x-pack-elasticsearch@c4a08bd503
2017-05-18 10:33:53 -07:00
Dimitris Athanasiou
1bb7651dba
[ML] Refactor filters API to not use _type ( elastic/x-pack-elasticsearch#1483 )
...
- Removes dependence on _type for filters.
- Changes the put filter API to take the id in the URI
- Prepares .ml-meta index to be able to host more types in future
Relates elastic/x-pack-elasticsearch#668
Original commit: elastic/x-pack-elasticsearch@d4cffa9382
2017-05-18 18:09:20 +01:00
David Kyle
f3c94915b0
[ML] Add sort parameter for get buckets ( elastic/x-pack-elasticsearch#1464 )
...
* Add sort parameter for get buckets
* Add secondary sort by time
* Use default values from actions in rest requests
Original commit: elastic/x-pack-elasticsearch@a530c0bed6
2017-05-18 16:40:54 +01:00
Alexander Reelsen
27af24de6f
Docs: Fix link to current smtp java documentation
...
relates elastic/x-pack-elasticsearch#1468
Original commit: elastic/x-pack-elasticsearch@768d699f8a
2017-05-18 16:51:28 +02:00
jaymode
1cc4ec95f3
Test: fix kibana write rolling upgrade test
...
This commit fixes the kibana write rolling upgrade test. The test needs to enable the kibana user
as another test explicitly disables it. After the test runs it disables the kibana user again.
relates elastic/x-pack-elasticsearch#1460
Original commit: elastic/x-pack-elasticsearch@437495432d
2017-05-18 10:12:34 -04:00
Alexander Reelsen
3f68b4facd
Watcher: Use existing plugin hook to delete all old templates ( elastic/x-pack-elasticsearch#1425 )
...
This commit ensures the old 5.x index templates are removed
using the existing plugin hook, instead of the self written part.
Original commit: elastic/x-pack-elasticsearch@6faf08d98d
2017-05-18 14:21:27 +02:00
Alexander Reelsen
55359433ae
Watcher: Return proper GetWatchResponse if watcher index is missing ( elastic/x-pack-elasticsearch#1462 )
...
This ensures that the same responses is returned, when a watch is
missing and when the whole watch index is missing for the
GetWatchResponse.
relates elastic/x-pack-elasticsearch#1409
Original commit: elastic/x-pack-elasticsearch@88a7335fa9
2017-05-18 14:19:18 +02:00
Alexander Reelsen
adf480f8fd
Watcher: Rename watch and triggered watch types to `doc ( elastic/x-pack-elasticsearch#1414 )
...
Note: This disables the BWC tests until the upgrade API is here
Original commit: elastic/x-pack-elasticsearch@8011fa06e3
2017-05-18 11:46:03 +02:00
Ryan Ernst
d6a9185857
Build: Convert rolling upgrade test to create tasks per bwc version ( elastic/x-pack-elasticsearch#1477 )
...
This is the xpack equivalent of elastic/elasticsearch#24758
Original commit: elastic/x-pack-elasticsearch@73e1a9c6b4
2017-05-18 02:25:54 -07:00
Ryan Ernst
58bd30e64f
Fix put script calls in script tests with watcher
...
Original commit: elastic/x-pack-elasticsearch@2eac2e5192
2017-05-18 00:52:55 -07:00
Clinton Gormley
aba877e6a2
Removed reference to file-based scripts
...
Relates to https://github.com/elastic/elasticsearch/pull/24627
Original commit: elastic/x-pack-elasticsearch@7a59422e5d
2017-05-18 09:17:46 +02:00
Ryan Ernst
d475010d1b
Remove leftover file template references
...
Original commit: elastic/x-pack-elasticsearch@04e98c6261
2017-05-17 23:22:27 -07:00
Tim Vernum
7052194094
[TESTS] Fix filename pattern for templating in SSL smoke test
...
Relates to elastic/x-pack-elasticsearch@4c1d82c
Original commit: elastic/x-pack-elasticsearch@f5cbc1c6b3
2017-05-18 11:07:42 +10:00
Lisa Cawley
f44302740d
[DOCS] Fix build error related to bad link ( elastic/x-pack-elasticsearch#1470 )
...
Original commit: elastic/x-pack-elasticsearch@d56fe65df6
2017-05-17 17:16:34 -07:00
Jason Tedor
0adfaab017
Revert "[DOCS] Re-enabled graph API example testing."
...
This reverts commit elastic/x-pack-elasticsearch@c83e6eb612 .
Original commit: elastic/x-pack-elasticsearch@4afc2361f3
2017-05-17 19:23:55 -04:00
Ryan Ernst
4c3e82604d
Convert native script uses to mock scripts ( elastic/x-pack-elasticsearch#1465 )
...
This is the xpack side of elastic/elasticsearch#24726
Original commit: elastic/x-pack-elasticsearch@0428fe1d16
2017-05-17 14:56:59 -07:00
Ryan Ernst
f7705eac86
Remove file scripts ( elastic/x-pack-elasticsearch#1399 )
...
This is the xpack side of elastic/elasticsearch#24627
Original commit: elastic/x-pack-elasticsearch@4d1c745d74
2017-05-17 14:42:46 -07:00
debadair
0059180d78
[DOCS] Re-enabled graph API example testing.
...
Original commit: elastic/x-pack-elasticsearch@c83e6eb612
2017-05-17 13:19:38 -07:00