Commit graph

39908 commits

Author SHA1 Message Date
Joe Reuter 0b798f7d10
make drag drop test more stable (#88614) 2021-01-21 14:29:23 +01:00
Joe Reuter 248ed420e2
[Lens] Upgrade fixtures (#88838) 2021-01-21 14:05:32 +01:00
Gidi Meir Morris dfd96d62c4
ebsure we always select the correct index (#88876)
At times we find the driver controlling the ComboBox in our UI tests can select the wrong item, this ensures we always select the correct index in the Connector tests.
2021-01-21 12:09:19 +00:00
Cauê Marcondes d997f20708
[APM] Service overview: Introduce time-series comparison (#88665)
* adding comparision select option

* adding time comparison field on some pages

* removing unused files

* fixing unit test

* adding unit tests

* enabling comparison for more than 8 days

* removing tooltip

* refactoring search bar

* moving useBreakPoint to common hooks folder, removing useShouldUSeMobileLayout hook

* addressing PR comments

* addressing PR comments

* addressing PR comments

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-21 12:13:52 +01:00
Rudolf Meijering bfcd990dee
Handle another node already having deleted the temporary index (#88332)
* Handle another node already having deleted the temporary index

* Make run_multiple_kibana_nodes.sh script more generic

* Add note about dependency on jq

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-21 12:10:10 +01:00
James Gowdy 1709c704d9
[ML] Improving model snapshot revert UI experience (#88588)
* [ML] Improving model snapshot revert UI experience

* removing button disabling

* updating component is mounted check

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-21 10:54:28 +00:00
Anton Dosov 05fcdd8a56
[Search Sessions] Add searchSessionId to Vega's inspector (#88839) 2021-01-21 11:31:28 +01:00
Joe Reuter ab1d97e441
[Lens] Restart session if fixed now becomes outdated (#88575) 2021-01-21 11:00:57 +01:00
Dario Gieselaar b93042e7e3
[APM] Exclude cypress from APM-only tsconfig (#88837) 2021-01-21 10:50:39 +01:00
Walter Rafelsberger 922abfa21e
[ML] Transforms: Fixes available fields for sort options for latest configuration (#88617)
- Fixes the transform preview header to display the heading text in any case and the copy-to-clipboard button for latest configurations (the copy-to-clipboard option for pivot is displayed within the form).
- Fix to avoid listing all fields for the sort option for latest configuration and only show date fields
- Fixes ambiguous form field labels
2021-01-21 08:11:59 +01:00
Aleh Zasypkin c7267b63df
Reject authentication requests if license is not available. (#88850) 2021-01-21 07:59:00 +01:00
spalger d28fa36e8a skip flaky suite (#88928) 2021-01-20 21:01:57 -07:00
spalger 97c7f5c8a1 skip flaky suite (#88926) (#88927) (#88929) 2021-01-20 20:51:18 -07:00
Scotty Bollinger 8008261060
[Workplace Search] Add tests for Custom Source Schema (#88785)
* Add tests for Schema components

* Convert components to use clearFlashMessages helper

* Remove unused action types

These aren’t actually used anymore

* Fix type

This is actually a string from the server

* Move mock to shared mocks

* Add tests for logic file

* Fix App Search tests

Server actually sends back a string for `activeReindexJobId`

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 21:15:47 -06:00
Nicolas Chaulet 3b728b73cf
[Fleet] Use fleet server indices for enrollment keys and to list agents with a feature flag (#86179) 2021-01-20 19:29:04 -05:00
Joe Portner 25f16db4d9
Sharing saved objects, phase 2 (#80945) 2021-01-20 17:39:21 -05:00
Brian Seeders 82c1501924
[CI] [TeamCity] Move PR commit status publishing gate to accommodate PR bot (#88911) 2021-01-20 16:55:29 -05:00
Nathan Reese da8abdaf75
[Maps] fix tags changed in Maps Save dialog don't refresh until the map is reopened (#88849)
* [Maps] fix tags changed in Maps Save dialog don't refresh until the map is reopened

* only set tags if newTags are provided
2021-01-20 14:29:47 -07:00
Dominique Clarke 954c887006
[Uptime] waterfall add fallback support for uncommon mime types (#88691)
* uptime waterfall add fallback support for uncommon mime types

* update data_formatting test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 15:25:45 -05:00
Matthew Kime 1edc799894
[index patterns] improve developer docs (#86416)
* add index pattern docs
2021-01-20 14:21:38 -06:00
Jason Stoltzfus 15f05b51ff
[App Search] Wired up configurable Sort and Facets in Documents View (#88764) 2021-01-20 14:57:37 -05:00
Constance f4f6cb687c
[App Search] Add new encodePathParams helper (fixes unencoded document IDs) (#88648)
* Add encodePathParams helper to EnterpriseSearchRequestHandler

This helper accomplishes two things:

- Fixes 404s from the Enterprise Search server for user-generated IDs with special characters (e.g. ? char)

- Allows us to simplify some of our createRequest calls - no longer will we have to grab request.params to create paths, this helper will do so for us

* Update AS document route to use new helper

- This was the primary view/API I was testing to fix this bug

* Update remaining AS routes to use new helper

- shorter, saves us a few lines
+ remove unnecessary payload: params that doesn't actually validate params

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 11:07:32 -08:00
Yuliia Naumenko 8b1a228c29
[Alerting] Migrate Actions, Alerts, Stack Alerts and TriggersActionsUI plugins to TS project references (#88556)
* [Alerting] Migrate Actions plugin to TS project references

* alerts plugin ts migration

* triggers_actions_ui plugin ts migration

* fixed build

* fixed build
2021-01-20 10:53:01 -08:00
Chris Roberson c9002a25c5
[Monitoring] Convert Elasticsearch-related server files that read from _source to typescript (#88212)
* A good chunk of server-side ES changes

* CCR files

* More areas where we just pass down the source to the client

* Some more

* Fix tests

* Fix tests and types
2021-01-20 13:43:53 -05:00
Nathan Reese f0f192c654
[Maps] fix Maps should display better error message instead of EsError when there is no data for tracks data source (#88847) 2021-01-20 11:25:48 -07:00
Pierre Gayvallet edb338a8ad
Add SO import hook / warnings API (#87996)
* initial commit

* adapt client-side signatures

* more type fixes

* adapt api IT asserts

* fix some unit tests

* fix more test usages

* fix integration tests

* fix FT test assertions

* fix FT test assertions

* add FTR API integ test suite

* create the plugin_api_integration test suite

* adapt and fix flyout tests

* update documentation

* update generated doc

* add unit tests for `executeImportHooks`

* wire resolve_import_errors and add unit tests

* move hooks registration to SO type API

* update generated doc

* design integration

* update generated doc

* Add FTR tests for import warnings

* deletes plugins api integ tests

* self review

* move onImport to management definition

* update license header

* rename actionUrl to actionPath
2021-01-20 19:25:32 +01:00
Brian Seeders 466d83c6d1
[CI] [TeamCity] Enable job triggers in TeamCity (#88869) 2021-01-20 13:15:59 -05:00
Nick Partridge 2e878f59f7
Sync search query with url in advanced settings (#81829) 2021-01-20 11:29:07 -06:00
Gidi Meir Morris e21defa448
[Task Manager] Reject invalid Timeout values in Task Type Definitions (#88602)
This PR adds the following:
1. We now validate the interval passed to `timeout` when a task type definition is registered.
2. replaces usage of `Joi` with `schema-type`
2021-01-20 17:23:02 +00:00
Gidi Meir Morris 4878554cc9
[Task Manager] cancel expired tasks as part of the available workers check (#88483)
When a task expires it continues to reside in the queue until `TaskPool.cancelExpiredTasks()` is called. We call this in `TaskPool.run()`, but `run` won't get called if there is no capacity, as we gate the poller on `TaskPool.availableWorkers()` and that means that if you have as many expired tasks as you have workers - your poller will continually restart but the queue will remain full and that Task Manager is then in capable of taking on any more work. This is what caused `[Task Poller Monitor]: Observable Monitor: Hung Observable...`
2021-01-20 17:22:16 +00:00
Brian Seeders a0af6bdea6
[CI] [TeamCity] Add more default ci groups and build usage_collection plugin (#88864) 2021-01-20 12:21:11 -05:00
Dan Panzarella fd9697c813
Rename test spec file (#88842) 2021-01-20 12:20:24 -05:00
Quynh Nguyen 27c77adf60
[ML] Redesign file-based Data Visualizer (#87598) 2021-01-20 10:52:03 -06:00
Marco Liberati 86789dabb5
[Lens] Add more in-editor Advanced documentation (#86821)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Michael Marcialis <michael.marcialis@elastic.co>
2021-01-20 17:49:21 +01:00
Tim Sullivan ef40806805
[Data/Search Sessions] Management UI (#81707)
* logging and error handling in session client routes

* [Data] Background Search Session Management UI

* functional tests

* fix ci

* new functional tests

* fix fn tests

* cleanups

* cleanup

* restore test

* configurable refresh and fetch timeout

* more tests

* feedback items

* take expiresSoon field out of the interface

* move helper to common

* remove bg sessions w/find and delete

* add storybook

* fix tests

* storybook actions

* refactor expiration status calculation

* isViewable as calculated field

* refreshInterval 10s default

* list newest first

* "Type" => "App"

* remove inline view action

* in-progress status tooltip shows expire date

* move date_string to public

* fix tests

* Adds management to tsconfig refs

* removes preemptive script fix

* view action was removed

* rename the feature to Search Sessions

* Update x-pack/plugins/data_enhanced/public/search/sessions_mgmt/components/status.tsx

Co-authored-by: Liza Katz <lizka.k@gmail.com>

* Update x-pack/plugins/data_enhanced/public/search/sessions_mgmt/components/status.tsx

Co-authored-by: Liza Katz <lizka.k@gmail.com>

* add TODO

* use RedirectAppLinks

* code review and react improvements

* config

* fix test

* Fix merge

* Fix management test

* @Dosant code review

* code review

* Deleteed story

* some more code review stuffs

* fix ts

* Code review and cleanup

* Added functional tests for restoring, reloading and canceling a dashboard
Renamed search session test service

* Don't show expiration time for canceled, expired or errored sessions

* fix jest

* Moved UISession to public

* @tsullivan code review

* Fixed import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christiane Heiligers <christiane.heiligers@elastic.co>
Co-authored-by: Liza Katz <lizka.k@gmail.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2021-01-20 18:32:42 +02:00
Robert Oskamp c702b5cfe8
Skip snapshot_restore API integration tests in cloud (#88841)
This PR disables the snapshot restore API integration tests in cloud.
2021-01-20 17:30:39 +01:00
Shahzad 48cb37945a
[UX] fix impacted page load errors (#88597)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 17:24:31 +01:00
Marta Bondyra 0cd8c90a7c
[Lens] (Accessibility) Added button to execute drag and drop to workspace (#85960) 2021-01-20 17:11:37 +01:00
Nathan L Smith 5b315858a3
Instances latency distribution chart (#88546)
* Instances latency distribution chart

Create an instances row component that does the data fetching for the
instances table and the distribution chart. Use the same data for both the chart and the table.

Tooltips and selection are disabled on the chart.

* import fix

* rename ServiceOverviewInstancesRow to ServiceOverviewInstancesChartAndTable

* Updates based on feedback

* remove stuff

* hasdata
2021-01-20 10:07:13 -06:00
Marco Liberati 7297cc3b1d
[Lens] Add a11y test suite (#88623)
*  Add a11y test suite for Lens + some fixes

* 🔧 Removed unused ids

* 🐛 Fix component duplication via key prop

* :white_mark_check: Add more a11y tests

* ♻️ Restored back reorder id + fix multi layer duplicate ids

* 🐛 Fix #88806

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 16:44:59 +01:00
Pierre Gayvallet c0438ad25c
[DX] migrate core xpack plugins to tsproject ref (#88676)
* migrate cloud, beatsManagement and savedObjectTagging to TS project ref

* migrates globalSearchBar

* fix beatsManagement config

* fix beatsManagement ts

* fix beatsManagement config again

* indent.
2021-01-20 16:40:13 +01:00
Alejandro Fernández Haro ee5f560dd7
[FTR] Use new ES client instead of legacyEs service (#88720) 2021-01-20 15:30:35 +00:00
Alejandro Fernández Haro ad8589eb19
[Telemetry] Handle Promise Rejection (#88815) 2021-01-20 13:56:40 +00:00
Tiago Costa 69182a8628
chore(NA): create new x-pack cigroups and rebalancing them all (#88366)
* chore(NA): create new x-pack cigroups and rebalancing them all

* chore(NA): better cigroups balancing

* chore(NA): push rollup tests back into ciGroup1

* chore(NA): move some functional ml tests from cigroup3 into cigroup13

* chore(NA): move some more tests into ciGroup13

* chore(NA): use a single top level describe at x-pack/test/functional/apps/ml

* chore(NA): move settings into ciGroup13

* temporary test for es snapshots env

* Revert "temporary test for es snapshots env"

This reverts commit 789ebe7b9c.

* docs(NA): add missing documentation on the function tests describe split

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 13:47:08 +00:00
Tiago Costa 55d4331a2b
skip flaky suite (#88796) 2021-01-20 13:27:37 +00:00
Joe Reuter af3ea4d211
add test to switch layer from regular index to rollup index (#88651) 2021-01-20 13:37:37 +01:00
MadameSheema dd9e367ce2
[Security Solution] Cypress reorganization (#88687)
* moves tests to different folders

* cases test files renaming

* renames detection alerts test files

* renames detection rules test files

* renames exceptions test files

* splits inspect test files

* renames timeline templates file tests

* renames timelines file tests

* renames url file tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 13:25:24 +01:00
Dmitry 841655c1f7
[FTR] add custom runner and config to run load tests (#88409)
* add custom runner and config for load testing

* add full maven command

* add jenkins script

* run tests against build

* run kibana with no-base-path flag

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 13:23:10 +01:00
Walter Rafelsberger 2ec6f6c6b2
[ML] Column Charts Unit/Functional Tests (#88176)
- Unit and functional tests for the data grid mini histograms.
- canvasElement service.
2021-01-20 13:01:33 +01:00
Cauê Marcondes 7e1549d889
[APM] FTR with Cypress (#88142)
* usgin esarchive to load e2e

* using esarchive to load e2e

* using esarchive to load e2e

* using esarchive to load e2e

* using esarchive to load e2e

* chaning archiver script to copy file to both e2e and api tests

* chaning archiver script to copy file to both e2e and api tests

* removing task folder

* running e2e through script

* using cy.clock to set now

* adding basic test

* adding cypress run script

* adding cypress run script

* fixing some stuff

* excluding new e2e dir

* adding new project for new e2e dir

* adding new project for new e2e dir

* unformatting file

* adding unit tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 12:54:12 +01:00