kibana/test/plugin_functional/plugins
Brandon Kobel 83bc5004e3
Allow routes to specify the idle socket timeout in addition to the payload timeout (#73730)
* Route options timeout -> timeout.payload

* timeout.idleSocket can now be specified per route

* Removing nested ternary

* Fixing integration tests

* Trying to actually fix the integration tests. Existing tests are hitting
idle socket timeout, not the payload timeout

* Fixing payload post timeout integration test

* Fixing PUT and DELETE payload sending too long tests

* Fixing type-script errors

* GET routes can't specify the payload timeout, they can't accept payloads

* Removing some redundancy in the tests

* Adding 'Transfer-Encoding: chunked' to the POST test

* Fixing POST/GET/PUT quick tests

* Adding idleSocket timeout test

* Removing unnecessary `isSafeMethod` call

* Updating documentation

* Removing PUT/DELETE integration tests

* Working around the HapiJS bug

* Deleting unused type import

* The socket can be undefined...

This occurs when using @hapi/shot directly or indirectly via
Server.inject. In these scenarios, there isn't a socket. This can also
occur when a "fake request" is used by the hacky background jobs:
Reporting and Alerting...

* Update src/core/server/http/http_server.ts

Co-authored-by: Josh Dover <me@joshdover.com>

* Adding payload timeout functional tests

* Adding idle socket timeout functional tests

* Adding better comments, using ?? instead of ||

* Fixing the plugin fixture TS

* Fixing some typescript errors

* Fixing plugin fixture tsconfig.json

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Josh Dover <me@joshdover.com>
2020-08-18 10:46:08 -07:00
..
app_link_test [kbn/optimizer] implement "requiredBundles" property of KP plugins (#70911) 2020-07-09 18:43:17 -07:00
core_app_status Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) 2020-08-05 17:32:19 +02:00
core_plugin_a Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
core_plugin_appleave Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
core_plugin_b Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
core_plugin_chromeless Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
core_plugin_route_timeouts Allow routes to specify the idle socket timeout in addition to the payload timeout (#73730) 2020-08-18 10:46:08 -07:00
core_plugin_static_assets Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
core_provider_plugin Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) 2020-08-05 17:32:19 +02:00
doc_views_plugin Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
elasticsearch_client_plugin [KP] Expose new es client (#73651) 2020-07-30 19:12:37 +02:00
index_patterns moving indexPattern.delete() to indexPatterns.delete(indexPattern) (#70430) 2020-07-07 09:21:00 +02:00
kbn_sample_panel_action Upgrade EUI to v27.4.0 (#74004) 2020-08-14 10:31:15 -06:00
kbn_top_nav Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
kbn_tp_custom_visualizations Upgrade EUI to v27.4.0 (#74004) 2020-08-14 10:31:15 -06:00
management_test_plugin Management API - simpler interface, remove app context usage (#71144) 2020-07-14 11:30:01 -05:00
rendering_plugin Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
ui_settings_plugin Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00