Brian Seeders
020a8ee7dd
Revert "Display Kibana overall status in the logs and have FTR wait for green status before running tests ( #92568 )" ( #93855 )
...
This reverts commit d53894aa5a
.
2021-03-05 21:02:52 -05:00
Stacey Gammon
cecdcc538e
API docs clean up ( #93508 )
...
* Fix links to github
* Fix links to github
* Update docs to latest
* Sort, remove unneccessary path info, reduce tags
* Go back to having DocDef create the link to avoid backport conflicts
* update api docs
2021-03-05 20:12:28 -05:00
Mike Côté
23ce8dcfdb
Rename alerts plugin to alerting ( #92898 )
...
* Rename alerts plugin to alerting
* Deprecate old config values
* Few more renames
* Update plugin list
* Rename xpack.alerts -> xpack.alerting
* Fix some ESLint rules
* Fix typecheck
* Fix some test failures
* Some more renames
* Fix ESLint
* Fix some test failures
* Fix failing jest test
* Undo exclusive test
* Fix APM deps
* Fix docs
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-05 13:59:34 -05:00
Pierre Gayvallet
d53894aa5a
Display Kibana overall status in the logs and have FTR wait for green status before running tests ( #92568 )
...
* add licensing plugin status
* simplify log message
* review comments
2021-03-05 09:55:14 +01:00
Anton Dosov
fe1ae92957
Fix wrong import in data plugin causing 100kB bundle increase ( #93448 )
2021-03-04 05:42:36 -05:00
Tiago Costa
86f1684076
chore(NA): manage npm dependencies within bazel ( #92864 )
...
* chore(NA): full WORKSPACE.bazel logic plus manage yarn dependencies with Bazel
* chore(NA): update BUILD.bazel files comments on root and packages
* chore(NA): add workspace file with useful data
* chore(NA): install deps through bazel
* chore(NA): update workspace file
* chore(NA): update into last rules nodejs
* chore(NA): ensure bazel always run yarn install
* chore(NA): support offline mode
* chore(NA): remove elastic-datemath
* chore(NA): restore bazel 4.0.0
* chore(NA): update kbn pm dist
* chore(NA): introduce force-install command
* docs(NA): update docs with new yarn kbn bootstrap flags
* chore(NA): use path.resolve on kbn bootstrap integrity check verification
* chore(NA): update .yarnrc
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): change cli argument typo
* chore(NA): fix spacing on kbn pm cli
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-03-03 12:37:20 -05:00
Mikhail Shustov
f5e8b108da
Attempt to reduce Core bundle size with type exports. ( #92221 )
...
* compile core files as isolated modules
* fix export problems for isolated modules
* apply changes to kbn-test as core imports from it
* fix some exports
* fix lint errors
* update new exports
* fix eslint error
* expand export * where it is possible
* update docs
* update docs
* fix eslint error
2021-03-03 17:21:49 +01:00
Spencer
529624d872
[kbn/optimizer/node] use shorter cache keys to avoid overflowing limit ( #93316 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-03 08:32:25 -06:00
Thomas Watson
3745fc83c0
Consolidate @babel/* packages and use latest compatible version ( #93264 )
2021-03-03 09:04:13 +01:00
Tyler Smalley
b8ab42dcd9
[CI] No longer collect APM span stack traces ( #93263 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-03-03 07:57:03 +01:00
Stacey Gammon
87a5b22626
API DOCS Step 3/3 ( #92929 )
...
* update api_docs from gitignore
* api doc files
* Update api_welcome.mdx
* Pretty print json
* Add new lines and extra frontmatter to warn github viewers
* update api_docs with new lines and frontmatter
* Remove all apis tagged @internal and add tests
* Update docs with all internal APIs removed
* fix typescript error in test fixtures
* Update core.json
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 22:02:17 -05:00
Tiago Costa
a36b64e7a8
chore(NA): look for bazel packages on npm_module folder during distributable build ( #93262 )
2021-03-03 02:09:36 +00:00
Spencer
57a860ddb0
[kbn/optimizer] allow customizing the limits path from the script ( #93153 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 18:29:54 -07:00
Tiago Costa
9d1df3f6f4
chore(NA): do not include fs within a storybook build ( #93294 )
2021-03-02 16:56:02 -05:00
Stacey Gammon
8bcec14727
update plugin list ( #93259 )
2021-03-02 14:00:32 -05:00
Christiane (Tina) Heiligers
d230720e2d
[Usage Collection] Supports field descriptions as meta data ( #92701 )
...
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 13:34:13 -05:00
Luke Elmers
81348b8693
[core.logging] Fix calculating payload bytes for arrays and zlib streams. ( #92100 )
2021-03-02 13:21:39 -05:00
Stacey Gammon
3df61f7602
API docs ( #92827 )
2021-02-25 18:36:47 -05:00
Spencer
0aabc317ec
[kbn/test] add import/export support to KbnClient ( #92526 )
...
Co-authored-by: Tre' Seymour <wayne.seymour@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-25 16:13:27 -07:00
spalger
6dc27348ad
add dep on @kbn/config
so it is built first
2021-02-25 01:53:37 -07:00
Stacey Gammon
deb555a552
Automatically generated Api documentation ( #86232 )
...
* auto generated mdx api doc system
* Fix README.md
* update core api docs after master merge
* clean up signature
* Update packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts
Co-authored-by: Spencer <email@spalger.com>
* migrate to docs-util package
* Remove bad links
* fix ref to release-notes and add extra dats service folder
* update name change
* Update packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_type_kind.ts
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
* Update packages/kbn-docs-utils/src/api_docs/utils.ts
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
* review updates 1
* review feedback updates round 1
* Small refactor of extractImportReferences
* Review feedback updates 2
* Review update 3 plus support for links in class interface heritage clause
* debug failing test on ci only
* Escape regex directory path
* Update packages/kbn-docs-utils/src/api_docs/build_api_declarations/utils.ts
Co-authored-by: Spencer <email@spalger.com>
* fix for commit suggestion
Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
Co-authored-by: kobelb <brandon.kobel@elastic.co>
2021-02-24 19:23:19 -05:00
Luke Elmers
0280d5a92b
[core.logging] Add RewriteAppender for filtering LogMeta. ( #91492 )
2021-02-24 17:25:34 -05:00
Tiago Costa
ae6a18da32
chore(NA): add missing files to exclude when building bazel prod packages ( #92506 )
...
* chore(NA): add missing bazel files to exclude when building prod bazel packages
* chore(NA): use globs to support all future run targets
2021-02-24 02:05:38 +00:00
Spencer
a88106cc8b
[esArchiver] pass x-elastic-product-origin header to ES ( #91566 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 12:26:36 -07:00
Alejandro Fernández Haro
b1bbe16aae
Add @kbn/analytics
to the dependencies in @kbn/ui-shared-deps
( #92202 )
2021-02-22 12:24:56 -05:00
Rudolf Meijering
42b814e123
Speed up spaces tests by letting v2 migrations do less work ( #91829 )
...
* Don't mess with v2 migration's index
* Speed up spaces tests by letting v2 migrations do less work
* Add disabled mapping for spaces so that plugin can be disabled
* Add security as codeowners of xpack saved object api integration suite
2021-02-22 08:44:41 -05:00
Alejandro Fernández Haro
fb2f6abed2
Add @kbn/analytics
to UI Shared Deps ( #91810 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 13:59:03 -05:00
Alejandro Fernández Gómez
4d34a13bab
[Logs UI] Replace dependencies in the infra bundle ( #91503 )
2021-02-19 09:06:33 -05:00
Brian Seeders
03206b688a
[CI] Build and publish storybooks ( #87701 )
2021-02-18 14:13:23 -05:00
Sébastien Loix
eddf1c94b1
Index pattern field editor ( #88995 )
...
Index pattern field editor
2021-02-18 12:00:43 -06:00
Mikhail Shustov
312351c52c
Unify Kibana & Elasticsearch logging config keys ( #90764 )
...
* align logging config with ES. rename kind to type.
* rename file "path" to "fileName"
* rename logger "context" to "name"
* update audit log docs and tests
* update docs
* fix integration tests
* update deprecations for audit appender
* add tests for audit logging deprecations
* fix eslint problem
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 20:27:25 +01:00
Spencer
9d8376d890
ship @kbn/ui-shared-deps metrics in separate step ( #91504 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-16 11:42:26 -07:00
Tiago Costa
86e035544e
chore(NA): assure bazel bin is available on kbn clean and reset commands ( #91406 )
2021-02-16 14:50:33 +00:00
Dario Gieselaar
a28318e516
[APM] Add custom spans around async operations ( #90403 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-12 19:34:44 +01:00
Spencer
afed310b82
[ts/build-refs] implement experimental remote cache ( #91012 )
...
* [ts/build-refs] implement experimental remote cache
* delete old tests
* add some more tests
* add some docs and a readme
* fix kibanaPackageJson usage
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-12 01:56:21 -07:00
Mikhail Shustov
a1490d46f4
TS config cleanup ( #90492 )
...
* exclude all the plugins from src/plugins
* move all the used fixtures to discover
* remove src/fixtures alias
* remove unused fixtures
* cleanup x-pack/tsconfig.json
* dont compile apm/scripts
* fix tests
* dont include infra in xpack/tsconfig.json
* update list of includes
2021-02-11 12:34:25 -05:00
Alexey Antonov
aa468c1d56
[Timelion] Communicate the index pattern to the dashboard ( #90623 )
...
* [Timelion] Communicate the index pattern to the dashboard
Closes #86418
* update types / limits.yml
* Update timelion_vis_type.tsx
* fix typo
* remove extra await
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 14:24:08 +03:00
Pierre Gayvallet
570dcc07b5
Implement custom global header banner ( #87438 )
...
* first draft
* update plugin list
* fix tsproject
* update bundle limits file
* remove unused start dep
* adapt imports
* POC of footer banner
* update styles, mostly
* plug banner to uiSettings
* adding some unit tests
* add tests on sort_fields
* cleanup sums in sass mixins
* some self review stuff
* update generated doc
* add tests for color field
* update chrome header test snapshots
* retrieve license info from the server
* switch from uiSettings to plugin config
* update plugin list description
* update default colors
* NIT
* add markdown support
* fix banner overlap in fullscreen mode
* change banner height to 32px
* change banner's font size to 14
* delete unused uiSettings
2021-02-11 10:12:24 +01:00
Tiago Costa
9fe8ccce47
chore(NA): move the instruction to remove yarn global bazelisk package into the first place on install bazel tools ( #91026 )
2021-02-10 22:40:21 +00:00
Uladzislau Lasitsa
4c878be613
Bump "monaco-editor" and "react-monaco-editor" to latest versions ( #90158 )
...
* Update version of react-monaco-editor and monaco-editor libraries
* Fix yarn lock file
* Fix CI
* Fix unit tests
* Fix CI
* Fix comment
* move monaco instance in window.MonacoEnvironment
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 23:05:46 +03:00
Nathan Reese
1ba7d7af9a
[Maps] remove maps_file_upload plugin and fold public folder into file_upload plugin ( #90292 )
...
* get geojson working with api/file_upload/import
* remove maps_file_upload server code
* remove common folder
* remove maps_file_upload plugin
* fix tsconfig paths
* rename file_upload plugin in maps tsconfig
* fix file path
* node scripts/build_plugin_list_docs
* fix webpack compile errors
* telemetry schema cleanup, i18n cleanup, limits cleanup
* remove mapsFileUpload from limits.yml
* remove index pattern link test case
* update telemetry/v2/clusters/_stats for new file_upload path
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 17:31:57 -07:00
Spencer
4bab95229d
[dev-utils/ci-stats] support disabling ship errors ( #90851 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-09 19:09:02 -05:00
Tyler Smalley
08c08e88d9
[CI] Combines Jest unit tests ( #89948 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-02-09 10:08:46 -08:00
Wylie Conlon
3cb04fc6d0
Expand Tinymath grammar, including named arguments ( #89795 )
...
* Expand Tinymath grammar, including named arguments
* Add tsconfig project
* Fix tests
* Allow named arguments with numeric types
* Remove dashes from named argument validation
* Fix license header
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 10:46:07 -05:00
Mikhail Shustov
82d1672e79
[Core] add timeout for "stop" lifecycle ( #90432 )
...
* add timeout for stop lifecycle
* add timeout for stop lifecycle
* update message
* cleanup timeout to remove async tasks
2021-02-09 15:38:35 +01:00
Uladzislau Lasitsa
cbe5f0d9ca
Add folding in kb-monaco and update some viewers ( #90152 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 11:30:54 +03:00
Spencer
3ef3e9324f
[dev-utils/ship-ci-stats] fail when CI stats is down ( #90678 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-08 17:46:57 -05:00
Tyler Smalley
b39ad86b5d
Use default ES distribution for functional tests ( #88737 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-08 14:23:10 -08:00
Spencer
a0ce7b5aa8
[kbn/optimizer][ci-stats] ship metrics separate from build ( #90482 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-08 10:47:55 -07:00
Pierre Gayvallet
3b3327dbc3
Migrate most plugins to synchronous lifecycle ( #89562 )
...
* first pass
* migrate more plugins
* migrate yet more plugins
* more oss plugins
* fix test file
* change Plugin signature on the client-side too
* fix test types
* migrate OSS client-side plugins
* migrate OSS client-side test plugins
* migrate xpack client-side plugins
* revert fix attempt on fleet plugin
* fix presentation start signature
* fix yet another signature
* add warnings for server-side async plugins in dev mode
* remove unused import
* fix isPromise
* Add client-side deprecations
* update migration examples
* update generated doc
* fix xpack unit tests
* nit
* (will be reverted) explicitly await for license to be ready in the auth hook
* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"
This reverts commit fdf73feb
* restore await on on promise contracts
* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"
This reverts commit fdf73feb
* Revert "restore await on on promise contracts"
This reverts commit c5f2fe51
* add delay before starting tests in FTR
* update deprecation ts doc
* add explicit contract for monitoring setup
* migrate monitoring plugin to sync
* change plugin timeout to 10sec
* use delay instead of silence
2021-02-08 10:19:54 +01:00