kibana/docs/development
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
..
core Unify response interface in handler and request interceptors (#42442) (#42918) 2019-08-08 13:51:01 +02:00
plugin single quotes missing (#30096) 2019-06-27 17:00:35 -07:00
security Feature Controls - Documentation (#35656) (#36911) 2019-05-23 06:27:59 -04:00
visualize Update paths to ui, server, deprecation, plugin_discovery in src/legacy 2019-02-11 11:06:26 -05:00
add-data-guide.asciidoc [docs] fix typos in the i18n and development docs. 2018-12-03 13:03:14 +01:00
core-development.asciidoc docs(NA): missing header for unit testing. (#33895) (#33909) 2019-03-27 00:42:29 +00:00
plugin-development.asciidoc Feature Controls - Documentation (#35656) (#36911) 2019-05-23 06:27:59 -04:00
pr-review.asciidoc docs: pull request review guidelines (#17101) 2018-04-19 12:36:37 -04:00