Commit graph

4567 commits

Author SHA1 Message Date
Kibana Machine 2a97c5695d
[Unified Integrations] Create Services, Storybook, Replacements Card; add to Fleet (#113816) (#113997)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-10-05 18:00:20 -04:00
Kibana Machine 0761e6576c
[Dashboard] Adding timelion panel without asking for the index pattern (#113896) (#113933)
* [Dashboard] Adding timelion panel without asking for the index pattern

* Adds a functional test

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-10-05 12:11:41 -04:00
Kibana Machine 6a841c5eb1
[Discover] Fix navigation to a new from saved search and saved query, fix discover:searchOnPageLoad (#112262) (#113916)
* [Discover] fix saved search become active

* [Discover] add another fix to be consistent with data fetching code

* [Discover] simplify solution

* [Discover] add functionals

* [Discover] fix saved query bug, add functionals

* [Discover] fix functionals

* [Discover] fix functional test

* [Discover] split saved query tests

* [Discover] preselect logstash index pattern

* [Discover] remove saved query after test complete

* [Discover] change query fill order

* [Discover] try to fix unrelated functional test

* [Discover] one more fix

* [Discover] try to fix one more problem

* [Discover] fix commonly used time range test

* [Discover] revert uisettings init in before statement, do small adjustments

* [Discover] fix unit test

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

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-10-05 09:36:09 -04:00
Kibana Machine 76c31dafe4
don't wait for nav:not(.ng-hide) on status page (#113674) (#113845)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2021-10-04 18:37:07 -04:00
Matthew Kime 0d2fcbc1de
[7.x] [data views] Move data views api from data plugin and into its own (#113497) (#113833)
* [data views] Move data views api from data plugin and into its own (#113497)

* initial pass at moving data views into own plugin

* require expressions plugin, fix META_FIELDS reference

* bundle limits and localization

* fix integration test

* update plugin list and jest config

* type fixes

* search fixes

* fix localization

* fix mocks

* fix mocks

* fix stub

* type fixes

* fix import on test file

* path fixes

* remove shorted dotted from data plugin

* more todo removal

* eslint fixes

* eslint fix

* simplify data views server plugin

* simplify data views server plugin

* simplify data views server plugin

* fix imports on api routes

* fix imports on api routes

* update plugin list

* ts fixes

* ts fixes

* add deprecation notice

* fix circular dependency and api integration test

* fix circular dependency and api integration test

* rename types for better clarity

* path fixes

* jest.config and tsconfig cleanup

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

* localization fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-04 17:55:53 -04:00
Dzmitry Lemechko 4d80db3ad9
[test/page_objects] validate selected dates for timepicker (#113597) (#113837)
* [test/page_objects] validate selected dates for timepicker

* unskip flaky test

* fix types check failure

* update tests

* update message

* unskip more tests
2021-10-04 17:27:48 -04:00
Kibana Machine 98d7a37c73
[7.x] [Uptime] Run Sample uptime tests using @elastic/synthetics (#112128) (#113531)
* [Uptime] Run Sample uptime tests using @elastic/synthetics (#112128)

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

* update test according to 7.x

* revert

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
Co-authored-by: shahzad31 <shahzad31comp@gmail.com>
2021-10-04 16:28:53 +00:00
Kibana Machine 4814df2e11
[Fleet] Show beats replacements in integration browser (#113291) (#113615)
Display both beats and epr-packages in the integration browser. When there is overlap, the EPR-package equivalent is displayed. When the EPR-package is not yet ga, the beat-equivalent is displayed.

Co-authored-by: Thomas Neirynck <thomas@elastic.co>
2021-10-01 10:35:57 -04:00
Kibana Machine d62cb560ed
test/functional/apps/management/_test_huge_fields.js (#112878) (#112909)
Co-authored-by: Rashmi Kulkarni <rashmi.kulkarni@elastic.co>
2021-09-30 19:52:26 -04:00
Kibana Machine 2f4662bcf1
[Fleet] Register Sample Data (#113200) (#113488)
Co-authored-by: Thomas Neirynck <thomas@elastic.co>
2021-09-29 20:46:17 -04:00
Kibana Machine f2fa26ca4e
[Discover] Unksip and improve index pattern without time field functional test (#112698) (#113391)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-09-29 10:18:16 -04:00
Kibana Machine 49cabe5d85
Fixes error with percentiles on index with many docs (#113216) (#113384)
* Fixes error with metric viz and percentiles on index with many docs

* Unskip the metric viz suite

* Adds a unit test

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-09-29 09:11:48 -04:00
Kibana Machine 3e05cbf9be
Failing test: Chrome UI Functional Tests.test/functional/apps/visualize/_tsvb_table·ts - visualize app visualize ciGroup12 visual builder table should display correct values on changing metrics aggregation (#112216) (#113355)
* Add wait for finish header loading

* Add header waitUntilLoadingHasFinished to visChart waitForVisualizationRenderingStabilized

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

Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
2021-09-29 05:25:02 -04:00
Kibana Machine 22b1b7f745
fix skipped test test/accessibility/apps/dashboard·ts - Dashboard create dashboard button #111233 (#112872) (#113317)
* test if 2s sleep fixes flakey test

* switch from sleep to retry.waitFor

* remove .only, add comments to config file about sample data add/remove

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

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2021-09-28 17:13:41 -04:00
Pierre Gayvallet 102822f4fd
[7.x] add SavedObjectType.management.displayName (#113091) (#113249)
* add `SavedObjectType.management.displayName` (#113091)

* add `SavedObjectType.management.displayName`

* fix unit tests

* add FTR test

* update generated doc

* also update labels

* fix unit tests
# Conflicts:
#	src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx
#	src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx

* fix types

* fix allowedTypes usage

* fix unit tests
2021-09-28 16:03:09 -04:00
Matthias Wilhelm 5c0a46fa50
[Discover] Add "Chart options" menu (#112453) (#113233)
Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Tim Roes <mail@timroes.de>
2021-09-28 07:17:52 -04:00
Kibana Machine 8e6b834540
Short URLs (#107859) (#113228)
Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
2021-09-28 07:04:15 -04:00
Tiago Costa bd669de514
skip flaky suite (#112920) 2021-09-28 11:58:19 +01:00
Maja Grubic 2299190672
[Saved Search Embeddable] Add view action (#112396) (#113225)
* [Saved Search Embeddable] Add view action

* Fix typescript and lint errors; add tests

* Add a functional test

* Fix a unit test

* Renaming action

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-28 06:02:16 -04:00
Michael Dokolin 47a4c3de2a
[Expressions] Partial results example plugin (#113001) (#113143)
* Update mapColumn expression function implementation to support partial results
* Add partial results example plugin
# Conflicts:
#	.github/CODEOWNERS
2021-09-27 15:18:44 -04:00
Thomas Neirynck ec7231d2f3
[Fleet] Add custom integrations API (#112481) (#113136)
Add a new plugin `custom_integrations`. This plugin allows for the registration of data-integrations tutorials. The Fleet-integrations app will display these alongside the existing Elastic Agent integrations.
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-09-27 14:22:57 -04:00
Kibana Machine 9b7d5b8db3
[TSVB] Resolves the flakiness on url drilldowns functional tests (#112809) (#113097)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-09-27 07:54:41 -04:00
Kibana Machine 6636877fd8
[ci] sync storybook builds between jenkins and buildkite (#113071) (#113076)
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-24 16:01:13 -04:00
Jonathan Budzenski d233a6af47 skip flaky suite. #112812 2021-09-23 17:11:02 -05:00
Jonathan Budzenski ca55b003dc skip flaky suite. #107028 2021-09-23 10:23:31 -05:00
Matthias Wilhelm af041d98c0
[Discover] Improve saved query management functional service (#112055) (#112953) 2021-09-23 09:42:11 -04:00
Kibana Machine 59d2271c78
fix permissions for cloud test (#112568) (#112928)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-09-23 06:35:30 -04:00
Kibana Machine 4516fc5e26
Fixes flakiness in timelion viz functional test (#112805) (#112834)
* Fixes flakiness in timelion viz functional test

* Add sleep

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-09-22 12:49:57 -04:00
Jonathan Budzenski 728b91b2f1 skip flaky suite. #111234 2021-09-22 09:38:23 -05:00
Devon Thomson 1334789c5d
[Dashboard] Retain Viewmode State in Session (#112302) (#112707)
* Made dashboard retain viewmode state in session. This means filters and query will be kept over reloads and navigations
2021-09-21 16:06:29 -04:00
Devon Thomson 8b66056672
[Dashboard] [Visualize] Add Search to Legacy Redirect (#112365) (#112704)
added search to legacy redirect URL
2021-09-21 16:02:32 -04:00
Tyler Smalley f188688c73 skip flaky suite (#111922)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-21 12:25:46 -07:00
Kibana Machine 2937c7d2c3
[SOM] Add visibleInManagement option to management metadata (#112073) (#112639)
* implement SavedObjectsTypeManagementDefinition.visibleInManagement

* update generated doc

* improve FTR tests

* fix FTR test

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-09-21 07:51:22 -04:00
Kibana Machine d70cbb166e
[CI] Increase heap for Jest Integration (#112594) (#112607)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-20 22:18:36 +00:00
Tyler Smalley c16480e849
[7.x][DX] Upgrade prettier to v2.4.0 (#112359) (#112524)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:46 -07:00
Kibana Machine daf23f28c6
[Canvas] TagCloud arguments. (#107729) (#112508)
* Added arguments to Tagcloud at Canvas.

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

Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
2021-09-17 09:58:48 -04:00
Spencer bd60405ec7
[kbn/ui-shared-deps] split into two packages (#110558) (#112475)
* [kbn/ui-shared-deps] split into two packages

* fix asset categorizer

* update snapshots

* reference npm dll from optimizer

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	src/plugins/interactive_setup/public/single_chars_field.tsx
#	test/scripts/jenkins_build_kibana.sh
2021-09-16 18:02:17 -04:00
Brian Seeders 7a29c43dc1
[Buildkite] Hourly CI / tracked branch pipeline (#111785) (#112444)
# Conflicts:
#	test/functional/apps/bundles/index.js
#	vars/kibanaCoverage.groovy
2021-09-16 14:32:35 -04:00
Matthew Kime d560d74bb9
[data views] rename files from index patterns to data view (#112047) (#112408)
* rename directories

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/data/common/search/search_source/search_source.test.ts
#	src/plugins/data/public/data_views/data_views/on_unsupported_time_pattern.tsx
#	src/plugins/data/public/data_views/index.ts
#	src/plugins/data/server/search/search_service.ts
2021-09-16 10:29:44 -04:00
Matthias Wilhelm 597e69c9db
[Discover] Set ownfocus to false when displaying the document flyout (#108646) (#112379)
# Conflicts:
#	test/functional/apps/discover/_data_grid_doc_table.ts
2021-09-16 05:44:13 -04:00
Kibana Machine a0e992aded
[Archive Migration][Partial] discover apps-management (#110444) (#112230)
* [Archive Migration][Partial] discover apps-management

Comes from https://github.com/elastic/kibana/pull/102827

Helps with https://github.com/elastic/kibana/pull/108503

Only include the changes under the
test/functional/apps/management folder.

* Remove the index pattern, that the test
creates.

* Drop beforeEach(), in favour of before(),
since there's only one test.

* Drop outdated comment,
drop these three cleanup lines
as the unload should handle it.

* Just keep one cleanup.

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

Co-authored-by: Tre <wayne.seymour@elastic.co>
2021-09-15 12:15:16 +00:00
Tre dd85364998
[QA][SO INFO SVC] Add json only option (#112061) (#112144)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-15 08:12:57 -04:00
Pierre Gayvallet deaf53e484
[7.x] Add deprecation warning when unknown SO types are present (#111268) (#112112)
* Add deprecation warning when unknown SO types are present (#111268)

* Add deprecation warning when unknown types are present

* fix and add service tests

* remove export

* plug deprecation route

* add integration test for new route

* add unit test for getIndexForType

* add unit tests

* improve deprecation messages

* add FTR test

* fix things due to merge

* change the name of the deprecation provider

* improve message

* improve message again
# Conflicts:
#	src/core/server/saved_objects/saved_objects_service.ts

* fix types
2021-09-15 07:16:53 -04:00
Kibana Machine e1edcdf662
[QA][SO INFO SVC] Docs for using with jq (#112129) (#112143)
Co-authored-by: Tre <wayne.seymour@elastic.co>
2021-09-14 12:51:20 -04:00
Stratoula Kalafateli fc2feaff7a
[7.x] [Datatable] Removes the old implementation (#111339) (#112059)
* [Datatable] Removes the old implementation  (#111339)

* [Datatable] Removes the angular implementation

* Fix i18n errors

* Fix types

* Remove unecessary funtional tests

* Fix documentation

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

* Fix conflict

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 11:10:29 -04:00
Uladzislau Lasitsa fb6e27ef88
[TSVB] Doesn't work correctly with pipeline aggregations in "entire time range" mode (#105073) (#112076)
* Use date_histogram instead of auto_date_histogram in pipeline aggregations

* Fix ci

* Fix eslint

* start disable parent pipeline aggs and show error

* Fix CI

* Fix eslint

* Fix CI

* Add functional tests

* Some fixes

* Fix lint

* Use agg_utils

* Fix lint

* Fix text

* Fix lint

* Fix tests

* Fixed condition

* Fix math aggregation

* math should pass panel type as prop

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 10:04:02 -04:00
Mikhail Shustov 6eb230d23c
Functional tests for execution context propagation in alerting and task manager plugins (#111179) (#112066)
* move execution context tests to x-pack folder

* add execution context tests for alerts and tasks

* cleanup tests

* remove obsolete test folder

* use ToolingLog instead of console.log
# Conflicts:
#	scripts/functional_tests.js
#	x-pack/scripts/functional_tests.js
2021-09-14 08:43:55 -04:00
Kibana Machine f932175c37
[data views] allow fields that start with an underscore in the field list (#111238) (#111976)
* stop filtering out fields that start with underscore

Co-authored-by: Matthew Kime <matt@mattki.me>
2021-09-13 15:02:28 -04:00
Matthias Wilhelm e8f3136330
[Discover] Fix a functional test 'index pattern with unmapped fields' (#111323) (#111973)
* [Discover] Fix a functional test

* Fix failing type

* Select index pattern first

* Select index pattern first

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

Co-authored-by: Maja Grubic <maja.grubic@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 14:05:20 -04:00
Kibana Machine 27969260d1
[Discover] Fix permissions for runtime fields functional test (#111925) (#111956)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-09-13 12:27:14 -04:00