Commit graph

23 commits

Author SHA1 Message Date
gchaps
1870be1022
[DOCS] Fixes error in examples for migrating plugin code (#99261) (#99292)
* [DOCS] Fixes error in examples for migrating plugin code

* [DOCS] Fixes error in docs update
2021-05-04 16:14:34 -07:00
Joe Portner
f03a7ea753
Sharing saved objects, phase 2.5 (#89344) (#91335) 2021-02-13 15:51:40 -05:00
Pierre Gayvallet
97f89e256b
[7.x] Migrate most plugins to synchronous lifecycle (#89562) (#90579)
* 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
# Conflicts:
#	x-pack/plugins/xpack_legacy/server/plugin.ts

* fix mock
2021-02-08 13:16:05 +01:00
Alejandro Fernández Haro
5c7a300ae6
[7.x] [Elasticsearch Migration] Update docs re UsageCollection (#84322) (#84487) 2020-11-30 11:44:34 +00:00
Mikhail Shustov
13e75b85c2
fix identation in list (#84301) (#84401) 2020-11-26 12:18:58 +01:00
Thomas Watson
659ee3322f
Update example docs with correct version of Boom (#84271) (#84275) 2020-11-24 22:15:14 +01:00
Mikhail Shustov
5b2ffbeac0
[docs] Convert migration guide to asciidoc (#82600) (#84180)
* Initial conversion to asciidoc

* Update and split migration guide

* Convert MIGRATION_EXAMPLES to asciidoc

* build with --focus flag

* convert migration guide to asciidoc

* cleanup migration_examples

* fix wrong Heading size

* update links in docs

* Apply suggestions from code review

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>

* Apply suggestions from code review

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>

* add tooling section

* explain purpose of each lifecycle method

* cleanup docs

* cleanup p2

* fix wrong link

* resturcture core docs

* fix wrong link

* update missing links

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* address comments

* add a commenta about plugin-helpers preconfigured

* improve density of tables

* fix lik

* remove links to the migration guide

* address comments

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* address @gchaps comments

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* change format of ES client change list

Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
# Conflicts:
#	docs/developer/architecture/core/saved-objects-service.asciidoc
#	docs/developer/architecture/index.asciidoc
#	src/core/MIGRATION.md
#	src/core/README.md
2020-11-24 10:47:04 +01:00
Tyler Smalley
9da8f8aa4a
[7.x] Adds @kbn/utils package (#76518) (#77531)
Moves common utility functions to obtain the repository root,
paths (config/data), and Kibana package.json to a @kbn/utils package.
Moving these existing functions allows them to be used in production, in
other packages because of Kibana.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [@kbn/utils] Adds missing dependency (#77536)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-09-15 14:03:19 -07:00
Spencer
c8a93b688b
[7.x] [plugin-helpers] improve 3rd party KP plugin support (#75019) (#76209)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-27 16:43:58 -07:00
Stacey Gammon
1da31b2db8
Clean up the developer guide (#71631) (#72055)
* rename float to discrete

* use same section title level on all source files

* Elasticsearch => {es}

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

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-16 10:41:38 -04:00
Stacey Gammon
7596ba4b38
Improvements to our developer guide (#67764) (#71455)
* contributing guide -> asciidoc

* Update docs/developer/contributing/index.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update docs/developer/best-practices/stability.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update docs/developer/contributing/index.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* address code review comments

* Update docs/developer/contributing/development-documentation.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* review comment updates

* fix bad ref

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
# Conflicts:
#	CONTRIBUTING.md
#	docs/developer/contributing/development-functional-tests.asciidoc
#	docs/developer/contributing/development-unit-tests.asciidoc
2020-07-13 12:16:18 -04:00
Lisa Cawley
c219e405ad
[7.x] [DOCS] Adds kibana-pull attribute for release docs (#69554) (#69574) 2020-06-23 09:22:30 -07:00
Joe Reuter
ef2c5ef761
Switch to core application service (#63443) (#66353) 2020-05-13 11:34:57 +02:00
Larry Gregory
c2675bdd4e
[7.x] Document sub-feature privileges (#62335) (#62930)
* documenting sub-feature privileges

* Apply suggestions from code review

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* address PR feedback

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-04-08 07:41:03 -04:00
Kaarina Tungseth
7f908a58f2
[DOCS] Removed below references (#60159) (#60272) 2020-03-16 12:12:08 -05:00
Kaarina Tungseth
88e6d24d77
[DOCS] Removed spatial references (#59595) (#59681)
* [DOCS] Removed ss above spatial references

* Removed above from n numeral formatting page
2020-03-09 11:45:48 -05:00
gchaps
cd7d7c3de1
[DOCS] Adds link to migration guide (#57702) (#57721) 2020-02-14 13:29:02 -08:00
gchaps
8b3a323054
[DOCS] Removes reference to IRC (#57245) (#57276) 2020-02-10 16:05:39 -08:00
Joe Reuter
d1df426889
fix ui exports doc (#54138) (#54225) 2020-01-08 11:00:58 +01:00
Liza Katz
f39a1b29a2
Use NP registry instead of ui/registry/field_formats (#48108) (#51171)
* Create Field Format Provider

* Pass Field Format as a start dependency

* Register utils in the new field formats

* Fix types issue

* Make FieldFormats instance as a service

* Exclude importing of register.js

* Remove uiExports/fieldFormats imports

* Migrate some dependencies to new Field Format

* Migrate field format to new instance

* Fix type errors

* Fix Jest tests

* Move from getFieldFormat to npSetup

* Fix types errors

* Fix reviews

* Fix types errors

* Fix types

* fix CI

* Bind getConfig to FieldFormatRegisty

* Mock FieldFormat in FieldItem

* Fix DataPanel tests

* Fix DataPanel tests

* Fix Jest tests

* Create a fieldFormats mock for mocha tests

* fix CI

* fix CI

* Mock fieldFormatsRegistry in all visualizations

* Fix 'should create scripted field' functional test

* Change FieldFormat.from return type

* Fix reviews

* Fix mocha test

* Fix mocha tests

* Encapsulate FieldFormatRegistry

* Pretty field_item.tsx

* Fix reviews

* Fix PR comments

* Fix CI

* Replace any by a specific type

* Fix mocha tests

* Remove config from url converter

* Expand Field Format ID type for creating custom converters

* Fix a jest test

* Update migration doc

* Add quote and semicolon

* Fix types errors which doesn't relate to the aim of PR
2019-11-20 18:58:26 +02:00
Nik Everett
bc59cb9e4d
Docs: Fix for asciidoctor (#47876) (#47910)
Asciidoctor is a bit more picky about somethings. This fixes them for
it.
2019-10-10 17:47:08 -04:00
gchaps
927204cda9
[DOCS] Fixes to install and plugin docs (#45917) (#46037)
* [DOCS] Fixes to install and plugin docs

* [DOCS] Adds links to references in code
2019-09-18 09:26:21 -07:00
Lisa Cawley
6b2c86368f
[DOCS] Creates developer folder (#45280) (#45319) 2019-09-10 17:39:34 -07:00