Commit graph

32 commits

Author SHA1 Message Date
Kibana Machine 678b825df9
Bump hapi related dependencies (#112723) (#113020)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-23 16:09:34 -04:00
Luke Elmers ef8518d432
[7.x] Log deprecation warnings for plugins which won't be disable-able in 8.0 (#112602) (#112728) 2021-09-22 16:16:42 -04:00
Tyler Smalley c16480e849
[7.x][DX] Upgrade prettier to v2.4.0 (#112359) (#112524)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:46 -07:00
Kibana Machine 7336717d61
chore(NA): replace babel config files by inline presets by default in the jsts_transpiler rule (#110620) (#111217)
* chore(NA): replace babel config files by inline presets by default in the js_ts_transpiler rule

* chore(NA): update @kbn/ace build to exclude worker file

* chore(NA): remove config file support

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-09-03 18:41:32 -04:00
Kibana Machine d9232d495b
chore(NA): moving @kbn/legacy-logging to babel transpiler (#108703) (#109001)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-17 23:53:06 +00:00
Spencer 79e45f2190
[build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139)
* [build_ts_refs] improve caches, allow building a subset of projects

* cleanup project def script and update refs in type check script

* rename browser_bazel config to avoid kebab-case

* remove execInProjects() helper

* list references for tsconfig.types.json for api-extractor workload

* disable composite features of tsconfig.types.json for api-extractor

* set declaration: true to avoid weird debug error

* fix jest tests

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	.gitignore
#	examples/hello_world/tsconfig.json
#	tsconfig.json
#	tsconfig.refs.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-11 05:08:54 -04:00
Kibana Machine 2436b76637
chore(NA): include missing dependency on @kbn/legacy-logging (#101331) (#101395)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-06-04 12:52:23 -04:00
Kibana Machine c635144ebe
chore(NA): correctly setup dep order on js_library to fix windows build (#100420) (#100428)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-20 20:57:21 -04:00
Kibana Machine 64313ba5ec
fix-typo: Use of than instead of then (#100030) (#100093)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-05-13 23:35:58 +00:00
Kibana Machine 719b380d5e
[packages] Move @kbn/legacy-logging to Bazel (#98810) (#98973)
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-05-01 00:28:46 +00:00
Kibana Machine 673c0c647f
chore(NA): chore(NA): moving @kbn/utils into bazel (#97833) (#98056)
* chore(NA): chore(NA): moving @kbn/utils into bazel

* chore(NA): run kbn-test integration test with preserve-symlinks

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-04-22 20:25:53 +00:00
Kibana Machine 769b632901
chore(NA): moving @kbn/config-schema into bazel (#96273) (#97115)
* chore(NA): moving @kbn/config-schema into bazel

* chore(NA): correctly format packages for the new bazel standards

* chore(NA): correctly maps srcs into source_files

* chore(NA): remove config-schema dep from legacy built packages package.jsons

* chore(NA): include kbn/config-schema in the list of bazel packages to be built

* chore(NA): change import to fix typechecking

* chore(NA): remove dependency on new package built by bazel

* chore(NA): be more explicit about incremental setting

* chore(NA): include pretty in the args for ts_project rule

* docs(NA): include package migration completion in the developer getting started

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-04-14 11:45:59 -04:00
Pierre Gayvallet 248390f779
[7.x] Remove /src/legacy (#95510) (#96283)
* Remove /src/legacy (#95510)

* starting removing stuff

* fix jest config

* disable CLI mode until other PR is merged

* fix the schema

* add deprecation for maxPayloadBytes

* fix legacy start logic

* deletes `env` from unknown args

* fix FTR test config

* some legacy service deletion

* move config validation

* remove legacy exports from entrypoint

* preserve legacy logging in core logging config

* try to fix uiSettings integration tests

* fix legacy service tests

* more type fix

* use fromRoot from @kbn/utils

* cleanup kibana.d.ts

* fix unit tests

* remove src/core/server/utils

* fix server script

* add integration test for `/{path*}` route

* add unit tests on legacy config

* adapt uiSetting IT bis

* fix tests

* update generated doc

* address some review comments

* move review comments

* fix some stuff

* fix some stuff

* fix some stuff

* fix some stuff bis

* generated doc

* add test for ensureValidConfiguration
# Conflicts:
#	.github/CODEOWNERS
#	src/cli_plugin/install/core_plugins/kibana/public/context/query_parameters/state.js
#	src/core/server/http/http_config.ts
#	x-pack/test/functional/config.js

* codestyle
2021-04-06 06:08:31 -04:00
Tiago Costa 69bec3f49f
chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) (#95884)
* chore(NA): move elastic-datemath into a ts package

* chore(NA): finish elastic-datemath

* chore(NA): finish elastic-datemath

* chore(NA): source folder for elastic-datemath

* chore(NA): add source-maps ace, analytics, apm-config-loader and apm-utils packages

* chore(NA): add sourcemaps to packages on typescript

* chore(NA): move test fixtures within source

* chore(NA): correct exclusions on packages

* chore(NA): correct package.json on all packages

* chore(NA): correct package.json on all packages

* chore(NA): complete kbn pm

* chore(NA): default export on elastic-datemath

* chore(NA): include logs on kbn-logging

* chore(NA): update bundle ref module to last code used in the webpack upstream

* chore(NA): update bundle ref module to last code used in the webpack upstream - refactored

* chore(NA): remove override method for exportsArgument

* fix(NA): typechecking problems by use @internal at javascript import sources on kbn-test package

* fix(NA): typescript projects check

* fix(NA): run optimizer integration tests from source

* chore(NA): fix usage from target for kbn optimizer

* chore(NA): path on tsconfig

* chore(NA): move tsignore into ts-expect-error

* chore(NA): include souce maps on kbn cli dev

* chore(NA): include souce maps on kbn-crypto, kbn-server-http-tools and kbn-telemetry-tools

* chore(NA): add issue links into the ts-expect-error comments
# Conflicts:
#	packages/elastic-datemath/README.md
#	packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts
2021-03-30 23:54:44 -04:00
Christiane (Tina) Heiligers 6f38b96644
[core.logging] Deprecates legacy logging dest, json, verbosity and rotate configurations (#94238) (#94878)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	docs/migration/migrate_8_0.asciidoc
#	src/core/server/config/deprecation/core_deprecations.ts
2021-03-17 22:15:15 -04:00
Kibana Machine 0627307183
[core.logging] Fix calculating payload bytes for arrays and zlib streams. (#92100) (#93285)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-03-02 15:38:01 -05:00
Luke Elmers 6582eaa0a7
[7.x] Fix issue where logs fail to calculate size of gunzip streams. (#90353) (#90431) 2021-02-05 09:59:09 -07:00
Luke Elmers f9b2ad1291
[7.x] [core.logging] Add response logs to the KP logging system. (#87939) (#90280) 2021-02-04 09:19:31 -07:00
Brandon Kobel 57af8462e4
[7.x] Elastic License 2.0 (#90192)
* Updating everything except the license headers themselves

* Applying ESLint rules

* Manually replacing the stragglers
2021-02-03 18:39:13 -08:00
Brandon Kobel 11d44318c8
Fix error thrown when Kibana is sent a SIGHUP to reload logging config (#89218) (#89771)
* Fix error thrown when Kibana is sent a SIGHUP to reload logging config

* Adding a simple unit test to catch a future regression

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 12:46:34 -08:00
Christiane (Tina) Heiligers e12ccd4ee4
[7.x] [core.logging] Add ops logs to the KP logging system (#88070) (#89419)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 10:26:03 -07:00
Tyler Smalley baf56d80c4
[7.x] Updating the License (#88343) (#88745)
* Updating the Licenses, except for applying eslint, building

* Applying ESLint rules,building @kbn/pm, regenerating api docs

Co-authored-by: kobelb <brandon.kobel@elastic.co>
2021-01-19 17:54:11 -08:00
Thomas Watson 0b8e7a026f
Improve logging pipeline in @kbn/legacy-logging (#84629) (#84868) 2020-12-03 13:54:20 +01:00
Thomas Watson a4cad7735d
Catch @hapi/podium errors (#84575) (#84867) 2020-12-03 13:54:02 +01:00
Thomas Watson fdb71b6f44
Upgrade Node.js to version 14 (#83425) (#84846) 2020-12-03 09:35:10 +01:00
Tyler Smalley f9fd733a12
Jest multi-project configuration (#77894) (#84826)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	src/dev/code_coverage/ingest_coverage/integration_tests/team_assignment.test.js
#	src/plugins/console/jest.config.js
#	x-pack/plugins/canvas/scripts/jest.js
2020-12-02 14:02:21 -08:00
Pierre Gayvallet 8e1fe698e9
increase stdout max listeners for legacy logging (#84497) (#84514)
* increase stdout max listeners for legacy logging

* add missing packages to CODEOWNERS
# Conflicts:
#	.github/CODEOWNERS
2020-11-30 17:16:25 +01:00
Spencer ad815fda58
[7.x] [dev/cli] detect worker type using env, not cluster module (#83977) (#84349)
* [dev/cli] detect worker type using env, not cluster module

* remove unused property

* assume that if process.send is undefined we are not a child

* update comment

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-25 11:29:56 -07:00
Thomas Watson 9d8d283f79
Use correct version of Podium (#84270) (#84280) 2020-11-25 07:19:42 +01:00
Mikhail Shustov 264d05e29c
Move streams to kbn/utils (#84033) (#84219)
* move streams to kbn/std

* import streams from kbn/std

* fix styles

* remove unused shareWeakReplay

* move from kbn/std to kbn/utils

* import from subfolder since test mocks FS module and not compatible with kbn/utils

* remove new line at the end of json file
2020-11-24 18:08:15 +01:00
Tiago Costa 450571e027
chore(NA): remove yarn lock from kbn legacy logging (#84096) (#84125)
* Revert "[Search] Search batching using bfetch (#83418)"

This reverts commit 5708c5d004.

* chore(NA): remove yarn.lock from kbn-legacy-logging
2020-11-23 19:31:39 +00:00
Pierre Gayvallet 1a97e078f2
[7.x] create kbn-legacy-logging package (#77678) (#84034)
* create kbn-legacy-logging package (#77678)

* create kbn-legacy-logging package and start to move things

* fix rotator tests

* fix logging system test mocks

* move logging format to the package

* move logging setup to package

* adapt legacy logging server

* remove usage of legacy config in the legacy logging server

* move legacy logging server to package

* remove `??` syntax from package

* update generated doc

* fix a few things due to month old merge

* remove typings from project

* move reconfigureLogging to package

* add basic README file

* update generated doc

* remove old typings

* add typing for legacy logging events

* remove `??` from packages

* fix / improve event types usages

* remove suffix from tsconfig
# Conflicts:
#	src/legacy/server/config/schema.js

* fix for 7.x branch
2020-11-23 07:31:31 +01:00