kibana/docs/development/core
Mikhail Shustov 26bd65014b
Unify response interface in handler and request interceptors (#42442) (#42918)
* add response factory to the interceptors

* adopt x-pack code to the changes

* Add a separate response factory for lifecycles.

Only route handler can respond with 2xx response.
Interceptors may redirect or reject an incoming request.

* re-generate docs

* response.internal --> response.internalError

* use internalError for exceptions in authenticator

* before Security plugin proxied ES error status code. now sets explicitly.

* provide error via message field of error response for BWC

* update docs

* add customError response

* restore integration test and update unit tests

* update docs

* support Hapi error format for BWC

* add a couple of tests
2019-08-08 13:51:01 +02:00
..
public [Core] Public saved objects client (#39891) (#42760) 2019-08-07 11:29:30 +02:00
server Unify response interface in handler and request interceptors (#42442) (#42918) 2019-08-08 13:51:01 +02:00
development-basepath.asciidoc [7.x] [basePathProxy] add __UNSAFE_bypassBasePath route (#4120… (#42450) 2019-08-02 13:41:36 -07:00
development-dependencies.asciidoc
development-elasticsearch.asciidoc
development-functional-tests.asciidoc [DOCS] Update functional test runner doc (#41806) (#42256) 2019-07-30 20:48:57 +02:00
development-modules.asciidoc
development-unit-tests.asciidoc