Skip to content

Commit

Permalink
api: support IdleTimeout in clientTrafficPolicy (envoyproxy#3042)
Browse files Browse the repository at this point in the history
* build(deps): bump github.com/prometheus/common from 0.50.0 to 0.51.1 (envoyproxy#3010)

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.50.0 to 0.51.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](prometheus/common@v0.50.0...v0.51.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* docs: fix squash link (envoyproxy#3013)

Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* api: support IdleTimeout in clientTrafficPolicy

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* build(deps): bump fortio.org/fortio from 1.63.4 to 1.63.5 (envoyproxy#3011)

Bumps [fortio.org/fortio](https://github.com/fortio/fortio) from 1.63.4 to 1.63.5.
- [Release notes](https://github.com/fortio/fortio/releases)
- [Commits](fortio/fortio@v1.63.4...v1.63.5)

---
updated-dependencies:
- dependency-name: fortio.org/fortio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* ci: trigger docs action (envoyproxy#3017)

Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* ci: fix cherrypick permission (envoyproxy#2985)

Signed-off-by: zirain <zirain2009@gmail.com>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* fix: set path prefix for http ext auth service (envoyproxy#3018)

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* feat: add Chinese language support for doc site (envoyproxy#2532)

* Add Chinese support for doc site

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* Add zh i18n for menus

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* Add zh content placeholders

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* Fix about zh page

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* Apply suggestions from code review

Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* docs: `%s/Application/API/g` (envoyproxy#2929)

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* remove old version for zh content

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* Update the latest version link

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* Fix default content dir

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* Translate landing page and fix broken link

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* Fix broken link

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* Add a contribution page

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

---------

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* feat(translator): implement connection limit (envoyproxy#2952)

* implement connection limit

Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix lint

Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix lint 2

Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix ir, coverage

Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix lint 3

Signed-off-by: Guy Daich <guy.daich@sap.com>

* open more connection in e2e

Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix error type

Signed-off-by: Guy Daich <guy.daich@sap.com>

* add additional connections

Signed-off-by: Guy Daich <guy.daich@sap.com>

* make limit value required

Signed-off-by: Guy Daich <guy.daich@sap.com>

* add error-flow unit test

Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix lint 4

Signed-off-by: Guy Daich <guy.daich@sap.com>

* assert policy accepted in test

Signed-off-by: Guy Daich <guy.daich@sap.com>

* rename limit => connectionLimit

Signed-off-by: Guy Daich <guy.daich@sap.com>

---------

Signed-off-by: Guy Daich <guy.daich@sap.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* docs: remove 0.1.0  from linkinator ignore list (envoyproxy#3015)

Signed-off-by: yuluo <karashouk.pan@gmail.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* disable connection limit test (envoyproxy#3025)

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* fix: use correct connection limit attribute name in e2e, docs (envoyproxy#3028)

fix attribute name

Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* docs: document patches in envoy proxy (envoyproxy#3027)

* docs: document patches in envoy proxy

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* fix linting issue

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* fix pr comment

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

---------

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* feat(policy): Adding BTP support for UDP/TCPRoute (envoyproxy#3004)

* Adding BTP support for UDP/TCP Routes

Signed-off-by: Alexander Volchok <alex.volchok@sap.com>

* fixining lint

Signed-off-by: Alexander Volchok <alex.volchok@sap.com>

* fix IdleTime check

Signed-off-by: Alexander Volchok <alex.volchok@sap.com>

* adding missing generates

Signed-off-by: Alexander Volchok <alex.volchok@sap.com>

* fixing code review comments

Signed-off-by: Alexander Volchok <alex.volchok@sap.com>

* incresing code coverage

Signed-off-by: Alexander Volchok <alex.volchok@sap.com>

---------

Signed-off-by: Alexander Volchok <alex.volchok@sap.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* fix: add missing http filters to the http filter chain (envoyproxy#2970)

* fix: add missing http filters to the http filter chain

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>

* refactor

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>

* fix lint

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>

* add comments

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>

* remove refactor

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>

* remove refactor

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>

* fix gen

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>

* fix lint

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* fix pr comment

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* ci: grant pull-requests permission to cherrypick action (envoyproxy#3039)

Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* Update ADOPTERS.md for Airspace Link (envoyproxy#3045)

Signed-off-by: Fabrice Aneche <akhenakh@users.noreply.github.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* feat: added option to specify resources on the OIDC security policy (envoyproxy#3030)

added option to specify resources on the OIDC filter

Signed-off-by: jaynis <kranz.jannis@googlemail.com>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* run make commands

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* fix: allow websockets in url rewrite (envoyproxy#3022)

allow websockets in url rewrite

Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: yuluo <karashouk.pan@gmail.com>
Signed-off-by: Alexander Volchok <alex.volchok@sap.com>
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Signed-off-by: Fabrice Aneche <akhenakh@users.noreply.github.com>
Signed-off-by: jaynis <kranz.jannis@googlemail.com>
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
Co-authored-by: zirain <zirain2009@gmail.com>
Co-authored-by: Wilson Wu <iwilsonwu@gmail.com>
Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com>
Co-authored-by: Guy Daich <guy.daich@sap.com>
Co-authored-by: YuLuo <karashouk.pan@gmail.com>
Co-authored-by: Alex Volchok <alex.volchok@sap.com>
Co-authored-by: Fabrice Aneche <akhenakh@users.noreply.github.com>
Co-authored-by: jaynis <kranz.jannis@googlemail.com>
Co-authored-by: Jesse Haka <haka.jesse@gmail.com>
  • Loading branch information
12 people authored and ShyunnY committed Apr 1, 2024
1 parent 9ea878f commit ba2f79c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
8 changes: 7 additions & 1 deletion api/v1alpha1/timeout_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,15 @@ type ClientTimeout struct {
}

type HTTPClientTimeout struct {
// The duration envoy waits for the complete request reception. This timer starts upon request
// RequestReceivedTimeout is the duration envoy waits for the complete request reception. This timer starts upon request
// initiation and stops when either the last byte of the request is sent upstream or when the response begins.
//
// +optional
RequestReceivedTimeout *gwapiv1.Duration `json:"requestReceivedTimeout,omitempty"`

// IdleTimeout for an HTTP connection. Idle time is defined as a period in which there are no active requests in the connection.
// Default: 1 hour.
//
// +optional
IdleTimeout *gwapiv1.Duration `json:"idleTimeout,omitempty"`
}
5 changes: 5 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,17 @@ spec:
http:
description: Timeout settings for HTTP.
properties:
idleTimeout:
description: 'IdleTimeout for an HTTP connection. Idle time
is defined as a period in which there are no active requests
in the connection. Default: 1 hour.'
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
type: string
requestReceivedTimeout:
description: The duration envoy waits for the complete request
reception. This timer starts upon request initiation and
stops when either the last byte of the request is sent upstream
or when the response begins.
description: RequestReceivedTimeout is the duration envoy
waits for the complete request reception. This timer starts
upon request initiation and stops when either the last byte
of the request is sent upstream or when the response begins.
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
type: string
type: object
Expand Down
3 changes: 2 additions & 1 deletion site/content/en/latest/api/extension_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,8 @@ _Appears in:_

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `requestReceivedTimeout` | _[Duration](#duration)_ | false | The duration envoy waits for the complete request reception. This timer starts upon request initiation and stops when either the last byte of the request is sent upstream or when the response begins. |
| `requestReceivedTimeout` | _[Duration](#duration)_ | false | RequestReceivedTimeout is the duration envoy waits for the complete request reception. This timer starts upon request initiation and stops when either the last byte of the request is sent upstream or when the response begins. |
| `idleTimeout` | _[Duration](#duration)_ | false | IdleTimeout for an HTTP connection. Idle time is defined as a period in which there are no active requests in the connection. Default: 1 hour. |


#### HTTPExtAuthService
Expand Down

0 comments on commit ba2f79c

Please sign in to comment.