Commit graph

26745 commits

Author SHA1 Message Date
Josh Dover 721802d456
[7.x] Update @microsoft/api-extractor + @microsoft/api-documen… (#46343) 2019-09-24 17:32:05 -05:00
Poff Poffenberger 5543a5b0a2
[Canvas] i18n ArgAddPopover component and Popover component typescript conversion (#46081) (#46510)
* Arg Add Popover to i18n and updating a bunch of popover related work to typescript

* remove ts-ignore for popover

* Addressing feedback
2019-09-24 17:19:33 -05:00
Nathan Reese 10f1d95578
[Maps] use original geometry for spatial filtering instead of geometry from mapbox feature (#46342) (#46503)
* [Maps] use original for spatial filtering instead of geometry from mapbox feature

* fix FeatureTooltip unit test
2019-09-24 14:55:33 -06:00
Nathan Reese 91895da15a
[Maps] upgrade mapbox to 1.3.1 (#46463) (#46501) 2019-09-24 14:47:33 -06:00
Larry Gregory 597602d918
Remove MLs use of internal Spaces utilities (#46366) (#46502)
* remove MLs use of internal Spaces utilities

* move logic to SpacesService for testability

* make TS happy

* Apply suggestions from code review

Co-Authored-By: Brandon Kobel <brandon.kobel@gmail.com>
2019-09-24 16:40:57 -04:00
Poff Poffenberger 8b4f179146
[Canvas] Datasource component i18n (#46194) (#46495)
* Datasource i18n

* Addressing feedback
2019-09-24 15:00:06 -05:00
Steph Milovic 9afa21ad49
[SIEM] [Cypress] Inspect tests (#45833) (#46491) 2019-09-24 13:20:44 -06:00
Lisa Cawley 1fc424bf04
Update transform API URLs (#46260) (#46487) 2019-09-24 11:47:21 -07:00
Justin Kambic 34306fc85d
[Uptime] [Blocker] Move absolute date parsing to URL params hook (#46066) (#46093)
* Move absolute date parsing to URL params hook.

* Clean up naming.

* Update code to avoid putting dynamically-computed values in URL.

* Add test for new helper function.
2019-09-24 14:30:29 -04:00
Alexey Antonov f497b6160d
Shim ui/autocomplete_providers into legacy data plugin (#46138) (#46479)
* Shim ui/autocomplete_providers into legacy data plugin

Fix: #44949

* Fix PR commnets

* fix CI

* Add comment
2019-09-24 21:17:33 +03:00
James Gowdy 3b48e336e2
[ML] Fixing new job wizards in dark mode (#46333) (#46456) 2019-09-24 18:45:37 +01:00
Mike Côté 6e2c85cf1d
Allow * for whitelistedHosts (#46384) (#46462) 2019-09-24 13:06:50 -04:00
Liza Katz 086e886d88
Move timefilter and timehistory instantiation ⇒ data plugin (#44783) (#46467)
* Create timefilter service

* Pass timehistory as a dependency to query bar

* Updated timefilter tests and mocks

* Fix jest test

* Fixed bad import path

* updated xpack test

* make history optional on query bar

* Fixed chart_utils test

* Fixed page.test by mocking timefilter

* Fixed explorer_charts_container_service test by mocking timefilter

* Fixed explorer_chart_distribution test by mocking timefilter

* Fixed explorer_chart_single_metric test by mocking timefilter

* Fixed explorer_charts_container test by mocking timefilter and removing some unneeded initialization

* Fixed explorer_swimlane tesy by mocking timefilter

* Added missing functions to uiTimefilterMock to fix top_nav test

* Fixed timeseries_chart test by mocking timefilter

* remove bad merge

* mock field formats

* mock field formats

* rename timefilter boolean getters

* fix ml mocks

* ml mocks
2019-09-24 19:59:16 +03:00
Shaunak Kashyap eb925e44e3
Removing unused icon (#46415) (#46457) 2019-09-24 08:38:47 -07:00
Spencer 194943ae1f
[7.x] Update set-value (#46417) (#46425)
* Updating some usages of set-value

* Updating snapdragon which updates transitive set-value

* update kbn/pm dist
2019-09-24 08:07:14 -07:00
Brandon Kobel 2d7f2ca9f4
Update js-yaml (#46405) (#46455)
* Updating eslint's version of eslint to 3.13.1

* Using resolutions to fix the rest, aren't fixed in minor versions
2019-09-24 08:04:22 -07:00
Brandon Kobel 4055f2363b
Updating more devDependency usages of handlebars (#46401) (#46453)
* Updating more usages of handlebars to 4.1.2

* Updating graphql-code-generator to ^0.18.2
2019-09-24 08:04:02 -07:00
Joe Reuter 91a2a1277b
[Graph] Field manager (#45384) (#46451) 2019-09-24 16:28:26 +02:00
Maryia Lapata c86e149844
RangeOption: Get rid of ts-ignore (#45902) (#46444)
* Get rid of ts-ignore

* Update range.tsx

* Refactoring
2019-09-24 16:40:16 +03:00
Justin Kambic 65217c0a98
[Logstash] Remove formatted message component in favor of i18n translate function (#45658) (#46392)
* Remove formatted message component in favor for i18n translate function.

* Update broken test snapshot.
2019-09-24 09:24:55 -04:00
Kerry Gallagher 862a3548f3
[LogsUI] Address non-blocking nature of job deletion ML API (#46040) (#46443)
* Address non-blocking nature of job deletion ML API

- Ensure we wait until jobs are actually deleted before setting up the module again

- Compose deletion functions and add utility function for getting all module jobIds

- Add io-ts types for cleanup responses

* Reorganise functions for readability

* Return the callDeleteJobs response from the overall wrapper deleteJobs function
2019-09-24 13:49:46 +01:00
Caroline Horn 2b8d0ffd86
NP Plugin for EUI-Charts theme (#45446) (#46419)
* Create a NP plugin for a EUI/Charts theme utility
Returns back the appropriate theme object based on the Kibana theme mode.
* Update new watcher chart
* Update discover chart
* Add SASS theme files
* Make getChartsTheme observable
2019-09-24 08:48:07 -04:00
Søren Louv-Jansen d7eb14729c
[APM] Update pastebin url (#46446) 2019-09-24 13:33:06 +02:00
Hendrik Muhs 0ff1be2931
[Transform] rename data-frame to transform due to upstream name change (#46337) (#46436)
* rename data-frame to transform due to upstream name change

fixes #45983
fixes #45884
fixes #46325
2019-09-24 13:31:19 +02:00
Dmitrii 810167270f
[ML] Adds missing tooltips to Anomaly Explorer swimlane labels (#46324) (#46439)
* [ML] swimlane tooltips

* [ML] x-asis tooltip offset with laneLabelWidth
2019-09-24 13:29:24 +02:00
Gidi Meir Morris 0b51e4a1b6
Introduces manual Integration Test for stress testing Task Manager (#46214) (#46396)
Introduces a disabled (enabled manually when needed) Integration Test for stress testing Task Manager.

This is used to generate baseline stats for Task manager performance which can then be rerun to compare performance oriented changes and measure their performance.
2019-09-24 04:15:57 -07:00
Walter Rafelsberger 144dd8348b
[ML] Removes EUI super date picker custom fix, it's now in EUI itself. (#45246) (#46236) 2019-09-24 02:24:11 -07:00
Dmitry Lemeshko c3009cf67a
Update geckodriver to the latest 0.25.0 release (#46309) (#46423)
* update to new geckodriver v 0.25.0

* run tests with Firefox 10x times

* Revert "run tests with Firefox 10x times"

This reverts commit dfd4358d66.
2019-09-24 10:49:45 +03:00
benskelker a3e6c95eb9
7.4 updated SIEM screenshot (#46430) 2019-09-24 10:36:53 +03:00
benskelker 78ad0195b8
[Docs] [Backport] 7.x siem advanced settings (#46428)
* Add advanced SIEM settings

* Correct description of siem:defaultIndex field
2019-09-24 09:55:34 +03:00
Spencer 6e7257aef3
[7.x] Update dependency jimp to v0.8.4 (#46198) (#46416) 2019-09-23 22:48:40 -07:00
Brandon Kobel 7d1b1b93ac
Updating eslint-utils to 1.4.2 (#46377) (#46398) 2019-09-23 17:43:22 -07:00
Tim Sullivan 4a1673e91f
[Reporting] ESQueue worker error logging fix (#46308) (#46385) 2019-09-23 15:09:17 -07:00
patrykkopycinski 702568311c
[SIEM] Refactor hosts navigation (#46118) (#46355) 2019-09-23 23:37:45 +02:00
Caroline Horn b4eba153fe
[Lens] Cleanup SASS and add linting (#46100) (#46380) 2019-09-23 17:32:08 -04:00
Stacey Gammon 817877dc8b
Typescript some of src/legacy/server/index_patterns (#44993) (#46349)
* TypeScriptify errors.js

* Fixed type errors in errors.ts

* Prettierize resolve_time_pattern.test.js

* Prettierize resolve_time_pattern.js

* TypeScriptify resolve_time_pattern.js

* Prettierize mixin.js

* Fixed errors.ts payload error.

* TypeScriptify and Prettierize mixin.ts

* Prettierize query_params.js

* TypeScriptified routes and used core.http features and fixed related tests.

* Fixed type errors.

* Removed anys

* Prettierize params.js

* Prettierize response.js

* Accepts string array as query param.

* Returns 404 when there's no matching pattern for fields_for_wildcard.

* Simplified schema.

* Fixed types.
2019-09-23 16:03:29 -04:00
Melissa Alvarez 90bf444703
[ML] Overview tab for ML (#45864) (#46372)
* show overview tab with main tabs

* wip:add overview dir with initial components

* convert and move AnalyticsTable and types to MlInMemoryTable components dir

* create analytics table for overview

* add stats bar to analytics panel

* wip: adds anomaly detection table

* adds actions column to anomaly detection table

* add stats bar to anomaly detection panel

* add max anomaly score to table

* update score display.

* add refresh button to panels

* create scss files for styles

* update functional nav tests

* fix functional test failure

* fix anomalyDetection for when there are no jobs

* add translations and update jobList types

* add maxAnomalyScore endpoint

* fix types and update tab testSub

* fix transforms use of inMemoryTable
2019-09-23 13:40:00 -06:00
Nathan L Smith 13e30097cb
[7.x] [APM] Widen filter used in logs link (#46252) (#46367)
When we link to Logs UI from a trace summary or a transaction flyout, we set the filter parameter to trace.id:"${traceId}". However, we shouldn't make the presence of the trace.id field a hard requirement. Not all users have set up their pipeline to parse the trace id from a log line, but the trace id still might be present in the message.

Widen the filter when linking to trace.id:"${traceId}" OR ${traceId} to accommodate this situation.

Fixes #45346.
2019-09-23 14:29:39 -05:00
spalger 17235feb0b increase test timeout to 60 seconds (#46320)
(cherry picked from commit 8ccc3b0557)
2019-09-23 12:28:10 -07:00
Felix Stürmer 061304376c
[7.x] [Infra + Logs UI] Handle absence of the spaces plugin (#… (#46344)
Backports the following commits to 7.x:
 - [Infra + Logs UI] Handle absence of the spaces plugin (#46241)
2019-09-23 19:45:01 +02:00
Søren Louv-Jansen 0fa6ed315b
[APM] Minimal e2e setup with Cypress (#43463) (#46338)
* APM E2E with own package.json

* Ignore cypress folder

* Add cypress/apm as separate ts project

* Exclude from parent tsconfig

* Add p-limit as dep

* Fix readme

* Fix prettier command

* Resolve feedback

* Move date range into `loginAndWaitForPage`

* Remove redundant file

* Fixed lint errors

* Remove uneeded `data-cy` attributes

* Fix snapshots

# Conflicts:
#	x-pack/legacy/plugins/apm/readme.md
2019-09-23 19:17:50 +02:00
WangQianliang 81bc4f3e67 [Code] Re-enable part of Code functional tests (#45118) (#46117)
* fix(code/frontend): fix and enable code functional test
2019-09-23 08:59:17 -07:00
Stacey Gammon f5f121a80c
[7.x] Move actions to NP (#44707) (#46098)
* Move actions to NP (#44707)

* move actions to np

* fix jest and types

* Remove unused Action import
2019-09-23 11:50:52 -04:00
Søren Louv-Jansen b9a38427f1
[APM] Add API test for agent configuration (#46316) (#46335) 2019-09-23 16:18:25 +02:00
Nate Archer 2ae67293c1
[Code][Docs]: Hide Ctags documentation (#46266) (#46284)
* [DOCS] Fix beta tag in Code Docs

* Hide Ctag documentation
2019-09-23 09:15:10 -05:00
Joe Reuter 0069db1b8b
fix graph saving (#46243) (#46326) 2019-09-23 15:19:55 +02:00
Mike Côté 979fd4686e
Add alerting route to update API key (#45925) (#46274)
* Add route to update alert api key

* Allow updating an API key when the alert is disabled

* Fix typecheck failures

* Fix broken file references
2019-09-23 09:02:50 -04:00
Gil Raphaelli 9a11739fdf
whitelist code docker env settings (#46151) (#46265) 2019-09-23 08:46:05 -04:00
Daniil Suleiman a8d24da670
Fix gauge type selection (#45783) (#46327)
* Fix gauge type selection

* Get rid of angles in config
2019-09-23 15:25:11 +03:00
Zacqary Adam Xeper a7babe4b8d
[Logs UI] Improve live streaming behavior when scrolling (#44923) (#45208)
* [Logs UI] Stop live streaming on scroll or minimap click

* Silently pause streaming on scroll up

* Fix type checking

* Fix type check again

* Fix i18n
2019-09-23 10:23:04 +02:00