Boaz Leskes
0b73e3ef33
Update to incorporate changes made in Netty settings in elasticsearch elastic/elasticsearch#16200
...
Original commit: elastic/x-pack-elasticsearch@0e54a24519
2016-01-28 15:24:59 +01:00
Boaz Leskes
dfb9068e33
Update Index usage to elasticsearchelastic/elasticsearch#16217
...
elasticsearchelastic/elasticsearch#16217 changed the Index class to also include index UUIDs . This commit adapts the code for it.
Closes elastic/elasticsearch#1377
Original commit: elastic/x-pack-elasticsearch@87c909c15a
2016-01-28 08:38:44 +01:00
jaymode
4012b4c7c6
test: mute watcher tests for now until. See elastic/elasticsearch#1380
...
Original commit: elastic/x-pack-elasticsearch@f8d9053ef6
2016-01-27 18:14:11 -05:00
jaymode
634b3edf4e
only set the client instance once in the proxy
...
Original commit: elastic/x-pack-elasticsearch@55eb6288db
2016-01-27 14:24:41 -05:00
jaymode
7645698070
go back to setting the shield user header
...
Original commit: elastic/x-pack-elasticsearch@0921bd27a9
2016-01-27 13:48:51 -05:00
jaymode
dcf9074c4f
fix compile after change to Client settings in core
...
Original commit: elastic/x-pack-elasticsearch@ab069484a6
2016-01-27 12:33:35 -05:00
Jay Modi
d587ace5f1
Merge pull request elastic/elasticsearch#1374 from jaymode/request_context
...
replace ContextAndHeaders with ThreadContext
Original commit: elastic/x-pack-elasticsearch@469ab3f5a1
2016-01-27 11:30:00 -05:00
jaymode
ee7a109827
add comments about client wrapping and add ClientWithUser
...
Original commit: elastic/x-pack-elasticsearch@472c6dbd80
2016-01-27 10:16:14 -05:00
jaymode
ed7c4273c3
test: remove check in ClearRolesCacheTests that is prone to failure
...
This removes a check in the ClearRolesCacheTests that is prone to failure due to the
possibility of the cache poller running while we modify documents and updating cached
values prior to the test issuing the get roles call.
See elastic/elasticsearch#1354
Original commit: elastic/x-pack-elasticsearch@ba0b803466
2016-01-27 09:25:59 -05:00
jaymode
e82c969959
migrate from ContextAndHeaders to ThreadContext
...
This change migrates all of the xpack code to use the new ThreadContext when
dealing with headers and context data. For the most part this is a simple
cutover, but there are some things that required special casing. The internal
actions that executed by a user's requests need to forcefully drop the context
and set the system user. The workaround for this will be improved in a followup.
Additionally, the RequestContext still lives on due to the OptOutQueryCache,
which requires some core changes to fix this issue.
Original commit: elastic/x-pack-elasticsearch@87d2966d93
2016-01-27 08:02:01 -05:00
Jason Tedor
d02ddece8f
Merge pull request elastic/elasticsearch#1375 from jasontedor/script-settings
...
Script settings
Original commit: elastic/x-pack-elasticsearch@a2f4da6784
2016-01-27 06:54:24 -05:00
Simon Willnauer
6c290d22c1
Fix renamed constant
...
Original commit: elastic/x-pack-elasticsearch@709cd849b2
2016-01-27 11:55:15 +01:00
Adrien Grand
11125797bc
Fix mapping definitions.
...
Original commit: elastic/x-pack-elasticsearch@609f12602e
2016-01-27 09:26:05 +01:00
Jason Tedor
8eb97c5509
Script settings
...
This commit is the x-plugins side of the refactoring of script settings.
Relates elastic/elasticsearchelastic/elasticsearch#16197
Original commit: elastic/x-pack-elasticsearch@4c429933b9
2016-01-26 21:13:29 -05:00
Areek Zillur
4586ca2e06
[TEST] ensure later license issue date
...
Original commit: elastic/x-pack-elasticsearch@fcedb7ae18
2016-01-26 15:49:01 -05:00
Jason Tedor
19c87bd143
Add Groovy closure Watcher test
...
This commit adds an integration test for Watcher that tests Groovy
closures.
Closes elastic/elasticsearch#1362 , relates elastic/elasticsearchelastic/elasticsearch#16196
Original commit: elastic/x-pack-elasticsearch@1a6b1a3e07
2016-01-26 13:04:36 -05:00
jaymode
3fdf9ad390
test: use the correct stop watcher url
...
Original commit: elastic/x-pack-elasticsearch@6fa81079bb
2016-01-26 10:22:33 -05:00
Martijn van Groningen
39a56202cf
test: added ingest actions
...
Original commit: elastic/x-pack-elasticsearch@102751aa5f
2016-01-26 14:20:29 +01:00
Lukas Olson
6f20017dec
Merge pull request elastic/elasticsearch#1365 from lukasolson/kibana-shield-webpackShims
...
Kibana/Shield: Add webpackShims folder so gulp tasks run successfully
Original commit: elastic/x-pack-elasticsearch@715e075ad7
2016-01-25 15:10:38 -07:00
jaymode
8d67195ffc
test: add additional logging to debug ClearRolesCacheTests CI failures
...
See elastic/elasticsearch#1354
Original commit: elastic/x-pack-elasticsearch@a7cbf5e08c
2016-01-25 14:38:17 -05:00
uboness
978996e088
cleanup shield's `Privilege` and `Permission` constructs
...
- broke down these classes to multiple top level classes
- also `Role` is not a top level class
Original commit: elastic/x-pack-elasticsearch@8900f869e1
2016-01-25 12:54:04 +01:00
Lukas Olson
1a7c03c13d
Merge pull request elastic/elasticsearch#1340 from lukasolson/login-authenticate-api
...
Update login to use authenticate API
Original commit: elastic/x-pack-elasticsearch@ae9b6ee94f
2016-01-22 15:51:23 -07:00
Chris Cowan
536aac9f99
Merge pull request elastic/elasticsearch#1291 from simianhacker/webpackShim
...
Include webpackShims in Build
Original commit: elastic/x-pack-elasticsearch@97c6c61948
2016-01-22 13:17:38 -07:00
uboness
8781990ca8
fix build - compilation
...
Original commit: elastic/x-pack-elasticsearch@7508ed0c38
2016-01-22 18:36:53 +01:00
markharwood
03944c9a95
Settings - change over to o.e.common.settings.Setting for http.enabled setting
...
Original commit: elastic/x-pack-elasticsearch@3b551a6fb6
2016-01-22 14:56:38 +00:00
javanna
80aa3e29dd
[TEST] the jvm flag is not returned anymore as site plugins support has been removed
...
Original commit: elastic/x-pack-elasticsearch@f02a42aed6
2016-01-22 14:33:55 +01:00
uboness
617c51cc86
fix build (settings cannot be prefixed with `.`)
...
Original commit: elastic/x-pack-elasticsearch@62178e1e82
2016-01-21 11:50:53 +01:00
Tanguy Leroux
e6832e5881
Marvel: Fix MultiNodesStatsTests
...
Closes elastic/elasticsearch#960
Original commit: elastic/x-pack-elasticsearch@969f22fcf7
2016-01-21 10:31:47 +01:00
Tanguy Leroux
d4afcf4e4e
Marvel: Fix CleanerServiceTests when setting is equal to 0
...
closes elastic/elasticsearch#1319
Original commit: elastic/x-pack-elasticsearch@2dd8d61376
2016-01-21 09:36:28 +01:00
Simon Willnauer
01bc1f4124
Pass identity function as a client wrapper #Relates to elastic/elasticsearchelastic/elasticsearch#16101
...
Original commit: elastic/x-pack-elasticsearch@5eff4b440b
2016-01-20 09:39:37 +01:00
Simon Willnauer
a30c6c2780
Add generic type and suppress warnings to test
...
Original commit: elastic/x-pack-elasticsearch@b454af89bd
2016-01-20 09:21:05 +01:00
jaymode
471ee7d867
shield: add rest API spec for authenticate api
...
Original commit: elastic/x-pack-elasticsearch@3dcfd5549b
2016-01-19 12:51:42 -05:00
Simon Willnauer
7c0641afdb
Merge pull request elastic/elasticsearch#1328 from s1monw/prepare_new_index_settings
...
Upgrade to new index settings infrastructure
Original commit: elastic/x-pack-elasticsearch@306fe5afbe
2016-01-19 12:43:17 +01:00
Simon Willnauer
8831a880b1
Upgrade to new index settings infrastructure
...
As of elastic/elasticsearchelastic/elasticsearch#16054 all index level settings
must be registered and use the new settings infrastructure. This commit
prepares for the merge to provide a smooth transition.
Original commit: elastic/x-pack-elasticsearch@bc0a4fec07
2016-01-19 12:03:11 +01:00
Adrien Grand
fedfdde216
Fix compilation after elastic/elasticsearchelastic/elasticsearch#16059.
...
Original commit: elastic/x-pack-elasticsearch@60e083a739
2016-01-19 09:32:52 +01:00
Robert Muir
e24dfe2c3e
don't depend on localhost
...
Original commit: elastic/x-pack-elasticsearch@e3c03fcb27
2016-01-18 19:51:00 -08:00
Ryan Ernst
142bb4c77d
Merge pull request elastic/elasticsearch#1325 from rjernst/rest_alone
...
Test: Make rest tests extend ESTestCase
Original commit: elastic/x-pack-elasticsearch@2dc384375b
2016-01-18 17:38:33 -08:00
Ryan Ernst
80617ab39e
Test: Make rest tests extend ESTestCase
...
This is the xplugins side of elastic/elasticsearchelastic/elasticsearch#16070.
Original commit: elastic/x-pack-elasticsearch@57d1a9108b
2016-01-18 16:44:56 -08:00
Lukas Olson
e3c26db7e4
Merge pull request elastic/elasticsearch#1314 from lukasolson/kibana-es-shield
...
Add shield plugin to elasticsearch-js client
Original commit: elastic/x-pack-elasticsearch@b834ca12b9
2016-01-18 17:26:03 -07:00
Lee Hinman
43088ee9bc
Merge remote-tracking branch 'origin/feature/shield-api'
...
Original commit: elastic/x-pack-elasticsearch@be14513d9f
2016-01-18 16:23:17 -07:00
Lee Hinman
da3d7177be
Add Shield HTTP APIs for users and roles
...
Relates to elastic/elasticsearch#33
Original commit: elastic/x-pack-elasticsearch@a0942c9334
2016-01-18 16:21:22 -07:00
Nik Everett
1feea91734
Merge pull request elastic/elasticsearch#1235 from nik9000/more_remove_inject
...
Stop building query parsers with guice
Original commit: elastic/x-pack-elasticsearch@c621cfc94d
2016-01-18 17:40:04 -05:00
Jason Tedor
69ee9d77ad
Reflect upstream load average change
...
This commit addresses the handling of load averages in Marvel due to
upstream changes in core Elasticsearch where the load average field was
changed from an array to an object.
Original commit: elastic/x-pack-elasticsearch@9ea57968bb
2016-01-18 15:50:17 -05:00
Nik Everett
d713f203ad
Fix compilation error after core shifted
...
Core is slowly removing raw types. Slowly. And one such removal broke shield.
Original commit: elastic/x-pack-elasticsearch@aa1b668c63
2016-01-18 10:37:39 -05:00
Tanguy Leroux
9e4686536a
Marvel: Map renderers by object class rather than by name
...
Original commit: elastic/x-pack-elasticsearch@8f6dd0c530
2016-01-18 15:12:42 +01:00
Lukas Olson
a4c65e9a57
Merge pull request elastic/elasticsearch#1298 from lukasolson/fix-login-page-with-auth-redirect
...
Fix issue where the login page was visible when authenticated
Original commit: elastic/x-pack-elasticsearch@4ed71a90a6
2016-01-15 18:09:28 -07:00
Tanguy Leroux
a30b894166
Marvel: Check that document count is the same on all data nodes
...
closes elastic/elasticsearch#1214
Original commit: elastic/x-pack-elasticsearch@1cf352fa3b
2016-01-15 10:51:16 +01:00
Lukas Olson
be091b7025
Merge pull request elastic/elasticsearch#1296 from lukasolson/kibana-shield-autoload
...
Update kibana shield plugin for kibana plugin autoload changes
Original commit: elastic/x-pack-elasticsearch@af7f0612fc
2016-01-14 09:50:25 -07:00
javanna
389b2be08a
[TEST] blacklist get aliases test against closed indices
...
Shield expands wildcards to concrete names (aliases or indices) before each request gets executed in es core. It never resolves aliases to concrete indices though, as permissions may be set against aliases rather than indices. During this resolution, it also looks at the state of the indices and the current indices options (expand_wildcards) to expand only to indices with the relevant state. When it comes to aliases though, they may point to multiple indices each one having a different state, so it always expands ignoring expand_wildcards. At that point the request will contain the explicit name of the alias, no wildcards, thus the expand_wildcards option will have no effect in core. ignore_unavailable could be used instead when interacting with shield, which would affect how aliases are resolved to multiple indices. In this case we can only blacklist the test in shield, as it will return both the closed index and the open one.
Original commit: elastic/x-pack-elasticsearch@54c11dfc31
2016-01-14 17:20:23 +01:00
javanna
af60f45c4a
fix failing DefaultIndicesResolverTests due to upstream change
...
get aliases api returns now closed indices too by default
Original commit: elastic/x-pack-elasticsearch@d97e18cd71
2016-01-14 15:04:58 +01:00