Commit graph

999 commits

Author SHA1 Message Date
Thirugnanam
482cb4f603 curl related doc changes in load dataset tutorial (#16040)
* curl related doc changes in load dataset tutorial

* Correcting typo and incorporating review comments

* Fixing new line issues and corrected example commands

* Removing '#' as it seem to combine multiple lines

* Update tutorial-load-dataset.asciidoc

* Removing the template command

* Remove `doc` path
2019-07-05 09:49:30 +02:00
Mikhail Shustov
8a97392a91
Expose elasticsearch error wrapper (#40242)
* expose elasticsearch error wrapper

* generate docs

* Update src/core/server/elasticsearch/errors.ts

Co-Authored-By: Rudolf Meijering <skaapgif@gmail.com>

* address Oleg comments
2019-07-04 15:41:17 +02:00
spalger
bbec883435 update core api docs that should have been updated with prettier pr 2019-07-03 15:04:16 -07:00
Kaarina Tungseth
8de5806d6f
[DOCS] Minor edits (#40266) 2019-07-03 14:54:57 -05:00
Jonathan Budzenski
e08f92b0f0
configurable global socket timeouts (#31603)
* configurable global socket timeouts

* update snapshots

* update tests

* add test

* add test

* add test

* happy path

* test happy path

* docs

* stop server after
2019-07-03 12:22:26 -05:00
Tim Roes
1eebc40208
Add new TSVB screenshots in docs (#40273) 2019-07-03 18:29:32 +02:00
Brandon Morelli
81842cd976
docs: add nodejs apm environment link (#40199) 2019-07-02 19:20:20 -07:00
Vadim Dalecky
f18e7439d9
「AppArch」Interpreter 👉 New Platform (#39329)
* feat: 🎸 set-up NP data plugin

* refactor: 💡 move interpreter functions registry to NP

* refactor: 💡 move interpreter renderer registry to NP plugin

* refactor: 💡 move interpreter typesRegistry to NP

* refactor: 💡 move interpreter types to NP

* chore: 🤖 import typeRegistry from NP and change TS type folder

* refactor: 💡 move interpreter expression types to NP

* refactor: 💡 move rest of interpreter common folder to NP plugin

* fix: 🐛 fix TypeScript errors

* test: 💍 improve typings and test mocks

* refactor: 💡 make Interpreter internal registry impl private

* test: 💍 inline NP backdoor mock creation in test suites

* chore: 🤖 change @kbn/interpreter import paths to try fix errors

* fix: 🐛 improve core Plugin interfaces

* feat: 🎸 add stop() lifecycle to NP data plugins

* refactor: 💡 move interpreter into expressions service data NP

* refactor: 💡 inline Registry @kbn/interpreter class

* refactor: 💡 remove dependency on @kbn/interpreter in data pub

* refactor: 💡 move interpreter common dir into expressions dir

* fix: 🐛 use TS types in kibana_context

* feat: 🎸 add types suggested in PR review

* feat: 🎸 add semantic interpreter registration functions

* refactor: 💡 use require for all @kbn/interpreter imports

* test: 💍 add Karma test mocks, thx @spalger 🙏

* docs: ✏️ update Core docs

* test: 💍 add Sinon stubs for registries

* chore: 🤖 change import syntax in hopes CI will work

* chore: 🤖 set App Architecture as owners of data plugin

* docs: ✏️ add README

* chore: 🤖 change import in hopes to fix optimizer

* fix: 🐛 make stop() plugin life-cycle optional

* docs: ✏️ update Core API docs

* test: 💍 remove unnecessary Jest mock

* chore: 🤖 don't import from deeply inside a plugin

* refactor: 💡 try different interpreter import

* fix: 🐛 fix Karma mocking

* fix: 🐛 fix TypeScript type imports

* test: 💍 fix broken test
2019-07-02 09:07:07 +02:00
Nathan Reese
7f4c07b3c0
[Maps] remove beta labeling from application and docs (#39871)
* [Maps] remove beta labeling from application and docs

* clean up i18n
2019-07-01 12:48:29 -06:00
Lisa Cawley
b519f36333
[DOCS] Updates title for Stack Monitoring app (#39814) 2019-06-28 10:31:10 -07:00
tshoeb
f8065a9500 new known plugin (#25795) 2019-06-28 16:24:39 +02:00
Rudolf Meijering
da09a11858
Mocks for CoreStart, CoreSetup and PluginInitializerContext (#39351)
* Mocks for CoreStart, CoreSetup and PluginInitializerContext

* Public CoreStart, CoreSetup mocks

* Update api signature/docs

* Convert embaddable_api tests to new core mocks

* CR Feedback

* Introduce ui_new_platform.test.mocks and refactor embedabble tests

* Hack to get TS warnings for Core mocks

* Core mocks types cleanup & hack to get TS warnings for Server Core mocks

* Use __mocks__ new_platform

* Remove accidently commited auto-mock

* Introduce MockedKeys type for Core mocks

* Better typing/docs for UiSettings

* Revert "Use __mocks__ new_platform"

This reverts commit 2d666facc8.

* Add missing mock to test

* Cleanup UiSettings types
2019-06-28 13:34:41 +02:00
chongzhe
346baf96d2
[Code] update doc about index scheduler (#39869) 2019-06-27 22:45:36 -07:00
bryankouwen
4b49db591d single quotes missing (#30096)
(cherry picked from commit 738a08fc4a)
2019-06-27 17:00:56 -07:00
Holger Brandl
d4551058e7 Removed invalid/unneeded comma in json query (#31797)
(cherry picked from commit 276dcc7f72)

# Conflicts:
#	docs/api/url_shortening/shorten_url.asciidoc
(cherry picked from commit 0a316000e3)
2019-06-27 16:51:13 -07:00
Dan Kreiger
e6c019c22b Update tutorial-define-index.asciidoc (#39666)
(cherry picked from commit 5bb6dbff38)
2019-06-27 16:41:40 -07:00
Nathan Reese
690532aa2f
[Maps] increase document limit from 2048 to 10000 (#39697)
* [Maps] increase document limit from 2048 to 10000

* [Maps] increase document limit from 2048 to 10000

* rename DEFAULT_ES_DOC_LIMIT to ES_SIZE_LIMIT
2019-06-27 15:55:12 -06:00
Zacqary Adam Xeper
6359905b21
[Logs UI] Add View in APM link to log flyout actions menu (#39540)
* Add View in APM link to log flyout actions menu

* Change icon from apmTrace to apmApp

* Add tests for View in APM action

* Add docs for actions menu

* Update link to go to traces list

* Add rangeFrom and rangeTo to trace links

* Use 20 minute from/to range instead of 1 minute
2019-06-27 13:55:33 -05:00
rmacd
8f018b397a Update documentation: xpack.code.gitHostWhitelist && xpack.code.gitProtocolWhitelist should sit under xpack.code.security (#39687) 2019-06-27 06:37:01 -07:00
Josh Dover
684b4d961d
Move Chrome UI to Core (#39300) 2019-06-26 18:15:18 -05:00
Lisa Cawley
e650a8aad5
[DOCS] Moves anchors in list inline (#39710) 2019-06-26 10:19:10 -07:00
Lisa Cawley
28482e65ab
[DOCS] Refreshes Kibana monitoring screenshots (#39146) 2019-06-26 09:14:35 -07:00
Nathan Reese
51ae0f45af
[Maps] add Where clause to terms joins (#39593)
* [Maps] add Where clause to terms joins

* add functional test

* rename layerQuery to sourceQuery
2019-06-26 09:56:23 -06:00
gchaps
ebd656cb23
[DOCS] Fixes broken link (#39692) 2019-06-26 08:48:22 -07:00
Nathan Reese
1682d165ac
[Maps] add documenation for "most recent entities" (#39478)
* agg docs

* add docs for most recent entities

* Update docs/maps/maps-aggregations.asciidoc

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

* Update docs/maps/maps-aggregations.asciidoc

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

* Update docs/maps/maps-aggregations.asciidoc

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

* Update docs/maps/maps-aggregations.asciidoc

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

* Update docs/maps/maps-aggregations.asciidoc

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

* Update docs/maps/maps-aggregations.asciidoc

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

* Update docs/maps/maps-aggregations.asciidoc

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

* Update docs/maps/maps-aggregations.asciidoc

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

* use bold instead of code case

* clean up wording of how to enable most recent entities
2019-06-26 09:28:03 -06:00
gchaps
8680dfe478
[DOCS] Updates index patterns doc (#39591)
* [DOCS] Updates index patterns doc

* [DOCS] Incorporates review comments in index patterns doc

* [DOCS] More review comments on index patterns doc

* [DOCS] Fixed section on managing index patterns
2019-06-26 07:14:48 -07:00
Mikhail Shustov
484351bdac
KibanaRequest provides headers as a property. (#39506)
* use property instead of method. not all header names are known

* fix tag name and re-generate docs
2019-06-26 10:04:34 +02:00
Nathan Reese
7c7599ab84
[Maps] move symbol style property to top of UI (#39534)
* [Maps] move symbol style property to top of UI

* fix jest tests
2019-06-24 18:35:48 -06:00
Josh Dover
91a5a54c78
Move ui/documentation_links to Core (#39411) 2019-06-24 13:57:21 -05:00
Kaarina Tungseth
c4d2200ec2
[DOCS] Canvas getting started (#38324)
* [DOCS] Canvas Getting Started

* Area chart content

* Time filter content

* Intro, image, and clean up

* Removed extra spaces

* Comments from Rashmi and Bhavya

* Comments from Tim

* Comments from Gail and Ryan
2019-06-24 13:06:28 -05:00
Jonathan Budzenski
4a583cec4f
[docs/production] multiple es nodes (#30276)
* [docs/production] multiple es nodes

* note console limitation

* mention related configuration
2019-06-24 12:58:46 -05:00
Joe Reuter
4d88aaa274
Add configs for terminate_after (#37643) 2019-06-24 15:27:18 +02:00
Zacqary Adam Xeper
6b92aa0e7b
[DOCS] Add documecumentation for the log entry flyout (#39403) 2019-06-21 10:07:45 -05:00
Josh Dover
5941436e1b
Remove final legacy dependencies from Header UI (#38175)
* Remove final legacy dependencies from Header UI

* Address @eliperelman comments

* Move files for x-pack move
2019-06-20 15:57:02 -05:00
Court Ewing
2d171c92f5 Fix path references into and out of x-pack/legacy 2019-06-20 13:34:48 -04:00
Lisa Cawley
c065b3b41a
[DOCS] Adds screenshots for sample data and metricbeat ML job wizards (#39225) 2019-06-20 06:57:01 -07:00
Kaarina Tungseth
8df31cb755
[DOCS] Add brew install instructions. (#38417)
* [DOCS] Add brew install instructions. Closes #38220

* Link fix

* Removed inline notes from index

* Fixed table format

* Updated with tap changes

* Comments from Deb
2019-06-20 08:51:51 -05:00
Brandon Morelli
9ade19f22c
[docs] Fix broken doc link (#39320) 2019-06-19 17:38:25 -07:00
Brandon Morelli
30e5f9b79b
[docs] Fix broken doc build (#39319) 2019-06-19 16:40:03 -07:00
Chris Cowan
487ab80725
[Infra UI] Metrics Explorer Documentation (#37040)
* First pass at the Metrics Explorer tutorial, it's rough

* docs: fix build errors and formatting

* docs: content changes

* Making filter step a little more accurate

* An attempt to answer the why

* Update docs/infrastructure/metrics-explorer.asciidoc

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>
2019-06-19 17:49:11 -05:00
Lisa Cawley
0f68492e38
[DOCS] Refreshes screenshot for monitoring ML (#39222) 2019-06-19 10:51:24 -07:00
Mikhail Shustov
a75d777bea
New Platform and Legacy platform servers integration (#39047)
* New and Legacy platforms share http server instance.

Required to use a common security interceptor for incoming http requests

* generate docs

* remove excessive contract method

* add test for New platform compatibility

* address comments part #1

* log server running only for http server

* fix test. mutate hapi request headers for BWC with legacy

* return 503 on start

* address @eli comments

* address @joshdover comments
2019-06-19 16:32:37 +02:00
Larry Gregory
7e4e8fee54
Spaces - New Platform Migration, Step 1 (#35429)
* crude test updates

* remove custom server typedef

* allow spaces to aquire security plugin after init

* split CoreSetup into CoreSetup and PluginsSetup

* move interfaces to new plugin

* init interceptors in legacy plugin

* fix import

* add placeholder kibana.json

* use NP Elasticsearch service instead of legacy ES Plugin

* cleanup imports

* don't destructure the es client

* introduce request facade

* document reason for getSecurity

* prefer relative imports from src/core

* fix typo in filename: inteceptors --> interceptors

* fix imports; remove stray ts-ignore

* improve typings for spaces client

* rename InterfaceExcept --> Omit

* don't use legacy config in NP

* additional comment

* shim NP config service

* fix merge from master

* revert relative imports into src/core and src/legacy

* shim capabilities modifier into new platform

* removing placeholder kibana.json

* fix prettier problem

* temporary: patch NP 'setUrl'

* migrate onRequest interceptor to NP, without tests

* fix ts error

* testing and deps cleanup for onRequestInterceptor

* replace spaces's usages of request.getBasePath with http.getBasePathFor

* add explicit timeouts for jest interceptor tests

* attempt to fix imports

* use NP logging instead of faked implementation

* revert stray yarn.lock change

* attempt to stablize and fix tests

* update jest config to include src/core/server/mocks

* fix plugin config typings

* add service tests

* fix merge

* allow spaces service to also work with legacy requests

* update interfaces to confirm to new internal/external API convention

* re-enable some post auth interceptor tests

* add explicit timeouts for tests

* prefer modifyUrl instead of manual url modification

* update logger shim to conform to PluginInitializerContext

* remove spaces ConfigClass

* don't weaken type declaration for scoped cluster client calls

* remove legacy server from SpacesCoreSetup

* remove spaces service cache

* remove legacy server as an interceptor dependency

* use modifyUrl on the raw request too

* remove unused import

* cleanup typings

* replace onRequest interceptor with new onPreAuth interceptor

* fix onPostAuth tests

* temporarily copy modifyUrl into spaces plugin

* fix mock export

* fix merge from master

* spaces scopedClient always uses updated ES client and config

* improve typings for usage collector

* rename isLegacyRequest -> isFakeRequest

* use updated NP base path API

* remove commented code

* only expose scoped spaces client

* use OptionalPlugin instead of getSecurity

* update imports of Saved Objects Service to use new src/core/server location

* update core docs
2019-06-19 10:08:54 -04:00
Nathan Reese
81c15adf34
[Maps] Update Vector Style docs to define vector styles per feature type (#39214)
* [Maps] Update Vector Style docs to define vector styles per feature type

* remove intro to point, polygon, and line sections

* Update docs/maps/vector-style-properties.asciidoc

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

* Update docs/maps/vector-style-properties.asciidoc

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

* Update docs/maps/vector-style-properties.asciidoc

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

* Update docs/maps/vector-style-properties.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-06-19 06:13:55 -06:00
Filip Rydzi
d75ec76780 Visualization - Scale to Data Bounds with a value (#38774)
Checking the Scale to Data Bound option may cause that the bar, which value equals to the lower bounds is hidden. To avoid that, you can define bottom margin. Via bottom margin you specify a value, which lowers the lower bounds when displaying the plot.

close #38536
2019-06-19 12:40:21 +02:00
Todd Kennedy
519eef17b1
[feat] restore headers property (#39206)
* [feat] restore headers property

* add tests

* patch: add headers
2019-06-18 16:12:24 -07:00
Lisa Cawley
e25ec907cb
[DOCS] Removes out-dated tags from monitoring page (#39181) 2019-06-18 09:17:55 -07:00
Lisa Cawley
6df15b86e1
[DOCS] Add details about monitoring logs (#39139) 2019-06-18 08:37:39 -07:00
Vadim Dalecky
67478ccc75
uiSettings in #start() life-cycle (#39054)
* feat: 🎸 add uiSettings service in "start" Core

* test: 💍 add test for uiSettings#start() lifecycle

* fix: 🐛 add uiSettings to plugin context

* docs: ✏️ update Core API docs

* fix: 🐛 fix TypeScript type check errors
2019-06-18 17:27:46 +02:00
Rudolf Meijering
260d907f90
[Core] Move Saved objects files to core (#38771)
* Move src/legacy/server/saved_objects -> src/core/server/saved_objects

* Fix SavedObject import references after moving files to core

* First pass at SavedObjects api docs

* Expose and import all saved object types through core/server

* Don't expose SavedObjectsManagement from core and fix imports

* Improve typings for SavedObject error helpers

* Fix type errors after master merge

* Fix SavedObjectErrorHelpers tests
2019-06-18 13:10:23 +02:00
Mikhail Shustov
9e044c5ac9
Restrict access to hapi Request in registerAuth (#38763)
* Prevent exposing Hapi.Request to registerAuth.

Prevent exposing headers.authorization in KibanaRequest.
Introduce a mechanism to associate authorization headers with an
incoming request and retrieve its value to perform a request to
elasticsearch cluster.

* fix tests

* address @joshdover comments
2019-06-18 10:21:01 +02:00
Justin Kambic
393a4ba16f
[Uptime] Add doc entry for observability solution integrations. (#38963)
* Add doc entry for observability solution integrations.

* Update docs/uptime/overview.asciidoc

Commit PR recommendation.

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>

* Update docs/uptime/overview.asciidoc

Commit PR recommendation.

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>

* Replace screenshot.
2019-06-17 21:47:22 -04:00
Nathan Reese
a3a1e0c18d
[Maps] use coalesce to ensure number always passed to interpolate for data driven size styling (#38427)
* [Maps] use coalesce to ensure number always passed to interpolate for data driven size styling

* update docs with behavior when feature property is not defined

* Update docs/maps/vector-style.asciidoc

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

* Update docs/maps/vector-style.asciidoc

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

* move first note into description paragraph

* add coalesce wrapper around icon-size extraction expression
2019-06-17 15:14:53 -06:00
Karen Metts
4322346d28
[Doc]Add docs for siem app (#39030)
* Add docs for siem app

* Incorporate more review comments

* Fix punctuation
2019-06-17 14:28:52 -04:00
Justin Kambic
ab97f1fe97
Update uptime docs screenshots. (#38896) 2019-06-17 11:13:46 -04:00
Mikhail Shustov
de5c452f14
Unify base path in HttpService (#38237)
* unify modifyUrl on client and server

* create BasePath as a separate entity on server

* use BasePath class in http server

* use BasePath a separate entity on client

* use BasePath class on Http service on the client

* switch client code to the new api

* improve setver http service mocks

* address comments #1

* address comments #2

* update docs

* add comment why we define own typings
2019-06-16 16:36:02 +02:00
chongzhe
bb19f9497c
[Code] update enable config in doc and screenshots to reflect new UI change (#39034) 2019-06-14 15:28:37 -07:00
Lisa Cawley
b12c1eb9ca
[DOCS] Adds data frame link (#39019) 2019-06-14 13:16:59 -07:00
Davey Holler
b05b0ea35b
[Code] Updates to copy in the Code docs (#39003) 2019-06-14 12:31:20 -07:00
Brandon Morelli
05d802ff5f
[APM][Docs] 7.2 documentation updates (#38577) 2019-06-14 12:25:46 -07:00
Lisa Cawley
c1a88c6d85
[DOCS] Updates data frame security details (#39009) 2019-06-14 11:33:45 -07:00
István Zoltán Szabó
c04abb7c59
[DOCS] Adds Data frame transforms subsection to the ML section (#38899)
This PR adds creating-df-kib.asciidoc and two screenshots to the repository and changes docs/ml/index.asciidoc.
2019-06-14 11:31:46 +02:00
chongzhe
26bd60107a
[Code] change default Code page title (#38956) 2019-06-13 17:13:33 -07:00
chongzhe
56e0c00c7b
[Code] fix title level error in Code setting page (#38913) 2019-06-13 10:56:40 -07:00
Aleh Zasypkin
ffb0b06fa3
Make xpack.security.authc.saml.realm mandatory and completely remove xpack.security.authProviders and xpack.security.public. (#38657) 2019-06-13 17:43:18 +02:00
Felix Stürmer
12b82548d8
[Logs UI][skip ci] Document the customizable columns feature (#37021)
This PR adds documentation about the new log column feature. To keep the docs Logs UI readable as new features are added, they are now restructured into four pages:

* a landing page with a full screenshot linking to the subsequent section
* a "getting started" page to link to the tutorials on ingesting log data
* a "using" page to explain the main features of the Logs UI
* a "configuring" page to explain the configuration UI

closes elastic/kibana#36025
2019-06-13 05:14:40 -04:00
Lukas Olson
9e472e66fb
Allow passing in a signal to abort a cluster client request (#37563)
* Allow passing in a signal to abort an Elasticsearch request using the cluster client

* Go back to using promises (which still return abort method) and update test

* Update docs

* Explicitly return Promise<any> instead of {}
2019-06-12 15:43:22 -07:00
Josh Dover
51d47cae39
Move Chrome and I18n to CoreStart (#37915) 2019-06-12 10:04:45 -05:00
Ahmad Bamieh
c308048f04
[Telemetry] move from xpack main (#35403)
* enabling xpack in new plugins

* move telemetry into separate new platform plugin

* remap constants

* resolved hacks issue

* remove extra dir

* js -> ts

* run linter

* fix tests

* reset kibana.yml

* reset kibana.yml

* ts types

* add telemetry translations to i18n

* use deprecated configs

* checkout config.yml

* fix test

* move telemetry from xpack_main in api_integration

* add telemetry apis

* hide banner

* remove routes/get_stats in favor of collectors/get_stats

* code review fixes
2019-06-12 13:53:48 +03:00
Aleh Zasypkin
590862ec63
Make SAML realm name configurable (#37346) 2019-06-11 19:05:20 +03:00
chongzhe
4d755722ab
[Code] initial commit for Code doc (#38521) 2019-06-10 16:14:18 -07:00
gchaps
82d82d9d4c
[DOCS] Adds docs for snapshot repositories UI (#38159)
* [DOCS] Adds docs for snapshot repositories UI

* [DOCS] Incorporates review comments into snapshot docs
2019-06-07 11:28:01 -07:00
Mikhail Shustov
f753474423
Session storage refactoring (#37992)
* Kibana request keep a reference to raw request. used to bind hapi-cookie

* CookieSessionStorage should work with KibanaRequest

as soon as registerAuth refactored to restrict access to hapi Request, CookieSessionStorage won't work with hapi request directly

* change registerAuth public api

* adopt auth lifecycle tests

* move lifecycle auth tests from integration to unit and adopt to new api.

* mark toRawRequest as internal to prevent exposure

* generate docs

* reword test cases

* mark Request internals in tsdoc
2019-06-07 10:18:17 +02:00
Brandon Kobel
41b326ece3
[docs][skip ci] Read only access for @elastic/kibana-app applications (#35560)
* Adding read-only mode section to Discover

* No more "mode" or "badge" terminology

* Putting newline back

* Adding "Saving" section for visualize

* Adding dashboard read only access section

* Timelion gets read-only documentation

* Adding read only access section to index patterns and advanced settings

* Adding graph read only access section
2019-06-06 08:08:18 -07:00
Mikhail Shustov
53b133dd50
Route tags (#37344)
* expose route info in KibanaRequest

* update mocks in test

* make tags readonly, getRouteInfo is private method

* add mocks for hapi internals

* mode deepFreeze to core utils level as it env agnostic

* freeze route props

* fix typo

* add tests for route options

* fix integration tests. deep_freeze was moved under core utils

* add comments, expose public types and regenerate docs

* address comment. remove unnecessary async in route handlers

* make routeSchema optional instead of union with undefined

* @skaapgif improvements

* update docs
2019-06-06 15:49:37 +02:00
Mike Côté
a537aaed6b
Update import saved objects API docs to use curl examples (#37997)
* Remove copy as curl

* Update import docs to use curl examples
2019-06-05 07:49:47 -04:00
Mike Côté
9772ab5cd8
Fix export saved objects API docs (#37991) 2019-06-05 07:47:21 -04:00
Ioannis Kakavas
1a06b0ac6b
Add section about OpenID Connect in docs (#37525) 2019-06-04 15:03:05 +03:00
Ahmad Bamieh
55e36a04aa
[i18n] [docs] Update docs to encourage static i18n import (#37858)
* update documentation

* Update docs/development/plugin/development-plugin-localization.asciidoc

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

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/GUIDELINE.md

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/README.md

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

* Update packages/kbn-i18n/README.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-06-04 15:01:11 +03:00
Brandon Kobel
de0e410d8f
[docs][skip ci] Using consistent terminology when referring to the spaces selection control (#37901)
* Using consistent terminology when referring to the spaces dropdown menu

* Switching to spaces selection control
2019-06-03 11:00:42 -07:00
Lisa Cawley
3b8ed40365
[DOCS] Clarify Data Visualizer limitation (#37143) 2019-06-03 08:41:33 -07:00
Eli Perelman
1b096f3b73
Allow interception of http requests from browser http service (#36939)
* Allow interception of http requests from browser http service

* Update documentation and browser http types

* Remove async marker from fetch function

* Fix failing tests

* Attempting to fix kuery_autocomplete test

* Allow halting of http fetches from interception

* Re-use HttpInterceptHaltError

* Expose HttpInterceptor types and update docs

* Only mock calls to capabilities during browser testing
2019-05-31 12:56:47 -05:00
Ahmad Bamieh
b0fbb95ca9
[Docs] Remove conflict code (#37672) 2019-05-31 20:28:05 +03:00
Shaunak Kashyap
9417c16e14
Documenting missing cluster alerts (#37495)
* Documenting missing cluster alerts.

Currently, the Cluster Alerts docs only list four cluster alerts. There are, in fact, six cluster alerts in all. This adds the remaining two.

* [DOCS] Fixes formatting
2019-05-31 05:59:21 -07:00
Lisa Cawley
c50b6aba70
[DOCS] Disable Metricbeat system module (#37198) 2019-05-30 12:47:10 -07:00
Todd Kennedy
461a6c0f93
[feat] create additional http servers (#36804)
* [feat] create additional http servers

allow for additional http servers to be created, tracked and returned

* respond to pr feedback

* tweak test

* update documentation

* destructure port, remove unnecessary imports

* [fix] export correct type

* [feat] expose createNewServer to plugins

* [fix] respond to pr feedback

* todo: add schema validation & integration test

* use reach

* [fix] use validateKey to validate partial

* [fix] change config shadowing

* check kibana port & prevent shadowing

* centralize start/stop for servers, add integration test

* remove unnecessary property

* never forget your await

* remove option to pass config into start

* fix pr feedback

* fix documentation

* fix test failures
2019-05-29 13:00:56 -07:00
Tim Roes
58ef3a3c49 Add addError function to toastNotifications (#32187) 2019-05-29 13:24:35 -05:00
Ahmad Bamieh
5cc980979b
[Docs] i18n docs add japanese (#37233) 2019-05-29 15:33:34 +03:00
Mikhail Shustov
b0c0165d63
introduce pre-/post-auth request hooks for HttpServer (#36690)
* introduce pre-,post-auth stages

* cleanup integration_tests. now contracts available in tests

* auth per route is configurable

* Unify lifecycle results structure

* expose api to store auth state and status via http service

* update tests

* update docs

* use full name, auth should not mutate request

* move basePath functionality under namespace

* regenerate docs

* Revert "move basePath functionality under namespace"

This reverts commit 9599d32801.

* Revert "regenerate docs"

This reverts commit 1799d3b088.

* regenerate docs

* updated yarn.lock no idea why

* extract AuthStateStorage to a separate entity

* get rid of nested ifs

* describe what is the difference between hooks

* re-wording
2019-05-29 12:26:05 +02:00
Lisa Cawley
03fe26942e
[DOCS] Facilitates content re-use in the monitoring configuration (#37123) 2019-05-28 08:34:53 -07:00
Brandon Kobel
af34b9f3d5
[docs][skip ci] Infrastructure and Logs read only access (#35566)
* Adding a read only access section to the infrastructure docs

* Adjusting where the infrastructure read only access section is and
adding the logs readonly access section

* Fixing grammar
2019-05-28 10:23:08 -04:00
Nathan Reese
f77d67d740
[Maps] update docs for proxyElasticMapsServiceInMaps configuration (#36914)
* [Maps] update docs for proxyElasticMapsServiceInMaps configuration

* Update docs/setup/settings.asciidoc

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

* Update docs/setup/settings.asciidoc

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

* Update docs/setup/settings.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-05-23 14:26:44 -06:00
Eli Perelman
0fb2e251a0
Remove browser basePath service, move functionality into browser http service (#36611)
* Remove browser basePath service, move functionality into browser http service

* Update generated documentation for removal of browser basePath

* Fix type interface for removal of basePath

* Split IHttpService into separate setup and start interfaces

* Rename appendToBasePath to prependBasePath, rename removeFromBasePath to removeBasePath
2019-05-22 16:35:04 -05:00
Josh Dover
91b167424d
Consolidate Plugin{Setup,Start}Context and Core{Setup,Start} (#36732) 2019-05-22 13:50:31 -05:00
Larry Gregory
be765767ee
Feature Controls - Documentation (#35656)
* update spaces images

* add Spaces FC section

* Updates for kibana authorization section

* update plugin development guide

* start adding docs

* remove unused description field from Feature Registry interface

* Update role management API documentation

* Apply suggestions from code review

Thanks, Gail!

Co-Authored-By: legrego <lgregorydev@gmail.com>

* Update docs/api/role-management/put.asciidoc

* update kibana privileges section intro

* relocate link to Role Management API

* update PUT role docs to align with ES

* indicate that base and feature privileges cannot be used at the same time

* restructure kibana privileges section

* add UI and API examples to Kibana Privileges section

* Apply suggestions from code review

Co-Authored-By: legrego <lgregorydev@gmail.com>

* address PR feedback

* Apply suggestions from code review

Co-Authored-By: legrego <lgregorydev@gmail.com>

* Apply suggestions from code review

Co-Authored-By: legrego <lgregorydev@gmail.com>

* address pr feedback

* Update docs/api/role-management/put.asciidoc

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

* Update docs/security/index.asciidoc

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

* address PR feedback

* fix merge from master

* Update docs/spaces/managing-spaces.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-05-22 14:01:15 -04:00
Brandon Kobel
b92c6d22ff
[DOCS][skip ci] Adjusting production setup instructions as a result of Spaces/RBAC (#36890)
* Adjusting production setup instructions as a result of Spaces/RBAC

* Update docs/setup/production.asciidoc

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>
2019-05-22 10:44:36 -04:00
István Zoltán Szabó
2a56fb9764
[DOCS] Completed warning text. (#36672) 2019-05-22 10:28:24 +02:00
Josh Dover
d9c34caf95
Load Capabilities from InjectedMetadata (#36710) 2019-05-21 13:58:07 -05:00
Sarah Hersh
5401d80eb1
update screenshots and edit docs for search profiler (#36589) 2019-05-21 09:55:24 -04:00
Sarah Hersh
cdd46d5ab9
update screenshots and light copy edits (#36649) 2019-05-21 09:48:22 -04:00