Commit graph

17263 commits

Author SHA1 Message Date
Søren Louv-Jansen
fdc24f5b3f
[APM] Minor watcher improvements (#18602)
* [APM] Improve watcher tests

* Update tests
2018-04-26 17:44:31 +02:00
Nathan Reese
bed97a27b0
Eui dashboard listing (#16967)
* convert dashboard listing page to react and EUI

* add jest test for DashboardListing component

* add data-test-subj attributes

* clean up jest test

* hideWriteControls and call to action when no dashboards exist

* pass initial filter to dashboard listing, get functional tests to work

* fix dashboard queries functional tests

* upgraded to EUI 0.0.29 to get defaultFocusedButton fix

* move dashboardListing directive to index

* spacing in if statement

* switch to EuiBasicTable

* pagination

* add sorting

* fix jest test

* handle out of order fetchs

* remove info.gif

* re-instate search functional test

* replace EuiSearchBar with EuiFieldSearch

* fix functional tests

* update snapshot - when code rebased - new EUI version add another prop

* add Edit link to actions column
2018-04-26 08:16:56 -06:00
Tim Roes
b95b3f4fc1
Fix map not refetching correctly (#18600) 2018-04-26 15:58:02 +02:00
Tim Sullivan
4630548d2c
[Monitoring/React] Render ES Nodes Listing with Base Controller (#18585)
* [Monitoring/React] Render ES Nodes Listing with Base Controller

Refactors the ES Nodes Listing to use Base Controller and a React component instead of an Angular directive

* remove another obsolete file
2018-04-25 17:38:30 -07:00
Tim Sullivan
86d3786d34
[Monitoring/License] copy license LESS instead of reference it (#18591) 2018-04-25 17:29:56 -07:00
Yuri Astrakhan
4e938590f5
Bumped Vega lib version to 3.3.1 (#17829)
Turns out there is a significant problem with how Vega library manages its dependencies. Instead of using a fairly common "^1.2.3" form, it used "1" (major only) almost everywhere. While this works fine if node_modules and yarn.lock are deleted and rebuilt, bumping Vega lib's primary version in our package.json and using yarn install would not touch other subcomponents. This resulted in several 6.2 and 6.3 shipping with the outdated vega dependencies while we thought that we included the latest vega versions The problem has been reported vega/vega#1259 and will hopefully be solved with the next version.

In the mean time, this patch updates all vega-related dependencies in the yarn.lock file.
2018-04-26 01:31:16 +03:00
Fabien Baligand
c170388847 add doc for environment variable injection (#17833) 2018-04-25 17:18:06 -05:00
Thomas Neirynck
dde52f0607
Add multiple colorramps to coordinate maps (#17403) 2018-04-25 17:45:41 -04:00
Tyler Smalley
5d8cf56532
[kbn-es] Use basic license as default (#18577)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-25 14:00:24 -07:00
Tim Sullivan
706f0f2916
[Status] Organize metrics stuff into metrics_collector, tests into __test__ directories, remove mock-fs for the cgroup test (#17788)
* [Status] Organize tests into __test__ directories

* custom mock for fs in cgroups test

* work around unhandled rejection errors

* simplify fserror construct

* put fs readFile mockImpl in beforeAll for pretty

* undo hacking the code to suppress unhandled promise rejections

* test files back to sibling of the module
2018-04-25 10:37:25 -07:00
Tim Roes
ef8657067a
Add significant terms in tag cloud visualization (#17770)
* Allow significant terms for tag cloud

* Fix request before terms aggregation has configured

* Check if at least one agg is in array
2018-04-25 14:34:41 +02:00
Tim Roes
7625c3fcd4
Fix forwarding of modifyAggConfigOnSearchRequestStart (#17740)
* Fix forwarding of modifyAggConfigOnSearchRequestStart

* Add unit tests
2018-04-25 10:08:11 +02:00
Tim Roes
264786d8e1
Fix pagination styling due to EUI changes (#17823) 2018-04-25 09:54:11 +02:00
Lisa Cawley
ce039a4da9
[DOCS] Adds new installation package details (#17781) 2018-04-24 23:14:33 -07:00
archana
ebb651c321
Temporarily ignore kebab casing in some parts of x-pack (#18505) 2018-04-24 20:08:06 -05:00
Chris Earle
015e94b5fe
[Monitoring] Recognize Write Threadpool (#18147)
This changes the Advanced Node page for Elasticsearch to recognize the
"write" threadpool, while also incorporating the deprecated "index"
threadpool and renamed "bulk" usage (renamed to "write").

This sums the three writing threadpools together and displays it as a
unified view.
2018-04-24 19:26:50 -04:00
Tyler Smalley
5cb9cd7d33
[kbn-es] Fixes ES snapshot path for OSS builds (#17860)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-24 15:42:49 -07:00
Jenkins CI
fe4609647d Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
Larry Gregory
d9d9fb22fb
Disallow use of "dangerouslySetInnerHTML" on React components (#17759)
Disallows use of "dangerouslySetInnerHTML" on React components, except where explicitly whitelisted
2018-04-20 14:22:10 -04:00
Peter Pisljar
6068dcea82
making sure type is defined and has postFlightRequest function (#17809) 2018-04-20 12:23:52 -05:00
Peter Pisljar
98f1220b79
remove other bucket UI from significant terms (#17810) 2018-04-20 12:23:41 -05:00
markwalkom
e0decf6d0b
Update tutorial-define-index.asciidoc (#16028)
* Update tutorial-define-index.asciidoc

Added a note on how to check for current indices in Elasticsearch, to make it clearer for people that haven't used the previous chapters.

* Update tutorial-define-index.asciidoc
2018-04-20 10:33:57 -05:00
Kim Joar Bekkelund
ef900fd42d
Enable Prettier for more packages (#17763) 2018-04-20 17:13:34 +02:00
Kim Joar Bekkelund
403889416c
Improve the reload logging config assertions (#17815)
* Improve the reload logging config assertions

* Add a timer to hopefully make less flaky
2018-04-20 16:13:15 +02:00
Kim Joar Bekkelund
c0158105f5
Upgrade to Prettier 1.12.1 (#17791)
* Upgrade to Prettier 1.12.1

* Add back dev dep
2018-04-20 11:48:37 +02:00
Tim Roes
196ef0df21
Add tern file and remove htpasswd (#17792) 2018-04-20 09:48:39 +02:00
Thomas Neirynck
5c38b474ec
Improve map-data handling (#17263)
- Improve performance by avoiding unnecessary ES-response conversion. 
- Prepare the code-internals visualization to use intermediate tabular representation. This sets this up for a possible refactor to use the Canvas data pipeline.
- Do not clone ES-responses when not necessary.
2018-04-19 22:43:11 -04:00
Spencer
dea6062f9d
[grunt] remove .rej file check (#17805)
The old backport tool we used, Jasper, would create PRs with .rej files
when it couldn't merge a backport cleanly. That lead to this task which
would skip the tests if .rej files were found. Now we don't use Jasper
and this check takes about 1 minute to run on CI, so we can remove it
and save some time.
2018-04-19 13:36:31 -07:00
Brandon Kobel
97df91f36f
Revert "Support PKCS#12 encoded certificates (#17261)" (#17801)
* Revert "Support PKCS#12 encoded certificates (#17261)"

This reverts commit de91bd0f09.

* Fixing tests
2018-04-19 14:35:06 -04:00
Court Ewing
e0424608a6
docs: pull request review guidelines (#17101)
Outlines the general goals/philosophy behind our pull request review
process.
2018-04-19 12:36:37 -04:00
Kim Joar Bekkelund
9e15904f78
Stop using 'ui/' when importing within the ui folder (#17768) 2018-04-19 10:34:36 +02:00
Bill McConaghy
1ffcac5ad9
using server.expose instead of modifying core server (#17785) 2018-04-18 19:11:43 -04:00
gchaps
ca8fb2b065
[DOCS] Minor changes to Advanced Settings and Featured Visualizations (#17778) 2018-04-18 14:40:20 -07:00
Lukas Olson
2ec9956885
Fix date math parser to not use hardcoded length (#17751)
* Fix date math parser to not use hardcoded length

* Add test
2018-04-18 14:08:28 -07:00
Spencer
b994ab3f56
[yarn] upgrade jest and related packages (#17779) 2018-04-18 13:51:19 -07:00
Fabien Baligand
aaf2f1113b
fix plugin.js link (#17710) 2018-04-18 15:08:57 -05:00
Spencer
1fd537821f
[kbn-es] add basic integration tests for exit code/promise handling (#17600) 2018-04-18 12:59:19 -07:00
Kim Joar Bekkelund
d9f34f704e
Introduce @kbn/system-loader (#17595)
* Introduce @kbn/plugin-system

* Throw if plugin exposes a promise from 'start'

* TS updates

* rename

* Better error if missing plugin

* Api to add multiple specs at the same time

* isPromise prettier-ified

* Rename 'plugin' to 'system'

* Metadata + some cleanups

* Make it possible to type system metadata

* Throw if stop is async

* Add tests for System class
2018-04-18 21:50:36 +02:00
Lee Drengenberg
842ed488c5
Support 1 Kibana and 1 Elasticsearch URL as input params (#9760)
* Support 1 Kibana and 1 Elasticsearch URL as input params

* Revert a previous change to test char substitution

* Allow setting TEST_KIBANA_URL and TEST_ES_URL for Cloud testing

* cleanup comment

* Update docs

* Refactor after PR review

* Changes from review

* fix default Kibana port to 5620

* Change es_test_config.js similar to kibana_test_server_url_parts.js
2018-04-18 13:18:56 -05:00
Brandon Kobel
bf2b6b01d4
Preserving boom error headers for index pattern exceptions (#17725) 2018-04-18 12:56:23 -04:00
Bill McConaghy
2a715c8b7f
adding extension point for adding endpoint defs to console autocomplete (#17769) 2018-04-18 12:54:01 -04:00
Peter Pisljar
e96e6b5feb
remove angular from AggTypes (#17681) 2018-04-18 08:57:13 -05:00
Kim Joar Bekkelund
968632c893
Stop using 'plugins/...' import when within current plugin (#17760) 2018-04-18 14:53:00 +02:00
Tim Roes
a7aa871388
Use proper labeling for single metric no bucket pie charts (#17739) 2018-04-18 12:50:55 +02:00
Kim Joar Bekkelund
5628ac3052
Get rid of Lodash mixins (#17737)
* Get rid of _.class mixin

* Get rid of _.flattenWith

* Get rid of _.isNumeric

* Get rid of _.toggleInOut

* Get rid of _.onceWithCb

* Get rid of _.callEach

* Get rid of _.organizeBy, _.pushAll, _.move

* Delete Lodash webpackShim
2018-04-18 07:24:06 +02:00
Bill McConaghy
af300c9963
Fixing autocomplete issues (#17678)
* renaming endpoint defs to remove collisions

* Revert "renaming endpoint defs to remove collisions"

This reverts commit 01a113db81.

* generic fix for issue with spec collisions

* better fix for collisions

* changing name of autocomplete only endpoint to fix issue with put index settings

* removing return that is never hit
2018-04-17 14:40:24 -04:00
Bill McConaghy
b43d96a381
removing unsupported type from autocomplete (#17694) 2018-04-17 14:39:58 -04:00
Bill McConaghy
729d28441e
fixing issues with autocomplete and bucket aggs (#17695) 2018-04-17 14:39:01 -04:00
Brandon Kobel
00ecde66cc
Updating request to 2.85.0 (#17592)
* Updating request to 2.85.0

* Adding the caret

* updating the yarn.lock
2018-04-17 13:57:52 -04:00
Matt Bargar
d9ec6180ac
Get even more debug info (#17627) 2018-04-17 13:48:21 -04:00