kibana/test/plugin_functional/plugins
Brandon Kobel 8946b68aa0
Allow routes to specify the idle socket timeout in addition to the payload timeout (#73730) (#75350)
* 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>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Josh Dover <me@joshdover.com>
2020-08-19 06:50:29 -07:00
..
app_link_test Revert "Revert "[7.x] [kbn/optimizer] implement "requiredBundles" property of KP plugins (#70911) (#71355)" (#71382)" 2020-07-10 20:13:28 -07:00
core_app_status [7.x] Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) (#74384) 2020-08-05 21:45:29 +02:00
core_plugin_a
core_plugin_appleave
core_plugin_b
core_plugin_chromeless
core_plugin_route_timeouts Allow routes to specify the idle socket timeout in addition to the payload timeout (#73730) (#75350) 2020-08-19 06:50:29 -07:00
core_plugin_static_assets
core_provider_plugin [7.x] Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) (#74384) 2020-08-05 21:45:29 +02:00
doc_views_plugin
elasticsearch_client_plugin [KP] Expose new es client (#73651) (#73840) 2020-07-30 21:09:14 +02:00
index_patterns moving indexPattern.delete() to indexPatterns.delete(indexPattern) (#70430) (#70922) 2020-07-07 13:19:40 +02:00
kbn_sample_panel_action Upgrade EUI to v27.4.0 (#74004) (#75064) 2020-08-14 17:55:16 -06:00
kbn_top_nav
kbn_tp_custom_visualizations Upgrade EUI to v27.4.0 (#74004) (#75064) 2020-08-14 17:55:16 -06:00
management_test_plugin Management API - simpler interface, remove app context usage (#71144) (#71716) 2020-07-14 15:29:22 -05:00
rendering_plugin
ui_settings_plugin