Commit graph

4598 commits

Author SHA1 Message Date
Anton Dosov cda9966654
[7.x] [FieldFormats] Break from data plugin (#107173) (#107761)
* [FieldFormats] Break from `data` plugin (#107173)

# Conflicts:
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.castestokbnfieldtypename.md
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.getkbntypenames.md
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.castestokbnfieldtypename.md
#	src/plugins/data/public/public.api.md

* update limits
2021-08-05 13:53:39 -04:00
Kibana Machine 55ce986274
[FieldFormats] Unskip url field formatter test (#107651) (#107720)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-08-05 06:52:24 -04:00
Kibana Machine 3a8020a86b
[package testing] Create target dir before copying artifacts (#107679) (#107698)
gsutil requires a directory to exist before copying artifacts in.
Prior to https://github.com/elastic/kibana/pull/107217, a
.bootstrap-cache file was written, providing the directory for these
writes.  Now that we're no longer writing this file, we need to ensure
it exists.

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-08-04 19:35:02 -04:00
Alexey Antonov 602e26b1b7
[Lens] Synchronize cursor position for X-axis across all Lens visualizations in a dashboard (#106845) (#107691)
* [Lens] Synchronize cursor position for X-axis across all Lens visualizations in a dashboard

Closes: #77530

* add mocks for active_cursor service

* fix jest tests

* fix jest tests

* apply PR comments

* fix cursor style

* update heatmap, jest

* add tests

* fix wrong import

* replace cursor for timelion

* update tsvb_dashboard baseline

* fix CI

* update baseline

* Update active_cursor_utils.ts

* add debounce

* remove cursor from heatmap and pie

* add tests for debounce

* return theme order back

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-04 17:41:46 -04:00
Diana Derevyankina 489117af60
[Timelion Viz] Add functional tests (#107287) (#107689)
* First draft migrate timelion to elastic-charts

* Some refactoring. Added brush event.

* Added title. Some refactoring

* Fixed some type problems. Added logic for yaxes function

* Fixed some types, added missing functionality for yaxes

* Fixed some types, added missing functionality for stack property

* Fixed unit test

* Removed unneeded code

* Some refactoring

* Some refactoring

* Fixed some remarks.

* Fixed some styles

* Added themes. Removed unneeded styles in BarSeries

* removed unneeded code.

* Fixed some comments

* Fixed vertical cursor across Timelion visualizations of a dashboad

* Fix some problems with styles

* Use RxJS instead of jQuery

* Remove unneeded code

* Fixed some problems

* Fixed unit test

* Fix CI

* Fix eslint

* Fix some gaps

* Fix legend columns

* Some fixes

* add 2 versions of Timeline app

* fix CI

* cleanup code

* fix CI

* fix legend position

* fix some cases

* fix some cases

* remove extra casting

* cleanup code

* fix issue with static

* fix header formatter

* fix points

* fix ts error

* Fix yaxis behavior

* Fix some case with yaxis

* Add deprecation message and update asciidoc

* Fix title

* some text improvements

* [Timelion Viz] Add functional tests

* Add more complex cases for _timelion

* Update test expected data

Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>

Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-08-04 17:26:42 -04:00
Kibana Machine 3eaeac5508
Remove legacyEs test service (#107567) (#107635)
* migrate uptime tests to the new client. it didn't use legacy one anyway

* remove legacyEs service

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-08-04 10:43:21 -04:00
Tyler Smalley 6f7c0225f6 skip flaky suite (#107057) 2021-08-04 06:44:57 -07:00
Kibana Machine 53afa0d31b
[Discover][Main] Split single query into 2 queries for faster results (#104818) (#107392)
Co-authored-by: Tim Roes <tim.roes@elastic.co>

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-08-02 11:28:19 -04:00
Kibana Machine 374688ace7
[Discover] Improve functional saved query test to prevent flakiness (#107204) (#107386)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-08-02 10:44:48 -04:00
Marta Bondyra ee206e4699
[7.x] [Sample data] Use Lens in Logs sample data (#106486) (#107371)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 14:43:26 +02:00
Kibana Machine c3573309f0
[Discover] Improve functional testing searchOnPageLoad (#107181) (#107363)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-08-02 06:05:45 -04:00
Kibana Machine 7581e1873f
[dev-utils/run] support --info flag when default log level changed (#107244) (#107316)
* [dev-utils/run] support --info flag when default log level changed

* update kbn/pm dist and remove excess --debug flag

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-30 15:45:16 -04:00
Stratoula Kalafateli 1618cfe2ad
[Viz listing] Unskip and stabilize the tests (#106830) (#107131)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-29 07:12:56 -04:00
Kibana Machine 8ec8946e8a
[load testing] remove extra loop and pass simulations to running script (#106997) (#107121)
* [load testing] remove loop and pass simulations seq

* pass string, not array to script

* pass var via export

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2021-07-29 06:28:54 -04:00
Kibana Machine 870840da18
[Aggregations] Create expression functions for object types used in agg params (#103494) (#107110)
Co-authored-by: Michael Dokolin <mikhail.dokolin@elastic.co>
2021-07-29 03:21:11 -04:00
Kibana Machine 9f9f5cfc95
[api-docs] raise memory limit again (#107065) (#107092)
* [api-docs] raise memory limit again

* update buildkite script too

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-28 19:03:57 -04:00
Tiago Costa 02fdf6cd38
skip flaky suite (#103389) 2021-07-28 14:55:11 +01:00
Tiago Costa 9c72424ba2
skip flaky suite (#100437) 2021-07-28 12:29:19 +01:00
Stratoula Kalafateli d79657675a
[Timelion app] Stabilize the flakiness in cloud (#106826) (#106952) 2021-07-28 04:28:05 -04:00
Kibana Machine 163eca90be
[data.search.autocomplete] Move autocomplete method to UI settings (#106331) (#106950)
* [data.search.autocomplete] Move autocomplete method to UI settings

* Use select rather than boolean

* Add ftue tour

* Make a select rather than text box

* Only show when focused and first time page is loaded

* Add docs link

* Reverse order of sections

* Update docs/concepts/index.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/concepts/index.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Docs updates

* setting

* telemetry

* Add links to docs

* Fix translations

* Fix failing test

* Fix test

* Fix tests

* Revert changes to querybar service

* Fix discover query

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2021-07-28 02:17:22 -04:00
Stratoula Kalafateli 1bc4d31758
[TSVB] Fixes firefox flakiness on index pattern mode functional test (#106825) (#106855) 2021-07-27 12:12:13 -04:00
Kibana Machine 488bec4831
Update index patterns/field formatters kibana.json with owner and description (#106705) (#106820)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-27 06:58:43 -04:00
Diana Derevyankina 4a80088ed2
[TSVB] Add more functional tests for Timeseries (#106100) (#106812)
* [TSVB] Add more functional tests for Timeseries

* Fix failing test for timeseries

* Refactor visual_builder_page and _tsvb_time_series

* Add getChartItems to visual_builder_page

* Remove generic from getChartItems function
2021-07-27 05:10:10 -04:00
Kibana Machine ab1838ebc1
[ci] raise the max-old-space-size for scripts/build_api_docs (#106735) (#106774)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-26 17:01:00 -04:00
Kibana Machine c3c363e08c
[Deprecations service] Add requireRestart field (#106701) (#106762)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-07-26 15:36:00 -04:00
Jonathan Budzenski a5e3de886f skip flaky test #106749 2021-07-26 11:08:13 -05:00
Kibana Machine 4b6fcd6a1f
[Fleet] Replace hash router by router with scoped history (#106267) (#106709)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-07-26 10:10:31 -04:00
spalger 78b3b3b98b Revert "[i18n] [7.x] Integrate 7.14.0 Translations (#106359)"
This reverts commit 4d356ed432.
2021-07-22 13:47:56 -07:00
Ahmad Bamieh 4d356ed432
[i18n] [7.x] Integrate 7.14.0 Translations (#106359) 2021-07-22 11:41:06 -04:00
Kibana Machine fcb4d39bb3
[Discover] Replace font awesome icons with Eui (#103503) (#106506)
* [Discover] replace font awesome icons with eui

* [Discover] fix eslint

* [Discover] fix tests, update icon styles

* [Discover] fix eslint

* [Discover] fix functional related to awe icons

* [Discover] add empty line for scss file

* [Discover] fix eslint

* [Discover] simplify testSubjects

* Update src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx

Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>

* Update src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx

Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>

* [Discover] fix icons appearing problem

* [Discover] update test

* [Discover] remove redundant styles

* [Discover] update test snapshot

* Update src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header_column.tsx

Co-authored-by: Tim Roes <mail@timroes.de>

* [Discover] change tool bar text size

* [Discover] update test

* [Discover] replace button with EuiButton

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: Tim Roes <mail@timroes.de>
2021-07-22 07:24:56 -04:00
Kibana Machine f70385fcee
[Exploratory View] Multi Series View (#103855) (#106498)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2021-07-22 06:30:38 -04:00
Tiago Costa a91dc36b26
chore(NA): improves @kbn/ui-shared-deps build performance (#105971) (#106472)
* chore(NA): move packages assets optimization into the distributable build

* chore(NA): include terser task on distributable build

* chore(NA): migrate everything into the build tasks

* chore(NA): update webpack config to include react profiler

* chore(NA): optional fsevents

* chore(NA): redo optional fsevents

* chore(NA): remove noparse for fsevents

* chore(NA): include missing task declaration

* chore(NA): include sourcemaps

* chore(NA): include metrics bundle file generation during distributable build

* chore(NA): correctly setup paths

* chore(NA): change sourcemap types

* chore(NA): remove useless sourcemaps

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/scripts/jenkins_build_kibana.sh
2021-07-21 18:42:06 -04:00
Devon Thomson 92e52d0e7f
[Dashboard] Index Pattern Observable Error Handling (#106155) (#106443)
* add error handling to dashboard index pattern observable to prevent issues when embeddables do not load
2021-07-21 16:07:24 -04:00
Kibana Machine 2c4aaf67b6
[Es query] Move to package (#103530) (#106417)
May the forces of bootstrapping helps us 🙏🏻 😉

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-07-21 13:32:55 -04:00
Kibana Machine c37c573031
[Sample data] Use Lens in ecommerce data (#106039) (#106413)
* [Sample data] Use Lens in ecommerce data

* Fix tests

* Update from comments

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-07-21 12:48:36 -04:00
Diana Derevyankina 09c2bfcfaf
[TSVB] Add more functional tests for Gauge and TopN (#105361) (#106403)
* [TSVB] Add more functional tests for Gauge and TopN

* Update visual_builder_page.ts

* Update functions related to gauge color and filter ratio numerator in visual_builder_page

* Update visual_builder_page and add some more test subjects

* Update _tsvb_chart.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-21 11:15:07 -04:00
Kibana Machine 78977780b6
[bug] don't convert KbnServerErrors again (#106220) (#106265)
* don't convert KbnServerErrors again

* Add test

* fixy fix

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-07-20 12:42:56 -04:00
Kibana Machine 6b9d1dc8d3
[TSVB] fix No longer possible to define intervals like >=1m or >=12h (#105954) (#106245)
* [TSVB] fix No longer possible to define intervals like >=1m or >=12h

Closes: #105854

* add tests, remove extra logic

* add functional test, update help text

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-07-20 11:32:28 -04:00
Diana Derevyankina f9d52091f2
[TSVB] Add more functional tests for Table (#105060) (#106241)
* [TSVB] Add more functional tests for Table

* Update filter ratio setting numerator denominator function

* Refactor set filter ratio numerator and denominator functions in visual_builder_page.ts

* Update setFilterRatioOption function
2021-07-20 11:27:23 -04:00
Stratoula Kalafateli 67646f83a0
[Vislib XY axis] Adds a deprecation notice in the UI and a docs section (#105055) (#106221)
* [Vislib XY axis] Adds a deprecation notice in the UI and a docs section

* Remove cyclic dependency

* Fix link

* Add functional test

* fix functional tests

* Apply PR comments

* Update docs/user/dashboard/aggregation-based.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Apply PR changes

* minor

* Change the implementation

* Use title calse in Advanced Settings

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-20 08:41:07 -04:00
Kibana Machine ce4fee9328
[Reporting] Unskip flaky test when downloading CSV with "no data" (#105252) (#106210)
* unskipped test and added additional checks when using time picker

* rather wait for the timepicker to close

* set up test for flaky test runner

* Additional .only

* Remove .only

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-07-20 10:42:00 +00:00
Tiago Costa f4e30786a1
skip flaky suite (#106121) 2021-07-20 00:09:46 +01:00
Kibana Machine 50d6106e56
Instrument vis_type_vislib, lens and vis_type_timeseries with execution context service (#105206) (#106117)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-19 19:19:19 +00:00
Stratoula Kalafateli c89f9d3450
[TSVB] Refactor the index pattern mode functional test (#105725) (#106063)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-19 06:42:07 -04:00
Kibana Machine 98994240ba
[Sample data] Use Lens in flights dashboard (#104780) (#105986)
* [Sample data] Use Lens in flights sample data

* Fix test issues

* Fix functional tests

* Fix a11y test names

* Fix tests again

* Fix test

* Update from comments

* Fix sizing from feedback

* Fix typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2021-07-16 14:23:01 -04:00
Devon Thomson 8581542452
Unskip Dashboard Listing Test (#105668) (#105801)
* unskipped test due to successful flaky test runner
# Conflicts:
#	test/functional/apps/dashboard/dashboard_listing.ts
2021-07-15 14:36:46 -04:00
Kibana Machine 07cdc5ac98
[test] Reverts tests skipped to promote snapshot (#104571) (#105634)
* temp use unverified snapshot

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

* Revert "skip failing es promotion suite (#104469)"

This reverts commit 87971e74e1.

* Revert "skip failing es promotion suite (#104467)"

This reverts commit c72ad3edcb.

* Revert "skip failing es promotion suite (#104466)"

This reverts commit a0b36c75f5.

* Revert "skip failing es promotion suite (#104413)"

This reverts commit 9773e3f678.

* Revert "skip failing es promotion suite (#104409)"

This reverts commit 79608dcc9e.

* Revert "skip failing es promotion suite (#104366)"

This reverts commit dfc5dbb31b.

* Revert "skip failing es promotion suite (#104365)"

This reverts commit 269577703a.

* Revert "skip failing es promotion suite (#104364)"

This reverts commit 16f69d24b6.

* Revert "skip failing es promotion suite (#104362)"

This reverts commit 2e492c2083.

* Revert another commit to promote ES snapshot

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-07-14 14:25:40 -04:00
Tim Roes db54d67b25
[Discover][Main] Fix missing error message when building search query throws exceptions (#103923) (#105560)
* Fix missing error message when building search fails

* Fix test

* Update _date_nested.ts

* Lint config.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 08:27:34 -04:00
Spencer 6dee8d8fbc
[7.x] [theme] default to v8 theme (#94370) (#105290)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-12 16:29:09 -07:00
Clint Andrew Hall 4dc378cc8f
[canvas] Reduce bundle by registering Canvas Plugin API on mount (#104264) (#105289) 2021-07-12 16:47:55 -04:00
Diana Derevyankina e510dd77b0
[TSVB] Top_hit supports runtime fields (#103401) (#105226)
* [TSVB] Refactor top-hit aggregation to work with fields instead of _source

* Allow select date strings for top_hit aggregation in table, metric, and markdown

* Fix agg_with handling for top_hit and add some tests

* Refactor get_agg_value and fix type check for _tsvb_chart

* Refactor top_hit.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 12:34:27 -04:00
Greg Thompson b13e90e6d1
Enable CSS-in-JS styling with emotion (#98157) (#105223)
* emotion deps

* kbn-babel

* kbn-test

* examples

* babel-plugin-styled-components config

* css prop type fixes

* type context

* declaration location

* some emotion types resolved

* clean up

* emotion v10 accomodations

* types

* kbn-crypto

* kbn-telemetry-tools

* bazel

* eslint rule; shared file regex array

* update paths

* Update packages/kbn-eslint-plugin-eslint/rules/module_migration.js

Co-authored-by: Spencer <email@spalger.com>

* remove placeholder styles

* doc api changes

* snapshot updates

* storybook comments

* use constant

* bump new deps

* condense versions

Co-authored-by: Spencer <email@spalger.com>

Co-authored-by: Spencer <email@spalger.com>
2021-07-12 12:23:24 -04:00
Kibana Machine cb054a741f
[load] run puppeteer script before gatling scenarios (#104836) (#105216)
* [load] puppeteer script before load testing

* install dependencies after metricbeat configuration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2021-07-12 15:10:11 +00:00
spalger 7e2991010d skip all discover functional tests to unblock es promotion (#104466)
(cherry picked from commit d776c0940e)
2021-07-09 18:01:30 -07:00
spalger b61a4376ca skip another suite blocking es promotion (#104466)
(cherry picked from commit b40fc09dfc)
2021-07-09 16:40:31 -07:00
spalger 080efede4a skip suites failing es promotion (#104466)
(cherry picked from commit ce48b73dc8)
2021-07-09 14:00:25 -07:00
Alexey Antonov 86d34d4f2f
[TSVB] fix include/exclude fields appear to migrated TSVB visualization when using Group by Terms (#104848) (#105068)
* [TSVB] Include/exclude fields appear to migrated TSVB visualization when using Group by Terms

Closes: #104829

* add functional test

* fix JEST
# Conflicts:
#	test/functional/page_objects/visual_builder_page.ts
2021-07-09 13:46:18 -04:00
Kibana Machine 90a1fb4d33
[TSVB] Table view - fix display of item urls (#105051) (#105064)
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-07-09 11:50:20 -04:00
Dave Snider 8de4c60a39
[KibanaPageTemplate] Adds collapsibility to solutionNav (#103192) (#104867)
Adds the ability to collapse the sidenav. This should work in all solutions. It also adds breakpoints that turn it into a flyout at lower screen widths.

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2021-07-08 11:14:40 -04:00
Kibana Machine 32a55c2d91
[Discover] Fix multiline display in classic table (#103499) (#104824)
* Restore CSS that broke multiline display

* Add functional test

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-07-08 06:55:36 -04:00
Dzmitry Lemechko 3d2d097fe0
Load testing/restart stack for simulation (#102492) (#104773)
* [load testing] restart Kibana & ES before each simulation

* [load testing] add sleep 30s before starting ES/Kibana
2021-07-07 20:18:53 -04:00
Dzmitry Lemechko 459d194a95
Add metricbeat steps to jenkins_build_load_testing.sh (#90290) (#104727)
* Update jenkins_build_load_testing.sh

* Change variables name

* Change to tar.gz package

* change install location

* Rename folder

* Debug and new folder name

* fix debug

* Fix path not changed

* more logging

* add cat logs

* more logging and skipping tests for debug

* Update jenkins_build_load_testing.sh

* Update jenkins_build_load_testing.sh

* Fix kibana_dir var

* Change log file path

* Update jenkins_build_load_testing.sh

* Update jenkins_build_load_testing.sh

* Fix metricbeat start

* Remove extra ls logging

* Changing to MB 7.11.0

* Fix package name

* Fix wrong copy

* Add vault credentials for stats

* Adding system data and removing log

* Update jenkins_build_load_testing.sh

Update script

* Update jenkins_build_load_testing.sh

Remove `ls` commands

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dmitry <dzmitry.lemechko@elastic.co>

Co-authored-by: Marius Dragomir <marius-dr@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-07 15:54:11 -04:00
Mikhail Shustov 73adcb4511
Add execution context service (#102039) (#104686)
* add execution context service on the server-side

* integrate execution context service into http service

* add integration tests for execution context + http server

* update core code

* update integration tests

* update settings docs

* add execution context test plugin

* add a client-side test

* remove requestId from execution context

* add execution context service for the client side

* expose execution context service to plugins

* add execution context service for the server-side

* update http service

* update elasticsearch service

* move integration tests from http to execution_context service

* integrate in es client

* expose to plugins

* refactor functional tests

* remove x-opaque-id from create_cluster tests

* update test plugin package.json

* fix type errors in the test mocks

* fix elasticsearch service tests

* add escaping to support non-ascii symbols in description field

* improve test coverage

* update docs

* remove unnecessary import

* update docs

* Apply suggestions from code review

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

* address comments

* remove execution context cleanup

* add option to disable execution_context service on the server side

* put x-opaque-id test back

* put tests back

* add header size limitation to the server side as well

* fix integration tests

* address comments

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-07 13:55:16 -04:00
Kibana Machine 2180bbf840
[Index Patterns] Use deprecation api for scripted fields (#100781) (#104654)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-07 11:35:34 -04:00
Tiago Costa 207078ab50
skip failing es promotion suite (#104467) 2021-07-06 15:35:13 +01:00
Tiago Costa 71230bbe8a
skip failing es promotion suite (#104466) 2021-07-06 15:27:18 +01:00
Tiago Costa 910ef66957
skip failing es promotion suite (#104413) 2021-07-06 12:08:24 +01:00
Tiago Costa 66dcdc3bee
skip failing es promotion suite (#104409) 2021-07-06 11:59:07 +01:00
Tiago Costa 7d2a9ab2ee
skip failing es promotion suite (#104366) 2021-07-06 02:30:14 +01:00
Tiago Costa 2b1575b197
skip failing es promotion suite (#104365) 2021-07-06 02:26:07 +01:00
Tiago Costa f0603aca21
skip failing es promotion suite (#104364) 2021-07-06 02:20:15 +01:00
Tiago Costa b795036576
skip flaky suite (#103252) 2021-07-05 15:00:25 +01:00
Stratoula Kalafateli e4c21ebf07
[TSVB] Add retry to remove flakiness (#104046) (#104277)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-05 06:52:28 -04:00
Michael Dokolin c73e13d744
[Expressions] Update expressions public API to expose partial results support (#102403) (#104210)
* Add partial result flag to the execution result
* Update expressions plugin run method to return observable
* Update data getter in the execution contract to return observable
* Update the expression loader to take into account the partial results flag
2021-07-01 18:57:17 -04:00
Dave Snider 5a4a08d80e
[Page layouts] Some light fixes (#103197) (#103885)
* [Solution Toolbar] Fixing button border on non-text color versions

* [Alerts] Removed extra wrappers and use EuiPageHeader

* [Logstash] Basic conversion to template

* [Reporting] Adding bottomBorder to page header

* [ML] Fix display of main navigation tabs

* [Stack Management] Fix side nav not updating when going back to landing page

* [Tags] Add spacing after page header

* [License Management] Full width on file uploader

* [Page Template] Fixed `emptyState` default template for pages with side nav

* [Infra] Removing some page header displays in empty states

* [Enterprise Search] Fix some error layouts

* [Index Patterns] Quick fix for empty state

* snaps

* [Page Template] Remove forced padding when `centeredBody`

* small hack for tab padding for ml

* scroll ML page to fix test

* fix test method type signature

Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
2021-06-30 16:05:20 -04:00
Jonathan Budzenski fc23272f74
[7.x] [build] Remove OSS builds (#103685) (#103792) 2021-06-29 21:50:33 -04:00
Kibana Machine cd3063ac93
[Discover] Improve brushing test (#97830) (#103713)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-29 14:49:42 -04:00
Kibana Machine 06313f3b94
Sharing saved objects phase 3.5 (#100424) (#103575)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-06-28 20:33:16 -04:00
Larry Gregory 5a84eb57ef
[7.x] Role Management: improve editing experience for DLS queries (#99977) (#103513)
* Role Management: improve editing experience for DLS queries (#99977)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/security/public/management/roles/roles_management_app.tsx

* fix eslint error
2021-06-28 15:29:34 -04:00
Tiago Costa 8bc10abb95
skip flaky suite (#89031) 2021-06-25 12:16:16 +01:00
Tiago Costa 1cb4ce08cf
skip flaky suite (#98240) 2021-06-24 14:16:19 +01:00
Stratoula Kalafateli 74cd25d7a0
[VisTypePie] Use a different advanced setting for pie charts (#103049) (#103222)
* Different switch for pie

* Remove unused translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-24 07:40:58 -04:00
Kibana Machine bcd1489237
[Discover] Add right permission for unmapped field test in cloud env (#102853) (#103221)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-24 07:33:01 -04:00
Matthias Wilhelm 2d0615af3a
[Discover] Unskip and improve sidebar filter functional test (#102986) (#103220) 2021-06-24 07:27:29 -04:00
Greg Thompson e4c7b099e9
[7.x] Upgrade EUI to v34.3.0 (#101334) (#103175)
* Upgrade EUI to v34.3.0 (#101334)

* eui to v34.1.0

* styled-components types

* src snapshot updates

* x-pack snapshot updates

* eui to v34.2.0

* styled-components todo

* src snapshot updates

* x-pack snapshot updates

* jest test updates

* collapsible_nav

* Hard-code global nav width for bottom bar’s (for now)

* Update to eui v34.3.0

* flyout unmock

* src flyout snapshots

* remove duplicate euioverlaymask

* xpack flyout snapshots

* remove unused import

* sidenavprops

* attr updates

* trial: flyout ownfocus

* remove unused

* graph selector

* jest

* jest

* flyout ownFocus

* saved objects flyout

* console welcome flyout

* timeline flyout

* clean up

* visible

* colorpicker data-test-subj

* selectors

* selector

* ts

* selector

* snapshot

* Fix `use_security_solution_navigation` TS error

* cypress

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>

* fix bad merge resolution

* fix bad merge resolution

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2021-06-24 01:30:59 -04:00
Kibana Machine 824fd4f8eb
[test] Migrates visualize esArchive to kbnArchiver (#102850) (#103195)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-23 23:16:53 -04:00
Kibana Machine a6985b20ae
Add timeouts and setup enforcement for custom plugins statuses (#77965) (#103149)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-23 16:02:07 -04:00
Kibana Machine 0d508191a0
Lens on Dashboard 7.12.1 Smoke Tests (#102667) (#103128)
* added smoke tests for lens by value panels on dashboard

Co-authored-by: Devon Thomson <devon.thomson@hotmail.com>
2021-06-23 18:38:23 +00:00
Kibana Machine eea0addbb7
[Discover] Unskip and improve empty results query functional test (#102995) (#103110)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-23 16:59:02 +00:00
Kibana Machine 9abcf6e1e8
[Discover] Improve flaky test - doc navigation (#102859) (#103108)
* [Discover] test flakiness

* [Discover] wait for doc loaded

* [Discover] update related test

* [Discover] clean statement

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-06-23 12:47:31 -04:00
Kibana Machine c73473ed92
[Discover] Unskip Discover large field number test (#100692) (#103050)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-23 06:03:36 -04:00
Maja Grubic 0e28661990
[Discover] Add source to doc viewer (#101392) (#102962)
* [Discover] Add source to doc viewer

* Updating a unit test

* Fix typescript errors

* Add unit test

* Add a functional test

* Fixing a typo

* Remove unnecessary import

* Always request fields and source

* Remove unused import

* Move initialization of SourceViewer back to setup

* Trying to get rid of null value

* Readding null

* Try to get rid of null value

* Addressing PR comments

* Return early if jsonValue is not set

* Fix loading spinner style

* Add refresh on error

* Fix error message

* Add loading indicator on an empty string

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-22 14:44:35 -04:00
Kibana Machine c735215051
unksip functional test (#102633) (#102860)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-06-22 06:01:54 -04:00
Kibana Machine db838743f5
[Lens] Fix time shift bug (#102528) (#102752)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-06-21 12:57:45 -04:00
Pierre Gayvallet 9cf01f1da5
[7.x] add isExportable SO export API (#101860) (#102698)
* add `isExportable` SO export API (#101860)

* add `isExportable` SO export API

* add warning when export contains excluded objects

* add FTR test

* fix API integration assertions

* lint

* fix assertions again

* doc

* update generated doc

* fix esarchiver paths

* use maps instead of objects

* SavedObjectsExportablePredicate is no longer async

* more docs

* generated doc

* use info instead of warning when export contains excluded objects

* try/catch on isExportable call and add exclusion reason

* add FTR test for errored objects

* log error if isExportable throws

* fix dataset for 7.x
2021-06-21 06:15:45 -04:00
Tyler Smalley 6977be0140
Revert "Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019) (#102580)
* Revert "Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019)"

This reverts commit c272bdbc25.

* [FTR] Stabilize SSLP functional tests (#102553)

* Removes spaces check, since spaces should always be available
* Disables Monitoring, SecuritySolutions, and Reporting in SSPL tests
until #102552 is completed

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-21 03:28:12 -04:00
Caroline Horn b3a59f504c
[7.x] [K8] Added Inter font files for new theme (#102359) (#102579)
* [K8] Added `Inter` font files for new theme (#102359)

Updated the `Fonts` file to accept a `themeVersion` and only use the old Beta files if `v7`.
# Conflicts:
#	test/functional/screenshots/baseline/tsvb_dashboard.png
#	test/interpreter_functional/screenshots/baseline/metric_multi_metric_data.png

* Update baseline snapshot

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-20 19:12:00 -04:00
Tiago Costa 3cfbe71203
[7.x] chore(NA): moving @kbn/ui-shared-deps into bazel (#101669) (#102666)
* chore(NA): moving @kbn/ui-shared-deps into bazel (#101669)

* chore(NA): moving @kbn/io-ts-utils into bazel

* chore(NA): moving @kbn/ui-shared-deps into bazel

* chore(NA): compelte working build for @kbn/ui-shared-deps

* chore(NA): solve eslint problems

* chore(NA): solve typechecking

* chore(NA): debugger changes

* chore(NA): update optimizer basic integration tests

* chore(NA): ship kbn/ui-shared-deps metrics.json from new location at shared_built_assets

* chore(NA): use correct ui-shared-deps metrics file location

* chore(NA): remove webpack bazel config

* chore(NA): implement improvements on webpack config

* chore(NA): remove extra comment

* chore(NA): try esbuild-loader minimizer

* Revert "chore(NA): try esbuild-loader minimizer"

This reverts commit bffc49aaae.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/scripts/jenkins_build_kibana.sh

* chore(NA): last file containing old path for metrics.json file
2021-06-18 20:39:29 -04:00
Kibana Machine b85a234d54
[TSVB] Replaces EuiCodeEditor 👉 Monaco editor (#100684) (#102665)
* Сhanged EuiCodeEditor to CodeEditor (monaco) at markdown_editor.js

* Added css lang support for monaco-editor.

* Added .d.ts for css lang import directly from monaco.

* Moved handlebars_url language to the code_editor.

Moved handlebars_url language registration to the code_editor.
Changed the way of registration of languages.

* Added merge for markdown_handlebars lang.

* Changed to simple markdown syntax.

Handlebars syntax breaks highlighting of special chars in markdown syntax.

* Removed useless mergeConfig function.

* Removed legacy import.

* Refactor export from monaco-editor.

* Fixed 'Could not find a declaration file for module'

* Fixed tests.

* Fixed typings errors.

* Added comment to typings.

* Fixed clearMarkdown for Monaco editor.

* Made changes based on suggestions.

* Fixed types errors.

* Fixed function tests types errors.

* Fixes, based on nits.

* Fixes based on nits.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
2021-06-18 16:33:05 -04:00
Kibana Machine 2ffcc767e1
[canvas] Refactor Storybook from bespoke to standard configuration (#101962) (#102589)
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-06-17 21:05:55 -04:00
Kibana Machine 4115b2d8f4
Display Kibana overall status in the logs and have FTR wait for green status before running tests (#102108) (#102511)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-17 12:28:01 -04:00
Steph Milovic 3bba37ff68
[7.x] [Observability] [Cases] Cases in the observability app (#101487) (#101971)
* [Observability] [Cases] Cases in the observability app (#101487)

* Fix archive

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

* fix data

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-15 17:33:45 -04:00
Kibana Machine 6114d5415e
[Fleet] Adjust add integration flow (#101714) (#102152)
* Initial commit, very WIP

- added link to the integrations UI instead of add integration
  in fleet
- added a new piece of route state that gets passed to integration
  from fleet when browsing integrations for a policy
- when the integration is being added the page will send the user
  back to the policy overview instead of back to integrations UI

* remove unnecessary agent policy clear function

* added # to path so that navigation is correctly handled

* added logic to read the forward agent policy id

* remove inline select integration package from fleet add integration

* updated toast notification

* using query parameter to pass policy id back to create policy package page

* removed policyId from route path

* fix type issue

* updated the select agent field layout per the designs

* simpified item rendering in combobox and fixed combobox z-index issue

* added comment

* fix types and i18n

* updated icon and removed unused i18n

* refactor to using styled components for cusomt z-index styling

* attempt to fix integration test

* added scroll functionality for dealing with fixed footers that might be obstructing content

* fix scroll direction!

* attempting another scroll algorithm

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-06-15 09:33:09 +00:00
Kibana Machine 04d7498792
[Discover] Improve functional test wording for responsive tests(#101744) (#102151)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-15 05:20:23 -04:00
Stratoula Kalafateli 815c3cee6d
[Tagcloud] Replaces current implementation with elastic-charts (#100017) (#102150)
* WIP - Replace tagcloud with es-charts wordcloud

* Cleanup and add unit tests

* Fix interpreter test

* Update all tagcloud snapshots

* Partial fix tagcloud test

* Fix some other functional tests, add migration script, update sample data

* Replace getColor with getCategorixalColor

* Fix functional test

* Apply clickhandler event for filtering by clicking the word

* Fix weight calculation

* Add a unit test and fix functional

* Change the cursor to pointer

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 04:36:41 -04:00
Kibana Machine a134c9e278
[Discover] Unskip runtime field editor test (#101059) (#102111)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-14 16:33:43 -04:00
Kibana Machine a1705f0bc4
Fix delayed status API updates in alerting and task_manager (#101778) (#102084)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-14 13:23:02 -04:00
Anton Dosov 99e7c9058e
[Index Patterns] Cover field editor with a11y tests (#101888) (#102074) 2021-06-14 12:44:36 -04:00
Tyler Smalley c272bdbc25
Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019)
* Revert "[FTR] Use importExport for saved_object/basic archive (#100244) (#102016)"

This reverts commit 9851b7bcfa.

* Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#101118)"

This reverts commit 73225daa87.
2021-06-13 23:29:03 -07:00
Tyler Smalley 9851b7bcfa
[FTR] Use importExport for saved_object/basic archive (#100244) (#102016)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-13 01:12:38 -04:00
Tyler Smalley 73225daa87
[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#101118)
* [FTR][CI] Use default distribution for all tests (#94968)
* [FTR] Use importExport for saved_object/basic archive (#100244)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-12 09:53:10 -07:00
Kibana Machine 00cf95cdc0
[esArchive] Persists updates for management/saved_objects/* (#101992) (#102011)
Same as #101950 - these archives are causing issues with a non-oss build https://github.com/elastic/kibana/issues/101654

Last remaining fix for https://github.com/elastic/kibana/pull/101118

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

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-12 01:50:36 -04:00
Matthew Kime 36431d0d1e
[Index patterns] Field editor example app (#100524) (#102010)
* add example app
2021-06-11 23:40:40 -04:00
Tyler Smalley 32b7329c62 skip flaky suite (#101449) 2021-06-11 12:18:26 -07:00
Tyler Smalley 5c18bedd49
[esArchives] Persist migrated Kibana archives (#101951)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-10 20:47:22 -07:00
Spencer 34c5979eeb
[kbnArchiver] convert archive names to root-relative paths (#101839) (#101936)
* [kbnArchiver] convert archive names to root-relative paths

* ensure that newly multiline hooks are explicitly async

* missed a newly multiline hook

* fix exists check

* avoid extra lines by wrapping arrow body in {}

* one block more

* fix errant `name` variable

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/api_integration/apis/kql_telemetry/kql_telemetry.ts
#	test/api_integration/apis/saved_objects/bulk_create.ts
#	test/api_integration/apis/saved_objects/bulk_get.ts
#	test/api_integration/apis/saved_objects/bulk_update.ts
#	test/api_integration/apis/saved_objects/create.ts
#	test/api_integration/apis/saved_objects/delete.ts
#	test/api_integration/apis/saved_objects/export.ts
#	test/api_integration/apis/saved_objects/find.ts
#	test/api_integration/apis/saved_objects/get.ts
#	test/api_integration/apis/saved_objects/import.ts
#	test/api_integration/apis/saved_objects/resolve.ts
#	test/api_integration/apis/saved_objects/resolve_import_errors.ts
#	test/api_integration/apis/saved_objects/update.ts
#	test/api_integration/apis/saved_objects_management/find.ts
#	test/api_integration/apis/saved_objects_management/get.ts
#	test/api_integration/apis/saved_objects_management/relationships.ts
#	test/api_integration/apis/shorten/index.js
#	test/api_integration/apis/stats/stats.js
#	test/api_integration/apis/suggestions/suggestions.js
#	test/functional/apps/discover/_discover.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-10 16:54:10 -04:00
Jonathan Budzenski 0e25a90b62 skip flaky runtime fields test. #100966 2021-06-10 12:01:48 -05:00
Dzmitry Lemechko bc6bc5af2c
remove non-valid code (#100144) (#101885)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/functional/page_objects/common_page.ts
2021-06-10 10:31:10 -04:00
Anton Dosov af45343bee
[7.x] [Index Patterns] Runtime fields CRUD REST API (#101164) (#101770)
* [Index Patterns] Runtime fields CRUD REST API  (#101164)

Part of index pattern REST API
# Conflicts:
#	docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpattern.md
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.indexpattern.md

* fix bad docs merge
2021-06-09 12:37:53 -04:00
Spencer bcdeccb39b
[7.x] [esArchiver] drop support for --dir, use repo-relative paths instead (#101345) (#101676)
* [esArchiver] drop support for --dir, use repo-relative paths instead (#101345)

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/api_integration/apis/suggestions/suggestions.js
#	test/functional/apps/discover/_large_string.ts
#	test/functional/apps/visualize/index.ts
#	x-pack/test/functional/apps/infra/feature_controls/logs_security.ts
#	x-pack/test/functional/apps/saved_objects_management/import_saved_objects_between_versions_6.x_7.x.ts
#	x-pack/test/functional/apps/upgrade_assistant/upgrade_assistant.ts

* convert references to `saved_objects/basic` archive

* adapt other `saved_objects/*` archives

* update management/saved_obejcts/relationships archives

* replace old monitoring setup() usage

* remove reference to `empty_kibana` archive

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-06-08 22:45:04 -04:00
Kibana Machine 1591f39070
[es-archiver] Use alias for Kibana mappings (#101537) (#101626)
In 7.x, when saved objects point to an index and not an alias it will
assume it's pre-6.8 and perform a legacy migration. This causes issues
with the removal of oss builds. This update prevents that from happening
by using an alias.

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

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-08 12:21:54 -07:00
Spencer 11ecb4e6fc
[ts] migrate x-pack/test to composite ts project (#101441) (#101651)
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	x-pack/test/functional/page_objects/gis_page.ts
#	x-pack/test/functional/page_objects/index.ts
#	x-pack/test/functional/page_objects/reporting_page.ts
2021-06-08 15:04:53 -04:00
Kibana Machine 6727afe9d1
Upgrade cheerio from v0.22.0 to v1.0.0-rc.9 (#101394) (#101622)
Co-authored-by: Thomas Watson <w@tson.dk>
2021-06-08 13:46:59 -04:00
Caroline Horn b118e40753
[Stack Management] Converted to use KibanaPageTemplate (sort of) (#101335) (#101617)
* Just replace the old wrapper and uses the `solutionNav` prop
* Examples of: Empty Page, Error state, Page Header, and Split Panel
2021-06-08 13:28:27 -04:00
Sergi Massaneda ecc3a30556
[Core][Navigation] Chrome nav display application deepLinks (#100590) (#101615)
* chrome nav allows deepLinks

* docs updated

* use ChromeNavLink.url to call navigateToUrl

* to_nav_link test cases added for deepLink parameter

* snapshots updated

* deep nav links functional test added

* AppNavOptions type encapsulation

* docs updated

* docs for AppNavOptions

* implement navigateToApp deepLinkId option

* app searchable flag implementation

* code cleaning and test case added

* use explicit type

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-08 13:16:24 -04:00
Mikhail Shustov 100394cfb6
[7.x] Update @elastic/elasticsearch to 8.0.0-canary13 (#98266) (#101595)
* Update @elastic/elasticsearch to 8.0.0-canary13 (#98266)

* bump @elastic/elasticsearch to canary.7

* address errors in core

* address errors in data plugin

* address errors in Alerting team plugins

* remove outdated messages in Lens

* remove unnecessary comments in ML

* address errors in Observability plugin

* address errors in reporting plugin

* address errors in Rule registry plugin

* fix errors in Security plugins

* fix errors in ES-UI plugin

* remove unnecessary union.

* update core tests

* fix kbn-es-archiver

* update to canary 8

* bump to v9

* use new typings

* fix new errors in core

* fix errors in core typeings

* fix type errors in data plugin

* fix type errors in telemetray plugin

* fix data plugin tests

* fix search examples type error

* fix errors in discover plugin

* fix errors in index_pattern_management

* fix type errors in vis_type_*

* fix errors in typings/elasticsearch

* fix type errors in actions plugin

* fix type errors in alerting and apm plugins

* fix type errors in canvas and cases

* fix errors in event_log

* fix type errors in ILM and ingest_pipelines

* fix errors in lens plugin

* fix errors in lists plugin

* fix errors in logstash

* fix errors in metrics_entities

* fix errors in o11y

* fix errors in watcher

* fix errors in uptime

* fix errors in upgrade_assistant

* fix errors in task_manager

* fix errors in stack_alerts

* fix errors in security_solution

* fix errors in rule_registry

* fix errors in snapshot_restore

* fix remaining errors

* fix search intergration tests

* adjust assetion

* bump version to canary.10

* adapt code to new naming schema

* use mapping types provided by the client library

* Revert "adjust assetion"

This reverts commit 19b8fe0464.

* fix so intergration tests

* fix http integration tests

* bump version to canary 11

* fix login test

* fix http integration test

* fix apm test

* update docs

* fixing some ml types

* fix new errors in data plugin

* fix new errors in alerting plugin

* fix new errors in lists plugin

* fix new errors in reporting

* fix or mute errors in rule_registry plugin

* more ML type fixes

* bump to canary 12

* fix errors after merge conflict

* additional ML fixes

* bump to canary 13

* fix errors in apm plugin

* fix errors in fleet plugin

* fix errors in infra plugin

* fix errors in monitoring plugin

* fix errors in osquery plugin

* fix errors in security solution plugins

* fix errors in transform plugin

* Update type imports for ES

* fix errors in x-pack plugins

* fix errors in tests

* update docs

* fix errors in x-pack/test

* update error description

* fix errors after master merge

* update comment in infra plugin

* fix new errors on xpack tests/

Co-authored-by: James Gowdy <jgowdy@elastic.co>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
# Conflicts:
#	package.json
#	src/core/server/saved_objects/migrationsv2/integration_tests/migration.test.ts
#	test/common/services/saved_object_info.ts
#	x-pack/plugins/snapshot_restore/server/routes/api/repositories.ts
#	x-pack/plugins/snapshot_restore/server/routes/api/snapshots.ts
#	yarn.lock

* revert  @ts-expect-error changes in infra plugin

* update docs
2021-06-08 12:21:59 -04:00
Matthias Wilhelm 8064639fd9
[Discover] Deangularize discover controller (#96766) (#101566)
Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Tim Roes <mail@timroes.de>
2021-06-08 07:29:14 -04:00
Stratoula Kalafateli 91b91356ba
[Visualize] Fixes functional tests to run for vislib and es-charts (#101461) (#101523)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-08 04:04:09 -04:00
Devon Thomson f6f02aec8d
[Dashboard] Rebuild State Management (#97941) (#101524)
* Rebuilt dashboard state management system with RTK.
2021-06-07 17:14:44 -04:00
Spencer 4f4cf054de
[7.x] [ts] migrate root test dir to project refs (#99148) (#101416)
* [ts] migrate root test dir to project refs (#99148)

Co-authored-by: spalger <spalger@users.noreply.github.com>

* include schema files in telemetry ts project

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-06-04 16:22:00 -04:00
Pierre Gayvallet 6093707cbb
[7.x] Saved object export: apply export hooks to referenced / nested objects (#100769) (#101381)
* Saved object export: apply export hooks to referenced / nested objects (#100769)

* execute export transform for nested references

* fix sort

* fix duplicate references

* add FTR test

* fix test data for 7.x
2021-06-04 11:18:54 -04:00
Stratoula Kalafateli 10dd00f6a9
[7.x] [Pie] New implementation of the vislib pie chart with es-charts (#83929) (#101292)
* [Pie] New implementation of the vislib pie chart with es-charts (#83929)

* es lint fix

* Add formatter on the buckets labels

* Config the new plugin, toggle tooltip

* Aff filtering on slice click

* minor fixes

* fix eslint error

* use legacy palette for now

* Add color picker to legend colors

* Fix ts error

* Add legend actions

* Fix bug on Color Picker and remove local state as it is unecessary

* Fix some bugs on colorPicker

* Add setting for the user to select between the legacy palette or the eui ones

* small enhancements, treat empty labels with (empty)

* Fix color picker bugs with multiple layers

* fixes on internationalization

* Create migration script for pie chart and legacy palette

* Add unit tests (wip) and a small refactoring

* Add unit tests and move some things to utils, useMemo and useCallback where it should

* Add jest config file

* Fix jest test

* fix api integration failure

* Fix to_ast_esaggs for new pie plugin

* Close legendColorPicker popover when user clicks outside

* Fix warning

* Remove getter/setters and refactor

* Remove kibanaUtils from pie plugin as it is not needed

* Add new values to the migration script

* Fix bug on not changing color for expty string

* remove from migration script as they don't need it

* Fix editor settings for old and new implementation

* fix uistate type

* Disable split chart for the new plugin for now

* Remove temp folder

* Move translations to the pie plugin

* Fix CI failures

* Add unit test for the editor config

* Types cleanup

* Fix types vol2

* Minor improvements

* Display data on the inspector

* Cleanup translations

* Add telemetry for new editor pie options

* Fix missing translation

* Use Eui component to detect click outside the color picker popover

* Retrieve color picker from editor and syncColors on dashboard

* Lazy load palette service

* Add the new plugin to ts references, fix tests, refactor

* Fix ci failure

* Move charts library switch to vislib plugin

* Remove cyclic dependencies

* Modify license headers

* Move charts library switch to visualizations plugin

* Fix i18n on the switch moved to visualizations plugin

* Update license

* Fix tests

* Fix bugs created by new charts version

* Fix the i18n switch problem

* Update the migration script

* Identify if colorIsOverwritten or not

* Small multiples, missing the click event

* Fixes the UX for small multiples part1

* Distinct colors per slice implementation

* Fix ts references problem

* Fix some small multiples bugs

* Add unit tests

* Fix ts ref problem

* Fix TS problems caused by es-charts new version

* Update the sample pie visualizations with the new eui palette

* Allows filtering by the small multiples value

* Apply sortPredicate on partition layers

* Fix vilib test

* Enable functional tests for new plugin

* Fix some functional tests

* Minor fix

* Fix functional tests

* Fix dashboard tests

* Fix all dashboard tests

* Apply some improvements

* Explicit params instead of visConfig Json

* Fix i18n failure

* Add top level setting

* Minor fix

* Fix jest tests

* Address PR comments

* Fix i18n error

* fix functional test

* Add an icon tip on the distinct colors per slice switch

* Fix some of the PR comments

* Address more PR comments

* Small fix

* Functional test

* address some PR comments

* Add padding to the pie container

* Add a max width to the container

* Improve dashboard functional test

* Move the labels expression function to the pie plugin

* Fix i18n

* Fix functional test

* Apply PR comments

* Do not forget to also add the migration to them embeddable too :D

* Fix distinct colors for IP range layer

* Remove console errors

* Fix small mulitples colors with multiple layers

* Fix lint problem

* Fix problems created from merging with master

* Address PR comments

* Change the config in order the pie chart to not appear so huge on the editor

* Address PR comments

* Change the max percentage digits to 4

* Change the max size to 1000

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-optimizer/limits.yml
#	test/functional/apps/visualize/_pie_chart.ts

* Fix functional test

* Revert change - backport missing

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-04 11:15:27 -04:00
Stratoula Kalafateli ab06dc16b5
[QA] Switch tests to use importExport - visualize (#98063) (#101361)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/functional/apps/visualize/index.ts

Co-authored-by: Tre <wayne.seymour@elastic.co>
2021-06-04 16:21:34 +03:00
Dmitry Tomashevich b09aeb52f2
[7.x] [Discover] Add EUIDataGrid to surrounding documents (#99447) (#101063)
* [Discover] Add EUIDataGrid to surrounding documents (#99447)

* [Discover] migrate remaining context files from js to ts

* [Discover] get rid of any types

* [Discover] replace constants with enums, update imports

* [Discover] use unknown instead of any, correct types

* [Discover] skip any type for tests

* [Discover] add euiDataGrid view

* [Discover] add support dataGrid columns, provide ability to do not change sorting, highlight anchor doc, rename legacy variables

* [Discover] update context_legacy test and types

* [Discover] update unit tests, add context header

* [Discover] update unit and functional tests

* [Discover] remove docTable from context test which uses new data grid

* [Discover] update EsHitRecord type, use it for context app. add no pagination support

* [Discover] resolve type error in test

* [Discover] add disabling control columns option, change loading feedback

* [Discover] clean up, update functional tests

* [Discover] remove invalid translations

* [Discover] support both no results found and loading feedback

* [Discover] provide loading status for discover

* [Discover] fix functional test

* [Discover] add useDataGridColumns test, update by comments

* [Discover] fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* [Discover] fix data grid row header in firefox

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-04 11:02:14 +03:00
Kibana Machine 2e3b20060f
[fix] import from the root of @kbn/expect (#101321) (#101343)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-06-03 20:05:17 -04:00
Tiago Costa 1972311f6f
fix(NA): windows ts_project outside sandbox compilation (#100947) (#101305)
* fix(NA): windows ts_project outside sandbox compilation adding tsconfig paths for packages

* chore(NA): missing @kbn paths for node_modules so types can work

* chore(NA): missing @kbn paths for node_modules so types can work

* chore(NA): organizing deps on non ts_project packages

* chore(NA): change order to find @kbn packages on node_modules first

* chore(NA): add @kbn/expect typings setting on package.json

* chore(NA): fix typechecking

* chore(NA): add missing change on tsconfig file

* chore(NA): unblock windows build by not depending on the pkg_npm rule symlink in the package.json

* chore(NA): add missing depedencies on BUILD.bazel file for io-ts-list-types

* chore(NA): remove rootDirs configs

* chore(NA): change kbn/monaco targets order

* chore(NA): update kbn-monaco build

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	package.json
2021-06-03 14:53:36 -04:00
Kibana Machine 4238ecfb25
[Usage] Fix flaky UI Counters test (#100979) (#101284)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-06-03 12:47:08 -04:00
Joe Reuter 22fa45a373
[Lens] Time shift metrics (#98781) (#101186) 2021-06-02 14:40:57 -04:00
Ahmad Bamieh 3e755ccf1f
[7.x] [Deprecations service] make correctiveActions.manualSteps required (#100997) (#101156)
* merge conflicts

* update deprecation message
2021-06-02 11:28:22 -04:00
Anton Dosov 4202cb42dc
[7.x] [Index Patterns] Fix return saved index pattern object (#101051) (#101134)
* [Index Patterns] Fix return saved index pattern object (#101051)

* update docs
2021-06-02 07:38:47 -04:00
Kibana Machine 4f0781737c
[CI] For PRs, build TS refs before public api docs check (#100791) (#101128)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-06-01 23:20:47 -04:00
Jean-Louis Leysens 09129c8e38
[Reporting/Telemetry] Do not send telemetry if we are in screenshot mode (#100388) (#101076)
* do not send telemetry if isScreenshotMode

* Implement PR feedback:

* added another Jest test
* move Boolean() to make the opt-in value always boolean

* remove unused import and convert to import type

* fix type issues

* update jest snapshot

* Expanded test coverage

- added plugin functional test
- added jest test to check TelemetrySender behaviour
- exported the localStorage/window value that flags screenshot
  mode

* fix test plugin name in package.json and make sure to opt out of telemetry when the test finishes

* added missing type file to plugin_functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/telemetry/kibana.json
2021-06-01 15:27:05 -04:00
Greg Thompson 0480fbc945
Upgrade EUI to v33.0.0 (#99382) (#101067)
* eui to 33.0.0

* resize observer type inclusion - revisit

* src snapshot updates

* x-pack snapshot updates

* table sort test updates

* code block language sh -> bash

* datagrid datetime sort inversion

* types

* kbn-crypto

* refractor yarn resolution

* refractor yarn resolution

* update cypress tests

* url state test

* trial

* Revert "trial"

This reverts commit adc3538145.

* trial anomaly timeout

* Revert "trial anomaly timeout"

This reverts commit 9a11711ba8.

* kbn-telemetry-tools

* Change a useMemo to useCallback so the code executes when intended

* Removed no-longer-used import

* exitOrFail already retries for longer than tryForTime

* Wait for loading indicator to disappear

* Intentionally adding `.only`

* Revert .only

* Increase wait time for the ML chart to load

* Remove unused var

* overflow

* chartWidth

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2021-06-01 13:56:37 -04:00
Kibana Machine 3295128346
[Deprecations service] add deprecationType and use it in configs deprecations (#100983) (#101039)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-06-01 09:05:09 -04:00
Liza Katz 157e2cf140
[bfetch] compress stream chunks (#97994) (#101027)
* Move inspector adapter integration into search source

* docs and ts

* Move other bucket to search source

* test ts + delete unused tabilfy function

* hierarchical param in aggconfig.
ts improvements
more inspector tests

* fix jest

* separate inspect
more tests

* jest

* inspector

* Error handling and more tests

* put the fun in functional tests

* delete client side legacy msearch code

* ts

* override to sync search in search source

* delete more legacy code

* ts

* delete moarrrr

* deflate bfetch chunks

* update tests
use only zlib

* ts

* extract getInflatedResponse

* tests

* Use fflate in attempt to reduce package size

* use node streams, fflate and hex encoding.

* DISABLE_SEARCH_COMPRESSION UI Settings
Use base64 and async compression

* i18n

* Code review
Use custom header for compression
Promisify once

* use custom headers

* Update jest

* fix tests

* code review, baby!

* integration

* tests

* limit

* limit

* limit

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-06-01 05:13:52 -04:00
Tiago Costa 72e71ad750
skip flaky suite (#98240) 2021-05-31 16:38:05 +01:00
Matthias Wilhelm 70543ade3a
[Discover] Fix infinite scrolling using Classic table (#97634) (#101003)
* Fix infinite scrolling

* Add functional tests
2021-05-31 11:21:48 -04:00
Tyler Smalley 52dd72e0a2 Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#99980)"
This reverts commit be40e96806.
2021-05-28 17:21:51 -07:00
Tyler Smalley be40e96806
[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#99980)
* [FTR][CI] Use default distribution for all tests (#94968)

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

* Use default output

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

* [FTR] Use importExport for saved_object/basic archive

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

* Update suggestions tests

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

* Fix build

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

* More migrations to kbnArchiver

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-05-28 15:25:52 -04:00
Spencer 3ccadb4100
[ftr] migrate screenshots and snapshots services to FtrService class (#100514) (#100921)
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/functional/services/index.ts
2021-05-28 14:24:04 -04:00
Spencer 2d9dd6aa08
[7.x] [ftr] migrate "browser" to FtrService class (#100507) (#100919)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-28 14:21:29 -04:00
Kibana Machine e8039e188b
[ftr] migrate "savedObjectManagementComponent" service to FtrService class (#100614) (#100849)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-28 05:01:16 -04:00
Kibana Machine f1f56d0bd6
[ftr] migrate "queryBar" service to FtrService class (#100612) (#100848)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-28 03:10:31 -04:00
Kibana Machine bc7adfa40b
[ftr] migrate "MenuToggle" service to FtrService class (#100608) (#100847)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-28 03:06:04 -04:00
Kibana Machine c95c60177c
[ftr] migrate "embedding" and "renderable" services to FtrService class (#100596) (#100846)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-28 03:00:14 -04:00
Kibana Machine 6b6c48dbcb
Automated package testing (#88900) (#100812)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-05-27 20:33:04 +00:00
Anton Dosov 64017d65cc
[Index patterns] Default index pattern REST API (#100691) (#100798) 2021-05-27 14:00:43 -04:00
Anton Dosov b9115a6122
[Index Patterns] Migrate tests to the new es client (#100760) (#100782) 2021-05-27 11:43:58 -04:00
Kibana Machine 4c6d3c9de9
[ftr] migrate "comboBox" service to FtrService class (#100592) (#100761)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-27 13:13:03 +00:00
Kibana Machine df8ba923c4
[ftr] migrate AppsMenuService to FtrService class (#100588) (#100745)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 19:33:14 -04:00
Kibana Machine b6a231621c
[ftr] migrate "flyout" and "inspector" services to FtrService class (#100602) (#100739)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 18:52:52 -04:00
Kibana Machine 9479eaa067
[ftr] migrate "toasts" service to FtrService class (#100613) (#100729)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 17:35:35 -04:00
Kibana Machine 55651f9abe
[7.x] [ftr] migrate "testSubjects" to FtrService class (#100512) (#100656)
* [ftr] migrate "testSubjects" to FtrService class (#100512)

Co-authored-by: spalger <spalger@users.noreply.github.com>

* fix clickAndValidate() fn

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 17:08:14 -04:00
Kibana Machine fb74e7204a
[ftr] migrate management services to FtrService class (#100521) (#100723)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 17:03:51 -04:00
Kibana Machine 483f2b89a1
[ftr] migrate visualizations service to FtrService classes (#100522) (#100721)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 16:54:31 -04:00
Spencer 9693644fdd
[ftr] migrate dashboard services to FtrService class (#100519) (#100720)
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/functional/services/dashboard/add_panel.ts
#	test/functional/services/index.ts
2021-05-26 16:52:43 -04:00
Tre 35a193d8d6
[QA] Add saved objects info svc (#96364) (#100700)
Add svc and fn to return saved object types in a given index,
defaulted to ".kibana" index.
2021-05-26 14:00:21 -04:00
Kibana Machine 2fe74fe817
[ftr] migrate "globalNav" service to FtrService class (#100604) (#100665)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 14:11:34 +00:00
Kibana Machine 2aa49fd513
[ftr] migrate "find" service to FtrService class (#100509) (#100644)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 06:58:10 -04:00
Kibana Machine 94d1c48cd8
[ftr] migrate "docTable" service to FtrService class (#100595) (#100640)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 06:37:39 -04:00
Kibana Machine f43da37f87
[ftr] migrate "listingTable" service to FtrService class (#100606) (#100637)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 10:32:32 +00:00
Kibana Machine 9992e63e75
[ftr] migrate "dataGrid" service to FtrService class (#100593) (#100633)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 05:58:14 -04:00
Kibana Machine 58f7eff1ce
[ftr] migrate "fieldEditor" to FtrService class (#100597) (#100627)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 00:06:13 -04:00
Kibana Machine a6e01e0356
[ftr] migrate "filterBar" service to FtrService class (#100601) (#100626)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 00:03:04 -04:00
Kibana Machine 88d2f6480b
refact(NA): remove extra pkg_npm target and add specific target folders for @kbn/analytics on Bazel (#100569) (#100620)
* refact(NA): remove extra pkg_npm target and add specific target folders on @kbn/analytics

* chore(NA): update import on target_types

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-25 21:50:27 -04:00
Spencer b601c5c3b4
[ftr] implement FtrService classes and migrate common services (#99546) (#100585)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/common/services/deployment.ts
#	test/common/services/index.ts
#	test/common/services/saved_object_info.ts
#	test/functional/apps/visualize/index.ts
2021-05-25 16:31:02 -04:00
Kibana Machine b25c577ec1
[test/functional/context] include missing await (#100422) (#100529)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-25 04:56:01 -04:00
Kibana Machine 0f5a32c429
Ban use of lodash.template (#100277) (#100332)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-05-21 18:39:20 +00:00
Kibana Machine e0e106516e
Remove PEG.js generator from the timelion runtime (#100327) (#100380)
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-05-20 07:39:22 -04:00
spalger 8fa93a225d skip flaky suite (#100372) (#96997)
(cherry picked from commit be97fae12e)
2021-05-19 15:51:47 -07:00
Kibana Machine 4b712fda4b
[kbn/test] move types/ftr into src (#99555) (#100228)
* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-17 14:49:48 -04:00
Catherine Liu 3124344357
[Dashboard] Fixes dashboard_save functional test (#98830) (#100227)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-17 14:41:02 -04:00
Kibana Machine e1cc66b17b
[QA] fix dashboard lens by value test (#100196) (#100222)
* [functional test] remove redundant navigation, wait for lens to be loaded

* fix navigation to new viz

* update test title

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2021-05-17 13:13:21 -04:00
Kibana Machine 1824ef8f77
Sharing saved objects phase 3 (#94383) (#100158)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-05-14 16:43:17 -04:00
Kibana Machine 1d6e26b2b3
[Uptime] Fix overview flaky tests (#99781) (#100157)
* add retry logic and add describe.only to prepare for flaky test runner

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-05-14 16:28:18 -04:00
Stratoula Kalafateli 7571a10615
[TSVB] Filter by clicking on the timeseries chart (#97426) (#99927)
* WIP TSVB filter by click

* Disable filter click when showBar is set to false

* Exclude metric columns as they are not filtered

* Allow filters group by filter click event

* Fix CI and unit tests

* Add some comments

* Move to separate function for easier testing

* Add more unit tests

* Add a functional test

* Improve types

* Fix bug with group by filters and user applies custom labels

* fix time filter bug

* Address PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 11:52:07 -04:00
Kibana Machine 2c5e4b8292
[Bug] Fixes #9184 (#99099) (#99839)
* code review

* test

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-05-11 22:00:09 +00:00
Tiago Costa 7b00bba260
skip flaky suite (#98974) 2021-05-10 14:28:15 +01:00
Kibana Machine 0daa1880bb
Fix flaky bsearch test (#99277) (#99562)
* Fix flaky bsearch test

* Review feedback

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2021-05-06 21:26:19 -04:00
Alejandro Fernández Haro 47c3e20546
[Usage Collection] Report the number of SOs per type (#99344) (#99509)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	api_docs/core.json
#	api_docs/dashboard.json
#	api_docs/data.json
#	api_docs/data_search.json
#	api_docs/fleet.json
#	api_docs/infra.json
#	api_docs/ml.json
#	api_docs/observability.json
#	api_docs/presentation_util.json
#	api_docs/reporting.json
#	api_docs/visualizations.json
2021-05-06 15:08:20 -04:00
Matthias Wilhelm 44f1f1728c
[7.x] [Discover] Fix horizontal scrolling of legacy table (#98770) (#99164)
* [Discover] Fix horizontal scrolling of legacy table (#98770)

* Add CSS class to fix scrolling of legacy table

* Add functional test

* Update _doc_table.ts
2021-05-05 12:35:01 -04:00
Kibana Machine ecd9fd401a
Enable custom time ranges for saved searches (#99180) (#99351)
* Enable custom time ranges for saved searches

* Add functional test

* Fix Typing

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-05-05 12:34:03 -04:00
Brian Seeders a82e2cbc59
[CI] Create a ciGroup just for tests that use Docker (#98535) (#99088)
# Conflicts:
#	test/scripts/jenkins_xpack_build_kibana.sh
2021-05-03 15:52:17 -04:00
Alexey Antonov e70e0df3f3
[visualizations] Reduce page load bundle to under 100kB (#98302) (#99028)
* [visualizations] Reduce page load bundle to under 100kB

* move scss to async chunks

* fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-05-03 05:52:00 -07:00
Pierre Gayvallet 58126079f9
Add upsert support for savedObjects update (#98712) (#98880)
* Add upsert support for savedObjects update

* fix types

* update generated docs

* update docs

* fix types

* do not use update attributes for upsert
2021-04-30 07:13:29 -04:00
Diana Derevyankina 6cffcc9dd2
[TSVB] Timeseries Drop last bucket set default to false (#97257) (#98879)
* [TSVB] Timeseries Drop last bucket should default to false

* Rename isLastBucketDropped prop and move series domain calculation to a separate file

* Fix failing tests because of wrong default value

* update drop_last_bucket.js

* Refactor drop_last_bucket and some functional tests

* Change infra metrics test values because of last bucket value changed

* Refactor series_domain_calculation and related code

* Update series_domain_calculations.test

* Update series_domain_calculations.test

* Fix tooltip showing wrong time

* Refactor index

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-04-30 06:52:02 -04:00
Matthias Wilhelm e1843a49a7
[Discover] Revert default grid back to legacy (#98508) (#98876)
# Conflicts:
#	test/functional/apps/discover/_large_string.ts
#	test/functional/page_objects/discover_page.ts
#	x-pack/test/functional/apps/security/doc_level_security_roles.js
2021-04-30 06:34:55 -04:00
Pierre Gayvallet ab3fed7906
[7.x] SOM: hide actions for hidden types (#98290) (#98568)
* SOM: hide actions for hidden types (#98290)

* SOM: hide actions for hidden types

* fix FTR tests

* add and fix tests

* fix unit tests

* fix test types

* fix FTR test assertions

* add more FTR tests

* delete old file

* fix data set
2021-04-28 05:36:17 -04:00
Spencer d773e4f78a
[kbn/es] disable geoip downloader at the root (#98372) (#98533)
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	packages/kbn-es/src/cluster.js
2021-04-27 16:34:23 -04:00
Aleh Zasypkin 096be61d6a
Handle 401 Unauthorized errors in a more user-friendly way (#94927) (#98526)
# Conflicts:
#	x-pack/plugins/security/server/authentication/providers/saml.ts
#	x-pack/plugins/security/server/routes/authentication/saml.ts
2021-04-27 15:42:27 -04:00