Commit graph

32269 commits

Author SHA1 Message Date
Ahmad Bamieh
ed5dd0a325
[Telemetry] use prod keys (#63263) 2020-04-10 22:18:11 +03:00
CJ Cenizal
8a283de3c5
Correctly type ILM's optional dependencies as optional (#63255)
And guard against their absence.
2020-04-10 12:05:20 -07:00
Ryland Herrick
d8a295dcbc
[SIEM] Link ML Rule card CTA to license_management (#63210)
* Link ML Rule card CTA to license_management

Taking the user directly to the license management page within kibana
(where they could immediately start a trial subscription) is much more
actionable than taking them to the subscriptions marketing page.

* Revert translation key change

Neither of these is totally accurate, and there've already been
translations written for the old one.
2020-04-10 14:00:11 -05:00
Tim Sullivan
aed5253b53
[Reporting] convert all server unit tests to TypeScript (#62873)
* [Reporting] convert all server unit tests to TypeScript

* fix ts

* revert unrelated change
2020-04-10 09:57:59 -07:00
Brent Kimmel
9d2ecc7c06
Resolver/node svg 2 html (#62958)
* Remove some SVG in Resolver nodes and replace with HTML
2020-04-10 12:38:26 -04:00
Wylie Conlon
f96f928e69
[Lens] Fix error in query from generated suggestion (#63018)
* [Lens] Fix error in query from generated suggestion

* Update from review comments

* Fix test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-10 12:29:26 -04:00
Robert Austin
d5d610f168
Endpoint: Remove unused lib module (#63248) 2020-04-10 12:19:29 -04:00
Steph Milovic
55a3cc4583
[SIEM] [Cases] Unit tests for case UI components (#63005) 2020-04-10 09:55:38 -06:00
Brian Seeders
36acb37387
Make uptime alert flyout test a little more resilient (#62702) 2020-04-10 11:18:12 -04:00
DianaDerevyankina
ed975d0169
Move shared vislib components into Charts plugin (#62957)
* Closes #56310

Move shared vislib components into Charts plugin

* Fixed imports in tests

* Changed i18n IDs to match charts namespace

* Renamed ColorSchemaVislibParams to ColorSchemaParams, added enums and got rid of useValidation function

* Renamed ColorSchemaVislibParams to ColorSchemaParams and got rid of useValidation function

* Fixed merge conflict

* Replaced enums with objects again
2020-04-10 17:59:50 +03:00
Nathan L Smith
e8491adbab
Use globe icon for "ext" span type on service map (#63205)
Both "external" and "ext" can be returned and should have the same icon.
2020-04-10 09:04:17 -05:00
Cauê Marcondes
77d22f55d9
[APM] Agent config select box doesn't work on IE (#63236)
* adding value property to select options

* fixing test
2020-04-10 14:54:48 +02:00
Jean-Louis Leysens
d662cb5f45
[ESUI] Move XJson Mode to src/plugins/es_ui_shared (#62758)
* Move XJson to x-pack/es_ui_shared

Also convert files to TS and clean up use of @ts-ignore

* Move console_lang to public

* Proper use of mocks

* Globally mock out .ace.worker.js modules

Having worker code exported in `public` of es_ui_shared poisoned
a lot of Jest tests with the need to mock out the ace worker.

Instead of adding mocks everywhere we handle the importing in
Jest by adding an entry to module mapper.

* Remove manual imports of mocks

* Delete es_ui_shared/public/mocks for now

* Put useXJson code in single place

* Import and instantiate xJsonMode

* Remove language mocks imports

Besides the fact that these paths are wrong these are no longer
needed because we mock at use Jest module mapper

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-10 12:58:18 +02:00
Jean-Louis Leysens
93971dbfab
[Watcher] Preserve the watch active status after updates (#61999)
* Preserve the watch active status after updates

* Use route validation params to set isActive

* Fix Jest test

* Implement PR feedback

- Make the isActive flag required on the save watch endpoint
- Move the isActive state to base_watch and serialize from
  there.

* Fix Jest tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-10 12:28:55 +02:00
MadameSheema
34b1d0a10d
[SIEM] Updates cypress readme with documentation about the test data. (#62747)
* updates test data section

* Update x-pack/legacy/plugins/siem/cypress/README.md

Co-Authored-By: Ryland Herrick <ryalnd@gmail.com>

Co-authored-by: Ryland Herrick <ryalnd@gmail.com>
2020-04-10 11:28:59 +02:00
Cauê Marcondes
83b9417d45
[APM] Custom links submit button is off screen in IE11 (#63122) 2020-04-10 09:28:06 +02:00
Joe Portner
97d1685c3d
Sharing saved-objects phase 1 (#54605)
Co-authored-by: kobelb <brandon.kobel@elastic.co>
2020-04-09 23:18:18 -04:00
Dmitry Lemeshko
330956ec1a
Code coverage: fix missing coverage after merging oss & x-pack data (#63178)
* update nyc & istanbul-babel deps

* update index.js in kbn-pm

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-10 02:55:28 +03:00
CJ Cenizal
982c0da78e
Move ILM out of legacy (#61915)
* Rename IndexMgmtSetup to IndexManagementPluginSetup.
* Remove unused fetch index template route and related tests.
* Remove unnecessary custom styles.
2020-04-09 16:51:22 -07:00
Marco Vettorello
93b34632c0
[TSVB] Fix wrongly display stacked as percentage charts (#62654)
Update to  elastic-charts 18.2.2 with the valid 0% rendering
2020-04-09 23:53:47 +02:00
Aaron Caldwell
bc8c4a754d
[File upload] Change 'file_upload' id and refs to 'fileUpload' (#63000) 2020-04-09 15:43:07 -06:00
Frank Hassanabad
834306458a
Fixes a needed import that was coming from APM but now isolates things better for optimization import builds
## Summary

Adds a single line to work with ts config optimizers. What is happening is that this is relying on an import from here:

```
x-pack/legacy/plugins/apm/public/utils/testHelpers.tsx
```

when really it should be isolated and imported within this file.

Testing is just to go to siem and run these commands:

```ts
cd /projects/kibana
node x-pack/legacy/plugins/siem/scripts/optimize_tsconfig.js
node scripts/type_check.js --project x-pack/tsconfig.json
```

Ensure you don't see any errors.
2020-04-09 13:52:02 -06:00
Tim Schnell
783e3c17a9
ignore some things for code coverage (#62701)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-09 14:32:24 -05:00
Brian Seeders
e61680571a
Ensure alerting action exists in connectors test setup (#62511) 2020-04-09 15:05:21 -04:00
Brian Seeders
b8738b0eeb
Ensure that discover data exists for home/_navigation test so that the test suite can run in isolation (#62516) 2020-04-09 15:05:09 -04:00
Chris Cowan
087df82452
[TSVB] Add Positive Rate to Aggregations (#59843)
* [TSVB] Add Rate to Aggregations

* Fixing i18n labels

* Changing from rate to growth_rate; adding message to aggregation form;

* Change units to scale; change free text to combobox

* Fixing placeholder

* Fixing i18n label

* Changing from Growth Rate to Positive Rate

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-09 11:48:56 -07:00
gchaps
9fd63a7daa
[DOCS] Adds docs for Painless Lab (#62997)
* [DOCS] Adds docs for Painless Lab

* [DOCS] Incorporated review comments
2020-04-09 11:31:19 -07:00
Christos Nasikas
38f7bfb133
[SIEM][CASE] Test configuration API and hooks (#62803)
* Test API

* Test useConnectors

* Test useConfigure

* Fixes
2020-04-09 21:26:13 +03:00
Joel Griffith
2574d0f805
Adds a new config flag to encode with BOM for our CSVs (#63006)
* Adds a new config flag to encode with BOM for our CSVs

* Push out bom-chars to it's own constant

* Getting those snapshots back into shape 💪

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-09 11:01:25 -07:00
spalger
bc3f382883 skip flaky suite (#62927) 2020-04-09 10:47:42 -07:00
Kaarina Tungseth
59c044ff00
[DOCS] Removed references to right (#62508) 2020-04-09 12:42:30 -05:00
Jen Huang
b73fe279d6
[EPM] Update UI copy to use integration (#63077)
* Update epm copy to say Integrations

* Update copy in create data source flow

* Update copy in data sources table

* Fix missed copies

* Remove unused translation keys (they were renamed & strings were changed)
2020-04-09 09:44:33 -07:00
Maryia Lapata
dfea62187f
[NP] Inline buildPointSeriesData and buildHierarchicalData dependencies (#61575)
* Move buildHierarchicalData to vislib

* Move shortened version of buildPointSeriesData to Discover

* Move buildPointSeriesData to vis_type_vislib

* Convert unit tests to jest

* Remove ui/agg_response

* Convert point_series files to TS

* Update TS in unit tests

* Convert buildHierarchicalData to TS

* Convert buildPointSeriesData to TS in Discover

* Clean TS in Discover

* Update TS for buildHierarchicalData

* Update buildHierarchicalData unit tests

* Clean up TS in point_series

* Add unit tests fro response_handler.js

* Simplify point_series for Discover

* Return array for data

* Add check for empty row

* Simplify point_series for Discover

* Return all points

* Specify TS

* Refactoring

* Simplifying

* improve types

* Update _get_point.test.ts

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2020-04-09 18:56:36 +03:00
Nathan Reese
0dd89e388d
[Maps] create NOT EXISTS filter for tooltip property with no value (#62849)
* [Maps] create NOT EXISTS filter for tooltip property with no value

* review feedback
2020-04-09 09:56:11 -06:00
Paul Tavares
5e1c0be501
[Endpoint] Add link to Logs UI to the Host Details view (#62852)
* Add LinktoApp to host details for logs

* initial setup for testing link on details

* Export interface AppContextTestRender for reference in tests

* Refactor hosts tests to use AppContextTestRender

* Render full details and validate link to logs

* one more test to ensure we navigate to app (not full page refresh)

* Fixes post master merge
2020-04-09 11:56:03 -04:00
gchaps
13fe738b2a
[UI COPY] Fixes typo in max_shingle_size for search_as_you_type (#63071) 2020-04-09 08:55:29 -07:00
Brandon Morelli
fddf6cbee5
[APM] docs: add alerting examples for APM (#62864) 2020-04-09 08:52:06 -07:00
Sandra Gonzales
a0c247b9cc
[EPM] Change PACKAGES_SAVED_OBJECT_TYPE id (#62818)
* changed PACKAGES_SAVED_OBJECT_TYPE id from packageName-version to packageName

* change references to keys to package and version

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-09 11:42:10 -04:00
Brandon Morelli
6985478a32
docs: fix rendering of bulleted list (#62855) 2020-04-09 08:22:00 -07:00
Yuliia Naumenko
80384c3209
Exposed AddMessageVariables as separate component (#63007)
* Exposed AddMessageVariables as separate component and added styles to allow to handle bigger list of messageVariables

* Fixed failing tests and styles

* Fixed due to comments
2020-04-09 07:50:11 -07:00
Brandon Kobel
90d2b18bc5
Add Data - Adding cloud reset password link to cloud instructions (#62835)
* Adding cloud reset password link to cloud filebeat instructions

* Auditbeat gets the cool reset password link

* And the other beats instructions get the awesome password reset link

* Changing the i18n id to more closely match the on-prem cloud id

* Changing text for forgot password

* Removing now unused translations

* "Forgot your password" -> "Forgot the password"

* "Elastic Cloud UI" -> "Elastic Cloud"

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-09 07:43:36 -07:00
Melissa Alvarez
f9ba963af9
[ML] DF Analytics: update memory estimate after adding exclude fields (#62850)
* update mml estimate when excludes changes

* ensure manually input mml is validated once estimated mml loads
2020-04-09 10:33:55 -04:00
Daniil Suleiman
abe3ccf1cc
[Table Vis] Fix visualization overflow (#62630)
* Fix data table vis overflowing

* Change overflow to hidden
2020-04-09 17:00:45 +03:00
Jonathan Buttner
6b5cbd562f
[Endpoint][EPM] Endpoint depending on ingest manager to initialize (#62871)
* Endpoint successfully depending on ingest manager to initialize

* Moving the endpoint functional tests to their own directory to avoid enabling ingest in the base tests

* Removing page objects and other endpoint fields from base functional

* Updating code owners with new functional location

* Pointing resolver tests at endpoint functional tests

* Pointing space tests at the endpoint functional directory

* Adding jest test names
2020-04-09 09:41:38 -04:00
Alison Goryachev
883af70089
[Remote clusters] Fix flaky jest tests (#58768) 2020-04-09 09:39:33 -04:00
Matthias Wilhelm
2a1c8d8de4
[Discover] Hide time picker when an indexpattern without timefield is selected (#62134)
* Assign valid value whether the timepicker should be displayed

* Add functional tests
2020-04-09 14:30:21 +02:00
Joe Reuter
8d21b6b6f3
Move search source parsing and serializing to data (#59919) 2020-04-09 14:06:01 +02:00
Robert Oskamp
530732c9dd
[ML] Functional tests - stabilize typing in mml input (#63091)
This PR wraps the model memory value setting during anomaly detection wizards in a retry.
2020-04-09 14:03:44 +02:00
Uladzislau Lasitsa
7ec635798c
[data.search.aggs]: Clean up TimeBuckets implementation (#62123)
* Created tests for time_buckets. Clean up code. Removed getConfig method.

* Fixed comments

* Fixed comments (2)

* Fixes

* Removed __cached__

* Fixes for comments

* some refactoring

* Fixed comment about config

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-09 13:39:14 +03:00
Robert Oskamp
7b0e9d00aa
[ML] Functional transform tests - stabilize source selection (#63087)
This PR adds a retry to the transform source selection service method for functional tests.
2020-04-09 11:43:51 +02:00