javanna
db27d0ab20
rename ElasticsearchResponse#getFirstHeader to getHeader
...
Original commit: elastic/x-pack-elasticsearch@8ca2f6d6dd
2016-06-03 18:28:45 +02:00
javanna
e240ca8043
[TEST] adapt to "create standard RestClient at first request and reuse it"
...
A RestClient instance is now created whenever EsIntegTestCase#getRestClient is invoked for the first time. It is then kept until the cluster is cleared (depending on the cluster scope of the test).
Renamed other two restClient methods to createRestClient, as that instance needs to be closed and managed in the tests.
Original commit: elastic/x-pack-elasticsearch@3a9d6f6e90
2016-06-03 18:09:05 +02:00
javanna
601169833b
[TEST] remove usage of deprecated apis
...
Original commit: elastic/x-pack-elasticsearch@4f4af3f5c5
2016-06-03 17:09:43 +02:00
javanna
ad9a64e854
[TEST] add a lot of forgotten try with resources to wrap ElasticsearchResponses
...
Original commit: elastic/x-pack-elasticsearch@e4634ea599
2016-06-03 16:42:06 +02:00
javanna
4e2766df11
replace some more usage of HttpClient with RestClient
...
Original commit: elastic/x-pack-elasticsearch@a3cb53b7a0
2016-06-03 16:13:52 +02:00
javanna
57f8063c3a
update XPackRestTestCase to use low level RestClient
...
Original commit: elastic/x-pack-elasticsearch@8c16c9b06e
2016-06-03 16:13:52 +02:00
javanna
e882fb3a18
Replace rest test client with low level RestClient
...
We still have a wrapper called RestTestClient that is very specific to Rest tests, as well as RestTestResponse etc. but all the low level bits around http connections etc. are now handled by RestClient.
Original commit: elastic/x-pack-elasticsearch@304487ecc5
2016-06-03 16:13:52 +02:00
javanna
f58f347fe1
Replace HttpRequestBuilder usages with official RestClient
...
Original commit: elastic/x-pack-elasticsearch@7428498b47
2016-06-03 16:13:52 +02:00
Lukas Olson
f22bc67a87
Merge pull request elastic/elasticsearch#2418 from lukasolson/fix/restrict-security-ui
...
[security-ui] Don't show user/role management if the user is unauthorized
Original commit: elastic/x-pack-elasticsearch@28d98d95a1
2016-06-02 19:19:10 -07:00
Tim Sullivan
651fea3bf9
Merge pull request elastic/elasticsearch#2420 from tsullivan/monitoring-ui-rename-jsx
...
monitoring ui: rename .js to .jsx
Original commit: elastic/x-pack-elasticsearch@4b855d4b27
2016-06-02 16:31:25 -07:00
Shaunak Kashyap
e0976ee0c3
Merge pull request elastic/elasticsearch#2360 from ycombinator/gh-2200
...
Refresh license information from Elasticsearch every 30 seconds
Original commit: elastic/x-pack-elasticsearch@65d1a5598b
2016-06-02 17:37:23 -05:00
Lukas Olson
a327ac0170
Merge pull request elastic/elasticsearch#2392 from w33ble/fix/unsafe-titles
...
Handle url unsafe characters in saved object names
Original commit: elastic/x-pack-elasticsearch@b16dd14e56
2016-06-02 11:36:59 -07:00
Joe Fleming
ab83e309aa
Merge pull request elastic/elasticsearch#2396 from w33ble/docs-reporting-settings
...
Reporting settings docs
Original commit: elastic/x-pack-elasticsearch@903aa6b538
2016-06-02 10:44:55 -07:00
Christoph Büscher
9774e5472a
Adapt to api changes in es core, inner query parsing now return Optional<QueryBuilder>
...
Changes relate to elastic/elasticsearch#17624
Original commit: elastic/x-pack-elasticsearch@bd9d31a9ff
2016-06-02 18:37:30 +02:00
Areek Zillur
e996b78b04
Revert "move trigger package to top-level x-pack"
...
This reverts commit elastic/x-pack@bb0add9416 .
Original commit: elastic/x-pack-elasticsearch@fc20c8c307
2016-06-01 21:30:08 -04:00
Areek Zillur
51144b3330
Revert "move trigger tests to top-level x-pack test directory"
...
This reverts commit elastic/x-pack@1615d496d5 .
Original commit: elastic/x-pack-elasticsearch@bcc2ae8e26
2016-06-01 21:29:43 -04:00
Lukas Olson
1e57153e0f
Merge pull request elastic/elasticsearch#2390 from lukasolson/fix/ui-select
...
Replace angular-ui-select with ui-select
Original commit: elastic/x-pack-elasticsearch@b25888ec21
2016-06-01 13:58:54 -07:00
Areek Zillur
6ff8124640
Merge pull request elastic/elasticsearch#2388 from areek/extract_scheduler_engine_to_xpack
...
[refactor] extract trigger package and scheduler engine to top-level x-pack directory
Original commit: elastic/x-pack-elasticsearch@0a89cf2ca3
2016-06-01 15:27:24 -04:00
Areek Zillur
f9c214ac1c
move trigger tests to top-level x-pack test directory
...
Original commit: elastic/x-pack-elasticsearch@d29aeddae8
2016-06-01 15:04:05 -04:00
Shaunak Kashyap
ab39cab599
Merge branch 'master' into gh-2200
...
Original commit: elastic/x-pack-elasticsearch@38629917e1
2016-06-01 12:00:51 -07:00
jaymode
4083bae777
test: set debug log level on the external cluster
...
Original commit: elastic/x-pack-elasticsearch@e23afb5fbc
2016-06-01 14:35:24 -04:00
Areek Zillur
a7aa18aa17
move trigger package to top-level x-pack
...
Original commit: elastic/x-pack-elasticsearch@4f955a0c4a
2016-06-01 14:31:22 -04:00
Tim Sullivan
c1db7cb4dd
Merge pull request elastic/elasticsearch#2368 from tsullivan/ui-usage-stats
...
Monitoring UI: Add X-Pack Usage object to Phone Home data
Original commit: elastic/x-pack-elasticsearch@4784dd101b
2016-06-01 11:26:18 -07:00
Areek Zillur
58a0d42ff8
Merge branch 'master' into extract_scheduler_engine_to_xpack
...
Original commit: elastic/x-pack-elasticsearch@1fef4b9a31
2016-06-01 12:34:34 -04:00
Areek Zillur
a818fc50f3
cleanup redundant schedules array
...
Original commit: elastic/x-pack-elasticsearch@30ec462545
2016-06-01 11:42:12 -04:00
Areek Zillur
54215ae4d5
Merge pull request elastic/elasticsearch#2386 from areek/move_clock_module_to_xpack
...
[refactor] move clock module to x-pack package
Original commit: elastic/x-pack-elasticsearch@750d3962cb
2016-06-01 11:22:30 -04:00
jaymode
d5e64a0524
test: lowercase index name
...
Original commit: elastic/x-pack-elasticsearch@3e037eca8a
2016-06-01 10:02:51 -04:00
Yannick Welsch
11908868c5
Remove handlers that have been removed from core
...
Removes handlers internal:cluster/node/index/deleted and internal:cluster/node/index_store/deleted that have been removed in core as part of elastic/elasticsearchelastic/elasticsearch#18602
Original commit: elastic/x-pack-elasticsearch@e040871e5a
2016-06-01 15:23:18 +02:00
jaymode
9d1ed22def
security: add delete permissions to kibana_user role
...
Closes elastic/elasticsearch#2393
Original commit: elastic/x-pack-elasticsearch@4a096befd0
2016-06-01 08:09:01 -04:00
jaymode
a2f3f304d3
test: update Kibana role integ tests to use built in role
...
Original commit: elastic/x-pack-elasticsearch@89f3104a4b
2016-06-01 07:24:14 -04:00
Jason Tedor
b046a08842
Fix version compatability test
...
This commit fixes the version compatability test by updating the version
to reflect the current version in core.
Original commit: elastic/x-pack-elasticsearch@0bb6dbc1c3
2016-05-31 22:08:56 -04:00
Lukas Olson
c9db4c8576
Merge pull request elastic/elasticsearch#2385 from lukasolson/fix/editable-kibana_user
...
[security-ui] Make kibana_user role uneditable
Original commit: elastic/x-pack-elasticsearch@2807fa8105
2016-05-31 15:02:39 -07:00
Tim Sullivan
a40366800d
Merge pull request elastic/elasticsearch#2361 from tsullivan/monitoring-ui-fix-bytes-indices-listing
...
monitoring ui: refactor indices listing with JSX
Original commit: elastic/x-pack-elasticsearch@fc6cc4ed79
2016-05-31 14:46:26 -07:00
Areek Zillur
961656932c
extract schedule engine to x-pack package
...
Original commit: elastic/x-pack-elasticsearch@f968882306
2016-05-31 16:35:56 -04:00
Areek Zillur
dab72186e5
move clock module to x-pack package
...
Original commit: elastic/x-pack-elasticsearch@6f0ecb5518
2016-05-31 16:29:18 -04:00
jaymode
a58ed3ed32
security: rename /authenticate /_authenticate
...
We use the _ to indicate actions in endpoint names. It appears that the _authenticate API was
incorrectly removed in elastic/elasticsearch#2174 . This adds it back.
Original commit: elastic/x-pack-elasticsearch@0a0b85d05a
2016-05-31 12:37:07 -04:00
Jay Modi
9052a86ad5
Merge pull request elastic/elasticsearch#2369 from lukasolson/fix/authenticate
...
[security-ui] Update authenticate to _authenticate
Original commit: elastic/x-pack-elasticsearch@fd1cabe0a5
2016-05-31 12:32:55 -04:00
jaymode
fbeda210ae
test: add logging to randomly failing IndexAuditIT
...
Original commit: elastic/x-pack-elasticsearch@3abd1ec0b5
2016-05-31 12:22:26 -04:00
Tim Sullivan
d5d8d13aad
Merge pull request elastic/elasticsearch#2377 from tsullivan/marvel-ui-fix-cluster_stat-fields-for-phone-home-5.0
...
monitoring ui: explicitly pick cluster stat fields for phone home
Original commit: elastic/x-pack-elasticsearch@55a7b8c591
2016-05-31 09:16:03 -07:00
jaymode
8d6b279bf2
test: catch socketexception which may also be thrown
...
We need to catch SocketException as this can be thrown during the handshake we expect
to fail if the server closes the socket during the handshake.
Closes elastic/elasticsearch#2378
Original commit: elastic/x-pack-elasticsearch@45c4b93ab6
2016-05-31 10:29:31 -04:00
Alexander Reelsen
0aec22d0ca
Tests: Add shrink action to known actions
...
Original commit: elastic/x-pack-elasticsearch@a3f583c11b
2016-05-31 11:46:07 +02:00
Boaz Leskes
fc5edc242d
add assertBusy to testEmptyGetLicense as trial license is added async
...
Original commit: elastic/x-pack-elasticsearch@8dea3c54f9
2016-05-31 09:49:17 +02:00
jaymode
2a7e2a6cd6
security: add a built in kibana_user role
...
This commit adds a `kibana_user` role that can be used to grant the minimum
set of privileges necessary to access kibana.
Closes elastic/elasticsearch#2166
Original commit: elastic/x-pack-elasticsearch@00e129e342
2016-05-27 07:18:14 -04:00
Alexander Reelsen
28f89314cb
Watcher: Fix certain chained input usages not written to history
...
If a chained input was used, and inside of this a search input was
used, that hat dots in its field names somewhere (like when sorting
or using a compare condition), then storing this in the history failed.
The reason for this was the broken watch history template, that did not take
nested requests bodies into account and thus tried to create an index mapping
for requests that were inside of a chained input.
This commit fixes the watch history index template.
Closes elastic/elasticsearch#2338
Original commit: elastic/x-pack-elasticsearch@d9f48234d3
2016-05-27 10:19:52 +02:00
Boaz Leskes
16d7f0c999
Introduce dedicated master nodes in testing infrastructure ( elastic/elasticsearch#2314 )
...
This is a companion commit to elastic/elasticsearchelastic/elasticsearch#18514, fixing issues introduced by adding dedicated master nodes to the test infra
Original commit: elastic/x-pack-elasticsearch@8c0571f2de
2016-05-27 08:45:54 +02:00
Robert Muir
21b2494c5b
ScriptException -> GeneralScriptException ( https://github.com/elastic/elasticsearch/pull/18600 )
...
Original commit: elastic/x-pack-elasticsearch@0536fe9222
2016-05-26 17:51:46 -04:00
Joe Fleming
fb4befac4e
Merge pull request elastic/elasticsearch#2337 from w33ble/fix/phantom-unpack
...
Use node modules to unpack Linux binaries
Original commit: elastic/x-pack-elasticsearch@f2b716648c
2016-05-26 13:23:04 -07:00
jaymode
ab3438cbc4
test: IndexAuditTrailTests use the proper timestamp to resolve the index name
...
This changes the IndexAuditTrailTests to use the actual timestamp of the message being indexed to determine
the index name. Some build failures occurred due to running right at the change of an hour and the rollover was
set to hourly. So the message was indexed in one index and the test expected a different index.
Original commit: elastic/x-pack-elasticsearch@9dd5012a73
2016-05-26 09:47:59 -04:00
Alexander Reelsen
13f9c931b6
Release: Fix smoke test script to cope with latest changes in master
...
Original commit: elastic/x-pack-elasticsearch@0966d8b05f
2016-05-26 12:32:16 +02:00
Alexander Reelsen
72c3dbd3bc
Watcher: Allow more tags for HTML sanitizer in tables ( elastic/elasticsearch#2350 )
...
This allows the colspan/rowspan attr on td/tr as well as
border/cellpadding attrs on table elements.
Original commit: elastic/x-pack-elasticsearch@e0b989f0ac
2016-05-26 11:10:31 +02:00