Commit graph

796 commits

Author SHA1 Message Date
Spencer
820197602e
[plugin-helpers] remove outdated postinstall task (#66324) (#66343)
# Conflicts:
#	packages/kbn-plugin-helpers/lib/tasks.js
2020-05-13 01:52:48 -07:00
Brian Seeders
5393ac54a5
Throw error in kbn-es when no reserved users found (#65911) (#66236) 2020-05-12 12:32:12 -04:00
Spencer
e07dffb9d8
[7.6] [kbn/pm] use mtime of untracked files in bootstrap cache key (#64293) (#64606) 2020-04-27 18:21:07 -07:00
Spencer
90a1af177b
[7.6] Implement basic CI metric reporting (#64263) (#64582) 2020-04-27 18:20:26 -07:00
Brian Seeders
b030cc967d
[FTR] Add test suite metrics tracking/output (#62515) (#64000)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 15:14:31 -04:00
Dmitry Lemeshko
339ba30ecf
update chromedriver dependency to 81.0.0 (#63266) (#63289) 2020-04-11 12:20:44 +03:00
Brian Seeders
dbc5e5089c
kbn-es: Support choosing the correct architecture (#61096) (#61131) 2020-03-24 17:11:07 -04:00
Brian Seeders
6582ff435d
[FTR] Add support for --include and --exclude files via tags (#60123) (#60384) 2020-03-17 14:23:43 -04:00
Spencer
d2fcbb42ca
[7.6] [failed-test-report] if one test fails twice don't creat… (#59161)
* [failed-test-report] if one test fails twice don't create two issues

* fix type check error

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-03 11:42:52 -07:00
Brian Seeders
0ee6a05aee
[CI] Pipeline refactoring (#56447) (#59078) 2020-03-02 17:04:46 -05:00
Brandon Kobel
952589d7f0
Updating to @elastic/lodash@3.10.1-kibana4 (#54662) (#58232)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-21 09:39:42 -08:00
nickofthyme
cbcb9a4455 upgrade elastic charts with patches 2020-02-20 23:42:02 -06:00
Tiago Costa
5d37ec6905
fix(NA): support legacy plugins path in plugins (#57472) (#57531)
* fix(NA): support legacy plugins path in plugins

* chore(NA): add newly build dist
2020-02-13 04:42:39 +00:00
Tiago Costa
e097441aa2
chore(NA): use the same polyfill between the dev environment and the jest env (#57467) (#57483) 2020-02-12 20:15:01 +00:00
Tiago Costa
e1fdb21863
Fix paths for kibana packages used by plugins (#57097) (#57410)
* Fix paths for kibana packages in prepare_project_dependencies(#40858).

* Dist/index.js after yarn build.

* chore(NA): correctly include kbm pm new dist file

* Commit after cherry-pick 985c85c from recreation branch.

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Shailesh cheke <shailesh.cheke@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-12 14:42:39 +00:00
Brandon Kobel
433afb04c1
Updating to kind-of@6.0.3 (#57367) (#57379)
* Updating to kind-of@6.0.2

* Rebuilding @kbn\pm
2020-02-11 15:47:30 -08:00
Spencer
a39524c6f5 Fix compatibility with yarn 1.22.0 (#56917)
* Revert "force yarn 1.21.1 until we can handle invalid output of 1.22.0 (#56914)"

This reverts commit 5686010b46.

* move the --json argument before `workspaces` so it still works

* update kbn/pm dist

(cherry picked from commit 12de6a8459)
2020-02-05 14:20:04 -07:00
Tyler Smalley
66249b1f75
Bumps terser-webpack-plugin to 2.3.4 (#56662) (#56891)
We're seeing occasional "Error: Call retries were exceeded" exception
with Terser, which should be resolved by
abfd950620,
first included in 2.3.4

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-02-05 11:23:10 -08:00
Greg Thompson
8481b8fb62
[7.6] Upgrade EUI to v18.2.2 (#56206)
* eui to 18.2.2

* Homepage adjustment to match new icons

* Homepage adjustment to match new icons

* i18n fix

* i18n fix

Co-authored-by: dave.snider@gmail.com <dave.snider@gmail.com>
2020-01-29 09:43:02 -06:00
Brian Seeders
c540890332
Fix failing snapshot artifact tests when using env var (#56063) (#56174) 2020-01-28 16:57:48 -05:00
Ahmad Bamieh
60d1f1c1d9
Add @kbn/i18n to @kbn/ui-shared-deps (#55891) (#55930)
* Add @kbn/i18n to @kbn/ui-shared-deps

* Use string DI syntax for i18n angular modules

Co-authored-by: Josh Dover <me@joshdover.com>
2020-01-25 02:59:14 +02:00
Tiago Costa
f8426c5472
fix(NA): allow plugins index to be a ts file in kbn-plugin-helpers (#55194) (#55654)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-24 03:46:04 +00:00
Chandler Prall
20d418b61f
Upgraded EUI to 18.2.1 (#55090) (#55133) 2020-01-17 08:18:48 -07:00
Greg Thompson
e0d6407bde
[7.x] Upgrade EUI to v18.2.0 (#54786) (#54869)
* Upgrade EUI to v18.2.0 (#54786)

* 18.2.0

* ts update

* Updated `euiColorVis0`

* Update `euiColorVis1`

* Updating `euiColorVis2`

* Updated `euiColorVis3`

* Updated the rest

* Updated hard-coded viz palette hexes to latest

* src snapshot updates

* x-pack test updates

* mock jest fn

* Updated two vegalite visualization screenshots

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>

* snapshot

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2020-01-14 22:53:57 -06:00
Chandler Prall
2c66ffb3b8 [7.x] Backport/7.x/pr 54042 (#54799)
* Upgraded EUI to 18.0.0

* Fix breaks from `palette._.colors` changes

* snapshots

* Updated hard coded hex color codes in tests, fixed TS errors

* Updated a functional test's selector; added (BSD-3-Clause AND Apache-2.0) to license checker whitelist

* Functional test selector update

* Updated vega browser-ci tests for palette changes

* One more location for EUI package number update and yarn lock

* Fixed lurking [but introduced] TypeScript logic bug

* Swap a prop definition for the same value but tied closer to its source

* updates for backport

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2020-01-14 18:53:06 -05:00
Jean-Louis Leysens
bbe4fbdb79
[Console][Chore] Update spec (#54564) (#54773)
* Update spec conversion to exclude deprecated completions

* Update OSS spec

* Remove console.log

* Add skip deprecated endpoints option to script

* Actually, remove skip deprecated flag for now. Just do not include deprecated. See this issue: https://github.com/elastic/kibana/issues/48375

* x-pack: Delete data from transform completions

* Update to existing x-pack autocomplete extensions

* Added ml explain with overrides

* Added put trained model with doc override

* Added SLM get_status, start and stop with URL param overrides where needed

* Add data completion for clear scroll

* Remove include_type_name flag from indices and delete create.json override

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-14 21:00:33 +01:00
Spencer
4e52072a4f
[7.x] [kbn/ui-shared-deps] include polyfills, required by some… (#54784)
* [kbn/ui-shared-deps] include polyfills, required by some deps

* remove unnecessary dep

* replace abort-controller for server side use

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-14 12:55:29 -07:00
Josh Dover
331138237f
[7.x] Add support for workspaces in NP x-pack plugins (#53825) (#54479)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-13 10:27:02 -07:00
Spencer
02eead710d
[7.x] share specific instances of some ui packages (#54079) (#54514)
* share specific instances of some ui packages

* remove unnecessary eslint changes, every package will define deps anyway

* remove mentions of moment webpackShims in eslint resolver

* remove use of lodash

* list angular as dep for x-pack

* add operations as codeowner of shared-deps pkg

# Conflicts:
#	.github/CODEOWNERS
#	src/optimize/base_optimizer.js
#	yarn.lock
2020-01-10 20:20:18 -07:00
Joe Portner
74ebdf9b11
Add support for certificates in PKCS#12 (P12) key stores (#53810) (#54383)
Kibana now supports the usage of PKCS#12 (P12) key stores and trust stores for certificates and keys.
2020-01-09 14:47:16 -05:00
Joe Portner
f2f47ebda4
Update schemas boolean, byteSize, and duration to coerce strings (#54177) (#54299)
* Update Duration to coerce number strings to numbers (in millis)

* Coerce in a way that's consistent with kbn-config-schema

* Update ByteSizeValue to coerce strings to numbers

* Update Boolean to coerce strings to boolean values

* Fix Jest test

* Address PR review feedback

* Whoops

* Whoops 2

* Whoops 3
2020-01-08 16:08:21 -05:00
Brian Seeders
896ae06cb6
[7.x] Elasticsearch snapshots automation (#53706) (#54150) 2020-01-08 10:27:17 -05:00
patrykkopycinski
b81fc7de4c
Update eslint related packages (#54107) (#54166) 2020-01-08 05:49:06 +01:00
Spencer
8f8d08367e
[7.x] [dev/run] expose unexpected flags as more than just name… (#54178) 2020-01-07 14:52:17 -07:00
Ahmad Bamieh
25263ce091
[7.x] [Telemetry] fix bug where uiStatsMetrics is not getting… (#54072)
* fix bug where uiStatsMetrics is not getting reported

* fix tests
2020-01-07 05:22:28 +02:00
Mikhail Shustov
d7789f20d9
[7.x] Set consistent EOL symbol in core API docs (#53815) (#53977)
* Set consistent EOL symbol in core API docs

* update yarn lock

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 14:53:47 +03:00
Spencer
14d8f8a308
[7.x] [kbn/pm] add caching to bootstrap (#53622) (#53953)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

# Conflicts:
#	packages/kbn-pm/dist/index.js
2020-01-03 12:33:11 -07:00
Alejandro Fernández Haro
f3f1bd2ec6
[NP] Allow custom validations in HTTP Routes apart from @kbn/config-schema (#51919) (#53714)
* [NP] Allow custom validations in HTTP Routes apart from @kbn/config-schema

* API docs

* Allow validate function in the route handler (run-code validation)

* Prefix RouteXXX + Params and Body Validation Aliases

* Fix test broken by lodash

* Update API docs

* Add default types for simpler manual declaration

* Add run-time validation of the RouteValidateSpec

* Expose RouteValidationError instead of SchemaTypeError

* RouteValidator as a class to match config-schema interface

* Test for not-inline handler (need to check IRouter for #47047)

* Add preValidation of the input for a safer custom validation

* Better types for RouteHandlers

* [NP] Move route validation to RouteValidator wrapper

* Use the class only internally but maintain the same API

* Fix types

* Ensure RouteValidator instance in KibanaRequest.from

* Fix validator.tests (Buffer.from instead of new Buffer)

* Default precheck should allow null values

* Also allow undefined in preChecks

* MR feedback fixes

* Provide RouteValidationResolver to the validation function

* Add functional tests

* Fix new functional tests

* Fix validator additional test

* Fix test with new resolver

* Remove unused import

* Rename ValidationResolver to ValidationResultFactory and change the interface to look more like the KibanaResponseFactory

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2019-12-21 00:02:35 +00:00
Nick Partridge
87d60d351f
Shim input_control_vis for KP (#52243) (#53547)
* Shim input_control_vis
* Convert input_control_vis src files to typescript
* Add Required, Optional, Required and Class types to kbn-utility-types
* Collect all ui/* imports into legacy imports file
* Pass down plugin deps from top level
* Add timeout and terminate_after options to SearchSourceFields
2019-12-19 09:08:04 -06:00
Tim Roes
763d2f41da
Upgrade typescript-eslint to 2.12 (#53477) (#53493) 2019-12-18 17:30:38 +01:00
Spencer
fc3161b735
[7.x] associate metadata with runnables (#53245) (#53323) 2019-12-17 17:06:05 -07:00
spalger
c46a8b7ff9 Revert "[7.x] Update dependency simple-git to v1.129.0 (#53077) (#53090)"
This reverts commit a73aeeb508.
2019-12-17 12:34:46 -07:00
spalger
aa3bb0e0f5 Revert "[7.x] Update eslint related packages (#53078) (#53091)"
This reverts commit 94c580dc36.
2019-12-17 12:34:35 -07:00
spalger
fa0926510e Revert "[7.x] Update dependency execa to ^3.4.0 (#53072) (#53152)"
This reverts commit eb8a3146dc.
2019-12-17 12:32:39 -07:00
spalger
9a7f132fca Revert "[7.x] Update webpack related packages (#53082) (#53170)"
This reverts commit 60a289b8ca.
2019-12-17 12:29:50 -07:00
patrykkopycinski
e69183d9f6
[7.x] Update babel-typescript config (#53108) (#53167) 2019-12-17 11:11:03 +01:00
Spencer
60a289b8ca
[7.x] Update webpack related packages (#53082) (#53170)
* Update webpack related packages

* fix updated config flag

* update other changes css-loader config options

# Conflicts:
#	package.json
#	packages/kbn-interpreter/package.json
#	packages/kbn-ui-framework/package.json
#	x-pack/package.json
#	yarn.lock
2019-12-16 15:34:09 -07:00
Spencer
eb8a3146dc
[7.x] Update dependency execa to ^3.4.0 (#53072) (#53152)
* Update dependency execa to ^3.4.0

* update kbn/pm dist

* update kbn/pm dist again
2019-12-16 15:33:13 -07:00
spalger
3d4f1f0616 update kbn/pm dist 2019-12-16 12:13:31 -07:00
spalger
95ea6d7f88 update kbn/pm dist 2019-12-16 11:10:51 -07:00