Commit graph

28034 commits

Author SHA1 Message Date
renovate[bot] 23650a0c1f Update dependency @elastic/elasticsearch to ^7.4.0 (#47338) 2019-10-05 05:30:50 -07:00
renovate[bot] fc53d4efb3 Update dependency tar-fs to ^1.16.3 (#47341) 2019-10-05 05:29:50 -07:00
Ryland Herrick 67d026e77f
[Code] Code Integrator Component (#47180)
* Add CodeIntegrator component

* Abstracts shared ImportModal component
* Uses placeholder data and callbacks in lieu of real integration
2019-10-04 20:26:55 -05:00
Catherine Liu aa1102d011
[Canvas][i18n] Sidebar (#46090)
*  This is a combination of 5 commits.

Extracts i18n strings from sidebar_content

Extracts i18n strings from element_settings

Extracted i18n strings from workpad_config

Extracts i18n strings from page_config

Extracts i18n strings from group_settings

Extracts i18n strings from element_config and multi_element_settings

Extracted remaining strings from element_config

Extracts i18n strings from sidebar_header

Extracts i18n strings from custom_element_modal

Fixed file picker placeholder

Fixed i18n ids

* Alphabetize keys

* Fixed save button label

* fixed merge conflict
2019-10-04 18:21:45 -07:00
Gidi Meir Morris 02012f02fe
Generate uuid in task Manager as Kibana uuid may not yet have been initialised
Generate uuid for TaskManager at startup
2019-10-04 17:16:17 -07:00
Ryland Herrick c505fcbd05
[Code] Embedded Code Snippet Component (#47183)
* Add Integrations page and POC CodeBlock usage

* Adds new route hidden behind a config var
(`xpack.code.integrations.enabld`)
* Updates CodeBlock component to have a smaller API surface
* Adds several example components for various pieces of the new APM
integration designs.

* Pare down stub data

Hits and ranges were both part of our search results queries; O11y won't
have that information.
2019-10-04 19:02:19 -05:00
Brian Seeders 7d96a13fad
Revert "Add pipeline for flaky test runner job (#46740)"
This reverts commit e89425552b.
2019-10-04 16:55:20 -04:00
Nathan Reese 3e9b0c81b2
SearchSource: fix docvalue_fields and fields intersection logic (#46724)
* SearchSource: fix docvalue_fields and fields intersection logic

* update filter logic to handle docvalue_fields that are just strings
2019-10-04 12:49:11 -06:00
Kaarina Tungseth 9c85bd364d
[DOCS] Specified default settings for server.rewriteBasePath (#45305)
* [DOCS] Specified default settings for server.rewriteBasePath

* Doing some version switching
2019-10-04 13:43:28 -05:00
Mikhail Shustov 3a5c06858a
Expose injectMetadata service temporarily (#47319)
* expose injectMetadata until config service provided

* add functional test

* update types

* fix tests. injectMetadata is a part of plugin contract

* add comment about injectedVars API
2019-10-04 20:41:24 +02:00
Brian Seeders e89425552b
Add pipeline for flaky test runner job (#46740)
* WIP Jenkinsfile for flaky test runner

* Fix syntax

* A few more jenkinsfile fixes

* A few more fixes

* Can't round numbers in Jenkins groovy sandbox apparently

* More fixes

* Only do build_kbn_tp_sample_panel_action once during flaky testing

* Fix path and try setting a different JOB value

* Keep track of flaky test failures

* Introduce flaky test for testing

* Some flaky test pipeline cleanup

* Fix a couple of issues with flaky test failure tracking

* Update flaky test runner build name/desc with metadata

* Revert "Introduce flaky test for testing"

This reverts commit 202e9d86cf130ef37aff1817781a5b694aa2aa32.

* Try adding a local shared library

* Move local library loading logic to kibana pipeline library

* Move shared groovy code to shared library

* Add missed file

* Add ability to specify multiple agents for flaky test runner

* Update kibana-pipeline-library version

* Fix bug causing early exit for oss ciGroup1
2019-10-04 13:53:46 -04:00
Gidi Meir Morris 5a89c6ac5d
[Task Manager] Ownership performance Improvements (#46997)
Task Manager now uses updateByQuery to identify tasks it needs to pick up and claim ownership of them in a single call to Elasticsearch.

This reduces the version conflicts that often plague Task Manager when running multiple Kibana against a single ES cluster.

This has already shown small perf gains locally, and lays the ground work to a second phase (bulk processing the markTaskAsRunning step) which should allow to paralelise the task running feature further.
2019-10-04 10:37:54 -07:00
Rashmi Kulkarni 8b1a3787cd
Tsvb chart - unskipping the gauge test (#47155)
Fixes https://github.com/elastic/kibana/issues/46677 - unskipping the tests
2019-10-04 10:07:38 -07:00
Kaarina Tungseth 54382fe122
[DOCS] Specifies deprecated setting for 7.x (#46162) 2019-10-04 11:29:54 -05:00
Lee Drengenberg 700a7ef576
Add option for Internet Explorer IE11 to FTR (#42967)
* Add option for Internet Explorer IE11

* WIP trying to figure out IE options/capabilities

* more attempts to get IE tests working

* more work, but still can't set font size in Dev Tools Console

* two changes for IE

* revert skip in console test

* this change *appears* to set absolute times but they don't stick

* Shakespeare passing on all 3 browsers

* add config.ie.js, change 'internet explorer' to 'ie'

* increase notifications:lifetime so ew have a chance to see the message

* fix lint error remove unused Options

* updates from PR review, remove console.log

* cleanup + reuse existing code

* make iedriver path work for x-pack tests

* try to avoid changing notification timeout

* resolve path and add correct delimiter

* remove unused code, make timepicker work on IE11

* work-around 45333 for IE11

* [WIP] removing some work-arounds

* revert work-arounds

* cleanup

* remove debugging code

* remove debugging code

* removed unused code

* reverting 2 files that didn't have any material changes
2019-10-04 11:13:58 -05:00
Caroline Horn 2ae7915810 [Lens] Use EUI Chart theme and other design fixes (#46658)
* Passing EUI theme to XY chart

* Remove legend if only single series

* Fix height of config link

* Remove clearing icon from field select

* Better scroll position in config panel

* Changed styles of popover editor operations list

* Reduce spacing between icon and text in no results found

* Manually import EUI Charts theme

… instead of using NP

* Add EUI Chart theme to field item

* Use `core` instead of `chrome` for field data

* Made “drop field here” clickable as well

* “Level of detail” to “Time interval”

* Update snap

* Remove `isHorizontal` from functional test

* Fix functional test
2019-10-04 12:07:55 -04:00
spalger cc9876c1c0 [renovate] group typescript related package upgrades 2019-10-04 08:50:28 -07:00
Spencer 3bc803e371
[mkdirp] remove in favor of recursive fs.mkdir (#47251)
* [mkdirp] remove in favor of recursive fs.mkdir

* add eslint rule to educate future contributors

* reword the eslint error message to prevent copy-pasting callback code

* Commit updated kbn-pm dist

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Fix typo

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-04 08:15:06 -07:00
Joe Reuter f4c697ba24
revert bad fix (#47200) 2019-10-04 17:08:14 +02:00
Alexey Antonov e3dc525000
TSVB doesn't allow to perform basic functions showing no fields available (#47239)
Closes: #47226
2019-10-04 17:45:32 +03:00
Mikhail Shustov d1a99ea6ee
Convert uiSettings service to TypeScript (#47018)
* tsify is_config_version_upgradeable

* tsify get_upgradeable_config

* tsify create_or_upgrade_saved_config

* tsify ui_settings_service

* tsify ui_settings_service_factory

* tsify ui_settings_service_for_request

* declare types on server object

* tsify set route

* tsify set_many route

* tsify get route

* tsify delete route

* tsify logWithMetadata

* improve ui_settings_service typings

* introduce uiService mocks

* remove private methods from public contract

* add types for server.uiSettingsServiceFactory

* rename IUiSettingsService --> IUiSettingsClient
2019-10-04 12:48:05 +02:00
Angela Chuang ba8e8fb1be
[SIEM] Chart enhancement (#47130)
* chart styling

* rename variable

* styling for bar chart

* add unit test

* clean up

* fix for code review
2019-10-04 11:00:26 +01:00
Joe Reuter 9cf13c9a58
[Graph] App state management (#46133) 2019-10-04 11:16:04 +02:00
renovate[bot] 7e77e0bdb4 Update dependency @elastic/charts to ^12.1.0 (#47267) 2019-10-04 10:39:51 +02:00
Tiago Costa 2e00927cae
chore(NA): fix optimizer under wsl environment with a patched terser webpack plugin version (#47250) 2019-10-04 03:54:06 +01:00
Tiago Costa 393c36641d
chore(NA): use git-common-dir instead of git-dir for register git hook (#47232) 2019-10-04 03:53:40 +01:00
Nathan Reese 16f8b7ce6a
[Maps] use pre-indexed shapes in shape filters when shape is stored in elasticsearch (#47171)
* [Maps] use pre-indexed shapes in shape filters when shape is stored in elasticsearch

* add _index to properties so it can be used in pre-indexed context

* update TooltipControl snapshot
2019-10-03 16:49:33 -06:00
Karen Metts a6681fe4d8
Update link to ls monitoring settings (#47280) 2019-10-03 18:39:32 -04:00
Kaarina Tungseth e9c9b25c36
[DOCS] Added content for unique index pattern name (#47066) 2019-10-03 15:36:59 -05:00
Nathan Reese 7b89eeb31e
[Maps] provide isLoading and hasError feedback when legend is collapsed (#47157) 2019-10-03 14:32:20 -06:00
Josh Dover 5fc9a5501e
Simplify generics for IContextContainer (#46538) 2019-10-03 15:24:14 -05:00
Maja Grubic 00df24d850
Removing default title on dashboard save (#47079) 2019-10-03 21:18:11 +01:00
Spencer ebb62cb6ba
support requesting reviews from specific users by package (#47246) 2019-10-03 11:27:49 -07:00
Mengwei Ding 8bdb20a1e0
[Code] migrate Code config/logging/feature service to new platform (#46664)
* [Code] code backend NP migration

* Move code plugin config to NP config service

* Move code plugin logger to NP logger service

* minor type error

* remove joi config

* addressing comments

* fix unit tests

* Migrate to xpack feature service for NP

* minor comments

* fix code mocha test scripts

* fix type

* fix i18nrc.json for code
2019-10-03 11:20:18 -07:00
Liza Katz 3e913981c8
Remove ui/persisted_logs - Part 1 (#47225)
* Use npStart.core.chrome.recentlyAccessed and delete directive

* use recently accessed in ML

* re-update snapshots
2019-10-03 21:16:48 +03:00
Poff Poffenberger a33801f1c9
[Canvas] i18n work for arg form and converting tooltip icon to typescript (#46863)
* i18n work for arg form and converting tooltip icon to typescript (which in turn makes it i18n ready)

* Addressing feedback
2019-10-03 13:03:54 -05:00
Caroline Horn 8622b497e5 [Lens] Custom chart type icons (#46967)
* Added custom chart type icons

* Using new stacked glyphs

* Compressed style for button group

* snaps

* Fix TS type

* Trying to use the more encompassing `IconType` for all icons

* Wrap whole chart type in popover anchor

* Fix for truncation

* Update index pattern switchers to use same caret icon instead of `(change)`

* Fixed inital bar icon and added mixed XY icon

* Fix sentence casing

* Remove -> Delete

* Fix accidental passing down of `iconLarge`

* Fix type issue

* Use Lens icon instead of happy face

* Fix broken Lens test

* Fix icons and text
2019-10-03 13:30:33 -04:00
Josh Dover ef8b2a36d4
Add compatibility layer for ApplicationService in legacy platf… (#46659) 2019-10-03 11:11:21 -05:00
Pete Harverson 8b561c7a18
[ML] Moves URL, interval and ordinal ui utils into ML (#47221)
* [ML] Moves URL, interval and ordinal ui utils into ML

* [ML] Edits to url_utils following review
2019-10-03 17:09:17 +01:00
Aaron Caldwell b193b8a72a
[Maps][File upload] Fix "component-not-mounted" errors on cancel mid-way through indexing (#47090)
* Check for component mounted before state updates occurring at cancel stopping points

* Remove redundant mounted check
2019-10-03 09:55:10 -06:00
Dario Gieselaar 15926000cf
[APM] JVM List view & JVM metrics page (#46779)
* [APM] JVM List view & JVM metrics page

Closes #43765.

* Add service node metadata

* Use service node terminology

* Use asPercent for CPU

* Tooltip for truncated elements

* Add processor.event filters

* Use service.node.name

* Sort client-side only

* Add processor.event filter to service nodes projection
2019-10-03 17:41:45 +02:00
Luke Elmers b154524cde [RFC] Kibana Management Section Service (#43631)
* Initial draft for management RFC.
* address feedback, clean up how things are named
2019-10-03 10:27:00 -05:00
Wylie Conlon ab05bbd94e
[lens] Use top nav in Lens app (#46190)
* [lens] Use top nav in Lens app

* Add tests for saved query, pass filters around more places

* Fix filter passing

* Add unit test for field popover making correct queries

* Respond to review feedback

* Fix type errors

* Respond to all review comments

* Remove commented code

* Top nav should be compatible as angular directive

* Fix rendering issue with filter updates

* Respond to review comments and add onChange test

* Add specific test for the index pattern bug from Tina
2019-10-03 11:24:45 -04:00
Poff Poffenberger 9e8279b7ce
[Canvas] i18n for page manager, page preview, and shape preview (#46865)
* i18n for page manager, page preview, and shape preview

* Addressing feedback

* Forgot to remove ShapePreview
2019-10-03 09:28:37 -05:00
Steph Milovic 70215038c2
[SIEM] hide siem data on empty string or _all (#47166) 2019-10-03 07:43:48 -06:00
Justin Kambic 324f328678
[Uptime] Shim UI exports for new platform (#44722)
* Remove depdency on legacy interface.

* Remove custom interface, use common breadcrumb type.

* Add HTML template for app react entry point.

* Update app props.

* Add constant for react app entry point.

* Remove dependency on legacy capabilities provider.

* Delete legacy kibana framework adapter.

* Add New Platform adapter, reference in startup code.

* Remove dependency on legacy capabilities function.

* Delete reference to obsolete interface.

* Fix busted types in new adapter.

* Add new plugin class, delete old bootstrap code.

* Provide default for potentially-undefined value.

* Delete obsolete file.

* Update plugin constructor and start interfaces.

* Add @ts-ignore for unused constructor parameter.

* Import autocomplete provider from new platform.
2019-10-03 09:16:25 -04:00
Chris Roberson 34607639ad
[Monitoring] Metricbeat Migration Wizard Tests (#47139)
* Enable setup mode UI toggles

* We want to keep the no data page but update the copy

* More updated copy

* Remove manual checks for logstash, beats, apm and kibana

* Hide the setup mode controls on the no data page. There is nothing different in setup mode

* Setup mode test

* Fix bug with disabling internal collection for ES

* First steps towards the redesign of setup mode

* Consolidate UI code, design changes, use constants defined in our plugin

* Fix tooltips

* Design/copy feedback

* Use badge and onClick

* Tests!

* Set up mode renderer tests

* More feedback

* Only detect usage on the live cluster

* Update tests

* Fix existing tests, remove test that will be added in other PR

* Undo accidential change

* Fix failing test

* Fix issue with wrong callout showing

* Ensure we check for live nodes if no cluster uuid is provided

* We need a custom listing callout for ES

* Custom callout for kibana instances

* More space from the bottom bar

* Disable switching if they enabled internal collection

* Copy updates

* Fix broken tests

* Fix more tests

* Fix i18n

* Update copy

* Fix a couple i18n issues

* Fixing a couple of missing scenarios

* Fix translations

* Update snapshots

* PR feedback

* PR feedback

* We also need totalUniqueInternallyCollectedCount to identify when we have detected products but they are not monitored (thinking ES and Kibana)

* Remove why documentation link until we have the resource available

* Ensure tabs are properly disabled

* Address issue with the ES nodes callout not working at times

* Ensure we check if setup mode is enabled

* Change internal collection to self monitoring, and remove the word 'collection' usage

* Only show Enter setup mode on pages with valid setup mode options

* Copy updates

* Copy updates

* Fix up some tests

* Ensure we update the top nav item when we toggle setup mode on or off

* Update snapshot

* Update tests

* Remove console.log

* Update copy
2019-10-03 09:11:41 -04:00
Felix Stürmer 8e9f17db38 [Logs UI] Support partitioned log rate results in API (#46751)
* Add partitioning to log rate results API
2019-10-03 13:52:00 +01:00
Dario Gieselaar d24db4953f
[APM] Remove beta badge from transaction breakdown (#47163)
Closes #47161.
2019-10-03 14:04:32 +02:00
Vadim Dalecky 919b00b2cd
test: 💍 convert Interpreter font function tests to Jest (#47193) 2019-10-03 12:43:19 +02:00