Commit Graph

3616 Commits

Author SHA1 Message Date
Jason Tedor ded4c2278c Remove settings and system properties entanglement
This commit removals the usage of system properties as settings from the
command scripts and the commands themselves.

Relates elastic/elasticsearch#2206

Original commit: elastic/x-pack-elasticsearch@b0a3b895b1
2016-05-19 14:09:49 -04:00
Joe Fleming d34a20f8c8 Merge pull request elastic/elasticsearch#2288 from ycombinator/reporting-license-check-defensive-code
Make license check module more defensive

Original commit: elastic/x-pack-elasticsearch@39f9619c48
2016-05-19 09:50:45 -07:00
Tanguy Leroux 5161b540a9 Move unneeded log info messages to debug
closes  elastic/elasticsearch#2228, elastic/elasticsearch#2227

Original commit: elastic/x-pack-elasticsearch@558751c424
2016-05-19 17:28:20 +02:00
Ali Beyad d6179855bd Renamed AggregatorBuilder to AggregationBuilder, applying the changes to
x-plugins.

Closes elastic/elasticsearch#2263
Relates elastic/elasticsearch#18377

Original commit: elastic/x-pack-elasticsearch@6d1a698669
2016-05-19 09:28:53 -04:00
Chris Earle 87c085d857 Better approach to skipping license check for subprojects
Original commit: elastic/x-pack-elasticsearch@8624ab08cc
2016-05-19 02:41:03 -04:00
Chris Earle 93ca4db1ce Remove duped plugin application from Gradle script.
Original commit: elastic/x-pack-elasticsearch@6745b39c82
2016-05-19 02:20:55 -04:00
Chris Earle c94a326f1d Split monitoring smoke tests into separate smoke tests
There is a race condition between the smoke tests that get run because of the teardown conditions of
REST tests. By splitting them, we can avoid the unrealistic scenario/race condition.

Original commit: elastic/x-pack-elasticsearch@f95ae0e595
2016-05-19 02:08:33 -04:00
Areek Zillur 703dfda921 Merge branch 'master' into fix/remove-license
Original commit: elastic/x-pack-elasticsearch@1e84c8431d
2016-05-18 16:16:53 -04:00
Chris Earle c754f7cf08 Fixing grammar in GRADLE.CHEATSHEET
Original commit: elastic/x-pack-elasticsearch@3adf64d641
2016-05-18 14:17:13 -04:00
Chris Earle 5496fd3407 Adding more Gradle cheatsheet info
Original commit: elastic/x-pack-elasticsearch@4439769da6
2016-05-18 14:14:25 -04:00
Chris Earle 10c48c2847 Adding more Gradle info
Original commit: elastic/x-pack-elasticsearch@d451020dfc
2016-05-18 14:00:00 -04:00
Chris Earle 0c2b4f9ff3 Updating Gradle cheatsheet
Original commit: elastic/x-pack-elasticsearch@94a2379d74
2016-05-18 13:51:46 -04:00
Chris Earle cb8774aa2c Add asciidoc extension to GRADLE.CHEATSHEET so that GitHub renders it
Original commit: elastic/x-pack-elasticsearch@d05f0280a3
2016-05-18 13:42:25 -04:00
Chris Earle ecf4c30979 Rename /_x-pack/monitoring/* to /_xpack/monitoring/*
This PR just drops the - in the existing REST API name by changing the base MonitoringRestHandler to extend
XPackRestHandler instead of BaseRestHandler directly, and using its URI_BASE.

Original commit: elastic/x-pack-elasticsearch@1bed2dba31
2016-05-18 13:26:00 -04:00
Jason Tedor 5bf3b7054c Fix compilation from FsInfo#<init> change in core
This commit fixes some test compilation issues due to upstream changes
in core that added I/O statistics on Linux.

Original commit: elastic/x-pack-elasticsearch@a0877aa0aa
2016-05-17 20:51:54 -04:00
Joe Fleming a4f4cd5203 Merge pull request elastic/elasticsearch#2272 from w33ble/snapshot-flag
Build flags to allow version modification

Original commit: elastic/x-pack-elasticsearch@12dea4b9c8
2016-05-17 14:40:31 -07:00
Areek Zillur a134ec613d Merge pull request elastic/elasticsearch#2258 from areek/fix/2230
Fix license log message levels

Original commit: elastic/x-pack-elasticsearch@c1fe244dd8
2016-05-17 15:09:05 -04:00
Jonathan Budzenski 294a939d9d Merge pull request elastic/elasticsearch#2264 from jbudz/ui-kibana-mappings
monitoring: add kibana mappings

Original commit: elastic/x-pack-elasticsearch@c105aca8b8
2016-05-17 13:15:31 -05:00
Tanguy Leroux a8ed2fa69c Monitoring: Update REST/test namespace
Related to elastic/elasticsearch#1702

Original commit: elastic/x-pack-elasticsearch@6000fd4010
2016-05-17 09:35:25 +02:00
Chris Earle 18919115c1 Updating test to try to get it to actually run Monitoring. This should not have any effect, but the test passes locally 100% of the time and fails remotely 100% of the time...
Original commit: elastic/x-pack-elasticsearch@c3b16b8238
2016-05-16 18:41:26 -04:00
Tim Sullivan de00c7575f Merge pull request elastic/elasticsearch#2252 from tsullivan/monitoring-ui-fix-multicluster-support
Monitoring UI: Fix Multicluster Support / Basic License rules

Original commit: elastic/x-pack-elasticsearch@5af942235e
2016-05-16 14:56:50 -07:00
Jonathan Budzenski b469eef1a2 monitoring ui: change mappings double -> float
Original commit: elastic/x-pack-elasticsearch@6c7c166aec
2016-05-16 16:55:01 -05:00
Jonathan Budzenski 92a58c7c07 monitoring ui: update mappings, align agent version with elasticsearch version
Original commit: elastic/x-pack-elasticsearch@1a9a4fc96e
2016-05-16 15:30:56 -05:00
Jonathan Budzenski bf229d0090 monitoring ui: update mappings
Original commit: elastic/x-pack-elasticsearch@ae5703f10a
2016-05-16 15:21:58 -05:00
Areek Zillur 3ffe341f48 Fix license expiry log message
- change license expiration message from error to warn
 - start logging expiry message from 25 days instead of 30

closes elastic/elasticsearch#2231

Original commit: elastic/x-pack-elasticsearch@6c88066c1f
2016-05-15 21:00:11 -04:00
Areek Zillur 81e14c5617 Fix license log message levels
Now we log license expiry, invalid and grace message as warn and log license valid message as debug

closes elastic/elasticsearch#2230

Original commit: elastic/x-pack-elasticsearch@569c169136
2016-05-15 20:45:10 -04:00
Chris Earle 946cbfb997 Remove default index code from _x-pack/monitoring/_bulk
With the API no longer accepting {index}, we no longer need the code that supported it.

Original commit: elastic/x-pack-elasticsearch@5d0ae37caa
2016-05-14 15:10:04 -04:00
Shaunak Kashyap 7d0a210813 Merge branch 'master' into gh-2001
Original commit: elastic/x-pack-elasticsearch@7ebbf816d5
2016-05-13 21:58:41 -07:00
Lukas Olson 71654d76e7 Merge pull request elastic/elasticsearch#2237 from lukasolson/feature/show-username
Show username in sidebar

Original commit: elastic/x-pack-elasticsearch@ab712f1c6b
2016-05-13 16:50:44 -07:00
Chris Earle 73ba90b863 Disallow {index} being specified at the top level of _xpack/monitoring/_bulk
The general use case is to provide only the {type} to the bulk and even that may not be specified. However,
by setting it up as

/_x-pack/monitoring/{type}/_bulk
/_x-pack/monitoring/{index}/{type}/_bulk

it fails to properly recognize the {type} parameter because the PathTrie that gets generated sees two wildcards
at the same location and the last one specified wins -- {index}. As a result, it's impossible to only set the
{type} without making the PathTrie logic convoluted for a niche use case (a list to try instead of a single path).

his fixes the issue by removing the completely unused option: you can no longer specify {index} outside of
individual bulk indexing operations. If we see a need to bring it back, then we can add it as an API param, but
that is an unusual place for the index field and I do not expect it to be needed that frequently.

Original commit: elastic/x-pack-elasticsearch@40d0d05404
2016-05-13 18:12:04 -04:00
Tim Sullivan d610c02a6d Merge pull request elastic/elasticsearch#2253 from tsullivan/docs-monitoring-ui-server-properties
docs: additional server properties for configuration in Kibana

Original commit: elastic/x-pack-elasticsearch@099b99b45d
2016-05-13 13:10:13 -07:00
Lukas Olson 20f853ae94 Merge pull request elastic/elasticsearch#2244 from lukasolson/fix/remove-xpack-password
Remove xpack.security.kibana.password setting

Original commit: elastic/x-pack-elasticsearch@15b342bf24
2016-05-13 12:59:29 -07:00
Lukas Olson 547e0cfd3c Merge branch 'master' into fix/remove-xpack-password
Original commit: elastic/x-pack-elasticsearch@50e8be9f0e
2016-05-13 12:57:29 -07:00
Lukas Olson b576cccde9 Merge branch 'master' into feature/show-username
Original commit: elastic/x-pack-elasticsearch@40649abc6c
2016-05-13 12:54:48 -07:00
Robert Muir 91426062c1 update mock script engines to take name parameter
Original commit: elastic/x-pack-elasticsearch@c6c48eca39
2016-05-13 15:42:23 -04:00
Lukas Olson 0beefb5299 Merge pull request elastic/elasticsearch#1893 from lukasolson/feature/shield-ui
Security UI: User & role management

Original commit: elastic/x-pack-elasticsearch@c9b0fd286a
2016-05-13 11:38:27 -07:00
Lukas Olson 749eb296ca Merge branch 'master' into feature/shield-ui
Original commit: elastic/x-pack-elasticsearch@bcda7dd9b0
2016-05-13 11:31:39 -07:00
Lukas Olson b3d74da488 Merge branch 'master' into feature/show-username
Original commit: elastic/x-pack-elasticsearch@d4035a412f
2016-05-13 11:17:29 -07:00
Lukas Olson ba13e15417 Merge pull request elastic/elasticsearch#2222 from lukasolson/feature/on-session-timeout
Show warning message as session is about to time out

Original commit: elastic/x-pack-elasticsearch@378383e151
2016-05-13 11:16:33 -07:00
Lee Hinman 31d84f6d27 Merge pull request elastic/elasticsearch#2251 from dakrone/only-one-extension
Fix compilation for only one script language extension

Original commit: elastic/x-pack-elasticsearch@925974fa50
2016-05-13 10:31:57 -06:00
Lee Hinman 2f43179dda Fix compilation for only one script language extension
Relates to https://github.com/elastic/elasticsearch/pull/18332

Original commit: elastic/x-pack-elasticsearch@32f0bd6c4f
2016-05-13 10:29:35 -06:00
Lee Hinman 8c05125781 Merge pull request elastic/elasticsearch#2203 from dakrone/fix-sandbox-removal
Fix Watcher tests for 'sandbox' option removal

Original commit: elastic/x-pack-elasticsearch@cb2db48d13
2016-05-13 10:13:20 -06:00
Lee Hinman 91f2e94ac7 Fix scripting engines for singular type
Original commit: elastic/x-pack-elasticsearch@ed014cefc3
2016-05-13 09:29:37 -06:00
Lee Hinman fd6cf7d3d3 Register engines with a default of `ScriptMode.ON`
Original commit: elastic/x-pack-elasticsearch@d367b4028e
2016-05-13 09:29:37 -06:00
Lee Hinman 6e70856cf5 Fix Watcher tests for 'sandbox' option removal
Relates to https://github.com/elastic/elasticsearch/pull/18226

Original commit: elastic/x-pack-elasticsearch@b30d623dfb
2016-05-13 09:29:37 -06:00
Daniel Mitterdorfer a37cc72329 Exclude specific transport actions from request size limit check
Relates elastic/elasticsearchelastic/elasticsearch#17951

Original commit: elastic/x-pack-elasticsearch@07d2165643
2016-05-13 14:26:14 +02:00
Lukas Olson f108793e3b Merge branch 'master' into feature/shield-ui
Original commit: elastic/x-pack-elasticsearch@11334a500d
2016-05-12 17:09:38 -07:00
Shaunak Kashyap 91e9a2f612 Merge pull request elastic/elasticsearch#2235 from ycombinator/gh-2226
[WIP] Set plugin status to red if x-pack plugin is not installed on ES cluster

Original commit: elastic/x-pack-elasticsearch@b42b2d0330
2016-05-12 16:44:13 -07:00
Joe Fleming c41268b66a Merge pull request elastic/elasticsearch#2205 from ycombinator/gh-2002
Refactoring license checking to use server.plugins.xpackMain.info object

Original commit: elastic/x-pack-elasticsearch@b8be8cf253
2016-05-12 13:44:31 -07:00
Areek Zillur 01b3fc8768 Differentiate between null license and license tombstone in cluster state
Currently, license notification scheme treats no license (before trial license is auto-generated)
and a license tombstone in the cluster state in the same way. This caused a bug where licencees
were not notified of explicit license removal. Now, the notification scheme explicitly handles
license tombstone to notify the licensees and handles the case for no license in cluster state
as before.

Original commit: elastic/x-pack-elasticsearch@c90ec23398
2016-05-12 15:24:36 -04:00