Commit graph

25692 commits

Author SHA1 Message Date
Tim Roes 0af7e33df9
Restore vega.enableExternalUrls documentation (#42820) (#43003)
vega.enableExternalUrls setting missing but it still supported, so needed to be added
2019-08-09 10:06:18 +02:00
Tim Roes 5f7b5940ef
fixes scaling logic to check agg type instead schema (#42574) (#42950)
* fixes scaling logic to check agg type instead schema

* adding selenium test

* updating jest snapshot

* fixing test

* Change test order

* Fix test order
2019-08-09 09:41:28 +02:00
Yang Yang 1578df96f3
[Code] fixed the issue that the repository can not be deleted in some cases. (#42841) (#43001)
* [Code] fixed the issue that the repository can not be deleted in some
cases.

* [Code] catch the rejected exception while cancelling the job, and added
a unit test for CancellationService when the promise of the job get
rejected.

* [Code] refined tests for CancellationService by deferred completion of
the promise.
2019-08-09 14:47:30 +08:00
Mike Côté 06dfcd9b6e
Connect to Elasticsearch via SSL when starting kibana with --ssl (#42840) (#42996)
* Initial work

* Add check for elasticsearch.hosts

* Make --ssl apply default config values only

* Move @kbn/dev-utils to devDependencies

* Check elasticsearch url for localhost

* Cleanup

* elasticsearch.hosts can be string too
2019-08-08 21:52:42 -04:00
Mike Côté c91bc3ad71
Add Elasticsearch SSL support for integration tests (#41765) (#42992)
* Allow tests to use SSL between Kibana and Elasticsearch

* Fix cert path

* By default no tests will use the new ssl feature
2019-08-08 19:49:10 -04:00
Søren Louv-Jansen aa5d96ff40
[APM] Use rounded bucket sizes for transaction distribution (#42830) (#42978)
* [APM] Use rounded bucket sizes for transaction distribution

* Rename and add examples
2019-08-08 23:31:22 +02:00
Lukas Olson 59c1eb9438 Fix duplicate fetch in Visualize (#41204)
* Fix duplicate fetch in Visualize

* Don't refetch when disabled filters change

* Use query filter fetches observable

* Add back in watch on filters

* Revert change completely

* Update test to include non-disabled filter

* Remove unnecessary checks
2019-08-08 14:26:40 -07:00
Lukas Olson bf7ca4df10 Merge remote-tracking branch 'upstream/7.x' into 7.x 2019-08-08 14:24:39 -07:00
KOTungseth 1e30a66fe7 [DOCS] TSVB and Timelion clean up 2019-08-08 16:18:23 -05:00
Felix Stürmer b03c1e1415
[7.x] [Logs UI] Add ML job results APIs (#42356) (#42932)
Backports the following commits to 7.x:
 - [Logs UI] Add ML job results APIs (#42356)
2019-08-08 22:05:06 +02:00
Jonathan Budzenski 78abaf6d06 [yarn.lock] consistent resolve domain (#42969) 2019-08-08 14:40:18 -05:00
Nathan Reese 3b4c17d19e
[Maps] fix bug with draw filters in maps application (#42956) (#42968) 2019-08-08 13:11:40 -06:00
Przemysław Hejman e282f7026a [build] Override "org.label-schema.license" Docker label (#42836) 2019-08-08 14:10:00 -05:00
Luke Elmers e99de71d09
Ensure DataSetup is exported from data public contract. (#42784) (#42958) 2019-08-08 12:49:28 -06:00
Luke Elmers 3e0fa31303
Update index patterns imports to only pull from the root index.ts. (#42700) (#42957) 2019-08-08 12:49:11 -06:00
Shaunak Kashyap d3409004e8
[7.x] Fixing typo in Stack Monitoring error message (#42889) (#42952)
* Fixing typo

* Updating jest snapshots

* Adding missing trailing whitespace :|
2019-08-08 10:36:31 -07:00
Steph Milovic c547eb3d6e
[SIEM] fix timeline/kql search disparity (#42843) (#42935) 2019-08-08 11:29:36 -06:00
Aleh Zasypkin 4c396f85a3
[7.x] Add support for OpenID Connect implicit authentication flow. (#42938) 2019-08-08 18:02:46 +02:00
CJ Cenizal 6826993ca6
Place 'Delete' row action button last in Remote Clusters and Autofollow Pattern tables, for consistency with other ES UI apps. (#42805) (#42920) 2019-08-08 08:18:21 -07:00
Walter Rafelsberger cc53b0fbe9
[ML] Data frames: Analytics jobs list. (#42598) (#42936)
Introduces the data frame analytics jobs list.
2019-08-08 16:50:58 +02:00
spalger 309085fd57 skip flaky test (#42696)
(cherry picked from commit 492ade3d77)
2019-08-08 06:31:36 -07:00
Chris Roberson 85d6c19b0c
[Monitoring] Only fetch a single cluster data instead of all clusters when possible (#42469) (#42870)
* Fetch a single cluster if it's in the global state

* Potential solution

* PR feedback

* Fix tests
2019-08-08 09:11:58 -04:00
Pete Harverson b494423d46
[ML] Converts index based data visualizer to React (#42685) (#42928)
* [ML] Converts index based data visualizer to React

* [ML] Remove unused imports in React data visualizer

* [ML] Address review feedback

* [ML] Address comments from code review

* [ML] Remove redundant ts-ignore
2019-08-08 13:58:36 +01:00
Mikhail Shustov 26bd65014b
Unify response interface in handler and request interceptors (#42442) (#42918)
* add response factory to the interceptors

* adopt x-pack code to the changes

* Add a separate response factory for lifecycles.

Only route handler can respond with 2xx response.
Interceptors may redirect or reject an incoming request.

* re-generate docs

* response.internal --> response.internalError

* use internalError for exceptions in authenticator

* before Security plugin proxied ES error status code. now sets explicitly.

* provide error via message field of error response for BWC

* update docs

* add customError response

* restore integration test and update unit tests

* update docs

* support Hapi error format for BWC

* add a couple of tests
2019-08-08 13:51:01 +02:00
Kerry Gallagher 7c3b5495cd
[InfraUI] [LogsUI] Fix breadcrumbs (#42679) (#42916)
* Add breadcrumbs to metrics-explorer

* Revert "Add breadcrumbs to metrics-explorer"

This reverts commit 27d1c856d8.

* Hoist Breadcrumb handling to the index pages
2019-08-08 11:50:02 +01:00
Maryia Lapata eee2485df8
[Vis Default Editor] File renaming (#42325) (#42914)
* Remove unused EditorOptionsGroup

* Rename file: remove 'default_editor_'
2019-08-08 13:25:04 +03:00
Kerry Gallagher ff80382daa
[LogsUI] [InfraUI] Turn source configuration into a tab and standardize the main navigation (#42243) (#42887)
* Setup Logs routing for multiple pages

* Adds nested routing for logs
* Adds an index page to handle shared concerns
* Adds the Stream page at /logs/stream

* Introduce shared settings page

* Introduces shared/settings page
* Adds shared/settings page as a tab in the Logs routes
* Removes previous source configuration flyout traces from Logs pages

* Begin styling adjustments to settings page

* Implements use of EUI Panels
* Centers page content

* Add discard button

* Add discard button to allow resetting the form

* Fix button alignment

* Align Apply and Discard buttons to the right
* Align Loading button to the right

* Add EuiDescribedFormGroup for all form fields

* Add EuiDescribedFormGroup for name panel
* Add EuiDescribedFormGroup for indices panel
* Add EuiDescribedFormGroup for fields panel

* Remove all SourceConfigurationFlyout traces from the Infrastructure UI

* Add a ViewSourceConfigurationButton

* Adds a ViewSourceConfigurationButton component that will route to the /settings page
* Replace all instances of "View Configuration" buttons that were opening the flyout with the new button

* Enable settings tab amongst Infrastructure routes

* Change navigation to mimic SIEM

* Introduces an AppNavigation component
* Amends styling / handling of RoutedTabs to match SIEM implementation
* Adds new AppNavigation component to Infrastructure and Logs indexe pages

* Functional test amendments (WIP)

* Temporarily disable certain functional tests

* Remove unused imports

* Disable imports so build can pass

* Amend I18N errors

* I18N

* Automatically fix issues with i18n (node scripts/i18n_check --fix result)

* Functional tests

* Amend tests so they pass locally. Pending CI test.

* Amend RoutedTabs (without link focus style)

* Tweak RoutedTabs and AppNavigation for better performance / visuals

* Ensure outline isn't cut off
* Ensure only the react-router instance is hit for performance
* Ensure links still have href attributes for things like "Open in a new tab" even if history.push ultimately navigates

* Fix i18n usages

* node scripts/i18n_check --fix

* Amend functional test config (post Master merge fix)

* Remove unused function and fix unused import

* Add a Prompt to notify users when form changes will be lost

* Add aria-label to Button
2019-08-08 10:41:53 +01:00
Alexey Antonov e08bcd9a5a
Unknown provider regionMapsConfigProvider (#42821) (#42911) 2019-08-08 16:55:01 +08:00
Tim Roes 83aa427f0b
Fix issue when removing scripted fields (#42838) (#42850) 2019-08-08 09:58:31 +02:00
Walter Rafelsberger d1c39d4b1c
[ML] Data Frames: Fixes JSON pane. (#42816) (#42844)
Moves the client-side mode attribute from the job config object to the outer transform list row object. The mode attribute wrongly showed up as part of the JSON config in the transform list.
Fixes the JSON pane of expanded transform list rows to span the full width.
2019-08-08 08:19:00 +02:00
Dmitry Lemeshko feb070df6a
bump chromedriver version to 76 (#42468) (#42874)
* bump chromedriver version to 76

* [test/interpreter_functional] update snapshots

* [test/interpreter_functional] skip failing tests

* Revert "[test/interpreter_functional] update snapshots"

This reverts commit 6401554882.

* [test/interpreter_functional] skip snapshot tests
2019-08-08 07:40:37 +02:00
Luke Elmers ab46bd1805
TS cleanup on new IndexPatterns implementation. (#42646) (#42781) 2019-08-07 22:34:18 -06:00
CJ Cenizal 6225e29b98
Add API endpoint to Rollup Job JSON summary. (#42789) (#42902)
* Switch to using EuiCodeBlock, add description text, and make request copyable.
* Align ILM request flyout.
2019-08-07 21:21:04 -07:00
Yang Yang bb6d7f482e
[Code] refactored the queue to process tasks belong to local node only. (#42708) (#42901)
1. added a `isResourceLocal` method to the CodeServices to check whether
the resource belongs to the local node according to the routing table.
2. each worker only processes jobs that belong to their node.
2019-08-08 10:54:31 +08:00
Tre 5f4cc409f3
Drop explicit dependency, to fixup #42867 (#42886) (#42894) 2019-08-07 19:25:38 -06:00
Nathan Reese 6833ffaa79
[Maps] add filter bar to maps application (#42756) (#42899)
* [Maps] add filter bar to maps application

* map and merge filters

* add functional test for loading maps with filters

* use filterManager instead of internals

* remove data.filter.filterManager reassignment
2019-08-07 19:07:15 -06:00
CJ Cenizal d8ab8d2c53
Show endpoint in JSON preview of index lifecycle policy editor. (#42791) (#42896)
* Reduce tabs from 4 to 2.
* Increase flyout width to 480px and remove overlay.
* Show line numbers.
* Use EuiCopy component.
* Add description text.
* Update title and endpoint when there is no name specified.
2019-08-07 17:47:48 -07:00
CJ Cenizal 624165da0f
Remove support for deprecated multi_field type in Console. (#42802) (#42897) 2019-08-07 17:47:33 -07:00
Josh Dover ead46453f1
[7.x] Add PluginManfiest to generated docs (#42795) (#42861) 2019-08-07 16:37:17 -05:00
gchaps cbd17632a4
[DOCS] [7.4] Updates dashboard only docs (#42775)
* [DOCS] Updates dashboard only docs

* [DOCS] Adds deprecation notice to dashboard-only mode docs
2019-08-07 14:24:34 -07:00
James Gowdy 5c0d311898
[ML] Relaxing index pattern restriction on module setup (#42619) (#42860)
* [ML] Removing index pattern restriction on module setup

* fixing typo
2019-08-07 21:13:51 +01:00
Tre 784d54d751
Run prettier on the files that will be refactored under @kbn/test, in a follow-up pr. (#42849) (#42859) 2019-08-07 14:00:57 -06:00
Liza Katz f3c760140b
Switched graph to use new top nav (#41966) (#42857)
* Switched graph to use new top nav

* Make sure fields and fieldConfig are properly shown

* Removed unused translations

* Hide config section

* removed unneeded var reset

* Fixed css rendering

* Removed unneeded evalAsync

* Removed unused var

* css fixes

* Simplified toggling behavior

* ng-if
2019-08-07 22:52:23 +03:00
dave.snider@gmail.com 40c8e0ced5
Remove unused KUI code (#42748) (#42856)
* Remove unused KUI code

* delete a bunch of dead code

* feedback

* linting
2019-08-07 12:08:57 -07:00
Larry Gregory 2ee40ae96b
Security - introduce checkSavedObjectsPrivileges service for S… (#42452) (#42854)
* poc

* revert accidental change

* extracting saved objects privilege check to its own service

* fix typescript

* address PR feedback
2019-08-07 14:54:41 -04:00
Mike Côté 58c91ac67d
Add SSL support when starting Elasticsearch from yarn es (#42527) (#42839)
* Initial work

* Add integration tests

* Use constants

* Fix broken code

* Handle scenario where esArgs is a string

* Remove || []

* Apply PR feedback

* Use const format
2019-08-07 11:48:54 -04:00
Aaron Caldwell c579b4a43b
Re-enable previously skipped geo_shape antimeridian test since upstream issue has been resolved (#42625) (#42833) 2019-08-07 09:38:12 -06:00
Zacqary Adam Xeper 1deeb59daa
Fix broken CONTRIBUTING.md link (#42548) (#42645) 2019-08-07 10:15:53 -05:00
Tim Roes 2d440cbadf
Improve VisParam typings (#42695) (#42832)
* Begin typing VisParams in old editor

* Forgotten save

* Continue updating types

* Adjust tilemap typings

* Use proper generic name

* Reuse vis param types in expression fn

* Address review

* Optimize types

* Fix typing
2019-08-07 16:43:48 +02:00
Oliver Gupte 4301be4821
[APM] Always get the root transaction when fetching trace items (#42508) (#42812)
* [APM] Always get the root transaction when fetching trace items
Fixes #33210

* code tweaks

* displays message notifying user that trace items exceeds maximum displayed

* remove getTraceRoot query by adjusting the score and order of trace
items with no parent.id

* add `apm_oss.maxTraceItems` config options to control the number of displayed trace items

* changed config `apm_oss.maxTraceItems` to `xpack.apm.ui.maxTraceItems`

* added missing configs to apm settings doc and docker template

* minor code tweak
2019-08-07 06:58:51 -07:00