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
Honza Král
d65dfcf2d9
Fix path to graph.explore in docs to match specs ( elastic/x-pack-elasticsearch#1089 )
...
Merging, will push an update to re-enable testing separately
Original commit: elastic/x-pack-elasticsearch@3adf3c41d4
2017-05-17 13:13:10 -07:00
Ryan Ernst
573da95e26
Use new wireCompatVersions property instead of bwcVersion ( elastic/x-pack-elasticsearch#1466 )
...
This is the xpack side of elastic/elasticsearch#24748
Original commit: elastic/x-pack-elasticsearch@8b7dd5cdbe
2017-05-17 12:58:51 -07:00
Dimitrios Athanasiou
05daaa8a3c
[ML] Fix compilation errors after Version changes
...
Original commit: elastic/x-pack-elasticsearch@745c1dffac
2017-05-17 18:32:47 +01:00
Dimitrios Athanasiou
646a3acd56
[ML] Fix line width in OpenJobAction
...
Original commit: elastic/x-pack-elasticsearch@0798745449
2017-05-17 18:14:03 +01:00
Dimitris Athanasiou
f0cb7b816d
[ML] Add compatibility checks while opening a job ( elastic/x-pack-elasticsearch#1458 )
...
This commit adds compatibility checks while opening a job:
- Checks that jobs without versions (< 5.5) are not opened
- Checks that jobs with incompatible types are not opened
Original commit: elastic/x-pack-elasticsearch@a3adab733e
2017-05-17 18:10:36 +01:00
Lisa Cawley
6d6c776cd4
[DOCS] Add ML rare functions ( elastic/x-pack-elasticsearch#1351 )
...
* [DOCS] Add ML rare functions
* [DOCS] Address feedback in ML rare functions
Original commit: elastic/x-pack-elasticsearch@388274557c
2017-05-17 09:34:30 -07:00
Lisa Cawley
cf5f8e4bad
[DOCS] Clarify model snapshots ( elastic/x-pack-elasticsearch#1447 )
...
Original commit: elastic/x-pack-elasticsearch@55f307cf89
2017-05-17 09:02:52 -07:00
Lisa Cawley
ea2214e5ce
[DOCS] Require job to have explicit data_description ( elastic/x-pack-elasticsearch#1445 )
...
* [DOCS] Require job to have explicit data_description
* [DOCS] Fix typo in put-job.asciidoc
Original commit: elastic/x-pack-elasticsearch@e7fbbff7eb
2017-05-17 08:53:43 -07:00
jaymode
cc167467aa
Test: mute kibana_write rest test that never ran or worked
...
See elastic/x-pack-elasticsearch#1460
Original commit: elastic/x-pack-elasticsearch@505c8b8832
2017-05-17 11:45:22 -04:00
Simon Willnauer
d2e1b31bc7
Fix static / version based BWC tests ( elastic/x-pack-elasticsearch#1456 )
...
With the leniency in Version.java we missed to really setup BWC
testing for static indices. This change brings back the testing and adds
missing bwc indices.
Relates to elastic/elasticsearch#24732
Original commit: elastic/x-pack-elasticsearch@85e6270338
2017-05-17 17:28:35 +02:00
Simon Willnauer
bfc3779f51
Fix indentation in 30_kibana_write.yml
...
Original commit: elastic/x-pack-elasticsearch@6321493b03
2017-05-17 17:13:40 +02:00
Dimitrios Athanasiou
b9ccee8731
[TEST] Rename remaining yaml tests to yml
...
Original commit: elastic/x-pack-elasticsearch@5ee8b9ab7b
2017-05-17 15:59:51 +01:00
Simon Willnauer
4f94624277
Rename test from `.yaml` to `yml`
...
We cut over to run tests only for `.yml` files in elastic/elasticsearch#24659
The corresponding x-pack change was missing, this commit fixes it.
relates elastic/x-pack-elasticsearch#1457
Original commit: elastic/x-pack-elasticsearch@4c1d82c209
2017-05-17 15:39:57 +02:00
David Kyle
bbf397181e
[ML] New JobState enum values needs to be bwc with 5.4 ( elastic/x-pack-elasticsearch#1444 )
...
Original commit: elastic/x-pack-elasticsearch@b44d167719
2017-05-17 10:18:08 +01:00
Lisa Cawley
446a08b391
[DOCS] Add ML cross cluster search limitation ( elastic/x-pack-elasticsearch#1314 )
...
* [DOCS] Add ML cross cluster search limitation
* [DOCS] Clarify node.ml setting
Original commit: elastic/x-pack-elasticsearch@19a0c5d822
2017-05-16 08:19:25 -07:00
Lisa Cawley
f8531004a8
[DOCS] Add info about ML sum functions ( elastic/x-pack-elasticsearch#1347 )
...
* [DOCS] Add info about ML sum functions
* [DOCS] Fix ML sum functions
Original commit: elastic/x-pack-elasticsearch@6e2fb79cea
2017-05-16 07:59:53 -07:00
David Kyle
abbdf232aa
[ML] Test ML with the Transport Client ( elastic/x-pack-elasticsearch#1440 )
...
* Hide ML actions for tribe node client
* Remove unused parameters
* Enable ML actions and rest endpoints for the transport client
* Create the ML components for the transport client
* Add ml transport client tests
Original commit: elastic/x-pack-elasticsearch@509007ca29
2017-05-16 14:34:44 +01:00
Dimitris Athanasiou
dda456fb76
[ML] Add job version ( elastic/x-pack-elasticsearch#1437 )
...
relates elastic/x-pack-elasticsearch#1396
Original commit: elastic/x-pack-elasticsearch@3148c76d7f
2017-05-16 13:28:52 +01:00
Dimitrios Athanasiou
e047598ca9
[ML] Fix timestamp comparison in scroll extractor cancellation logic
...
Original commit: elastic/x-pack-elasticsearch@1b3f88adf0
2017-05-16 13:26:57 +01:00
David Kyle
9f23c2c171
[ML] Wait for closing jobs in a close request ( elastic/x-pack-elasticsearch#1398 )
...
* Remove repeated calls to validateAndReturnJobTask
* Wait for closing job
* Refactor resolving job ids
* More close job unit tests
* Don’t finalise closing jobs twice
Original commit: elastic/x-pack-elasticsearch@20616d6f0a
2017-05-16 10:55:05 +01:00
Tanguy Leroux
9a06b5ee77
[Test] Converts LocalExporterTests.testLocalExporterFlush() as REST test ( elastic/x-pack-elasticsearch#969 )
...
The LocalExporterTests.testLocalExporterFlush() test was removed in elastic/x-pack-elasticsearch#835 when
LocalExporterTests was changed. This test verified that export exceptions are
thrown when monitoring documents are exported using the Monitoring Bulk API but
the underlying monitoring indices are closed.
This commit reintroduces this test, but as a REST test this time.
relates elastic/x-pack-elasticsearch#416
Original commit: elastic/x-pack-elasticsearch@0a42f9a1be
2017-05-16 10:08:40 +02:00
Ryan Ernst
ef3b954f63
Scripts: Convert template uses to return String instead of BytesReference ( elastic/x-pack-elasticsearch#1279 )
...
This is the xpack side of elastic/elasticsearch#24447 . The one caveat is
there are a number of places within the xpack api that use
BytesReference to pass down to templates. These are convert to encode
into a BytesArray when necessary, so as not to require changing all of
those apis here at once, but they should all be convert to String as
well.
Original commit: elastic/x-pack-elasticsearch@8399b9d8c3
2017-05-15 22:37:51 -07:00