Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

router: add dynamic metadata header formatter #11858

Conversation

rgs1
Copy link
Member

@rgs1 rgs1 commented Jul 1, 2020

This new header formatter acts in the opposite direction
of the header-to-metadata filter. That is, it allows setting
a header from what's available in a request's metadata.

We need this to populate some request headers based on what
was previously extracted and transformed via the header-to-metadata
filter.

Risk Level: low
Testing: unit test
Docs Changes: yes
Release Notes: added

Signed-off-by: Raul Gutierrez Segales rgs@pinterest.com

This new header formatter acts in the opposite direction
of the header-to-metadata filter. That is, it allows setting
a header from what's available in a request's metadata.

We need this to populate some request headers based on what
was previously extracted and transformed via the header-to-metadata
filter.

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Raul Gutierrez Segales added 6 commits July 6, 2020 13:16
@stale
Copy link

stale bot commented Jul 18, 2020

This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale stalebot believes this issue/PR has not been touched recently label Jul 18, 2020
@zuercher
Copy link
Member

Are you still working on this @rgs1 ?

@stale stale bot removed the stale stalebot believes this issue/PR has not been touched recently label Jul 20, 2020
@rgs1
Copy link
Member Author

rgs1 commented Jul 20, 2020

Are you still working on this @rgs1 ?

Yeah I'll clean it up today.

Raul Gutierrez Segales added 4 commits July 24, 2020 17:41
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
@rgs1
Copy link
Member Author

rgs1 commented Jul 27, 2020

Failure seems unrelated btw:

//test/integration:extension_discovery_integration_test                  FAILED in 2.7s

@rgs1 rgs1 changed the title router: add request metadata header formatter router: add dynamic metadata header formatter Jul 27, 2020
Raul Gutierrez Segales added 5 commits July 27, 2020 18:24
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
@stale
Copy link

stale bot commented Aug 9, 2020

This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale stalebot believes this issue/PR has not been touched recently label Aug 9, 2020
zuercher
zuercher previously approved these changes Aug 10, 2020
@stale stale bot removed the stale stalebot believes this issue/PR has not been touched recently label Aug 10, 2020
Raul Gutierrez Segales added 3 commits August 11, 2020 11:35
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
@zuercher zuercher merged commit 9d03c57 into envoyproxy:master Aug 13, 2020
mpuncel added a commit to mpuncel/envoy that referenced this pull request Aug 14, 2020
* master: (67 commits)
  logger: support log control in admin interface and command line option for Fancy Logger (envoyproxy#12369)
  test: fix http_timeout_integration_test flake (envoyproxy#12654)
  [fuzz]added an input check in writefilter fuzzer and added test cases (envoyproxy#12628)
  add 'explicit' restriction. (envoyproxy#12643)
  scoped_rds_integration_test migrate from api v2 to api v3. (envoyproxy#12633)
  fuzz: added fuzz test for listener filter tls_inspector (envoyproxy#12617)
  testing: fix multiple race conditions in simulated time tests (envoyproxy#12527)
  [tls] Move handshaking behavior into SslSocketInfo. (envoyproxy#12571)
  header: getting rid of exception-throwing behaviors in header files [the rest] (envoyproxy#12611)
  router: add new ratelimited retry backoff strategy (envoyproxy#12202)
  [redis_proxy] added a constraint for route.prefix().size() (envoyproxy#12637)
  network: add tcp listener backlog config (envoyproxy#12625)
  runtime: debug log that condition is always true when fractionalPercent numerator > denominator (envoyproxy#12068)
  WatchDog Extension hook (envoyproxy#12416)
  router: add dynamic metadata header formatter (envoyproxy#11858)
  statsd: revert visibility to public (envoyproxy#12621)
  Fix regression of /build_* in gitignore (envoyproxy#12630)
  Added a missing extension point to documentation. (envoyproxy#12620)
  Reverts proxy protocol test on windows (envoyproxy#12619)
  caching: Improved the tests and coverage of the CacheFilter tree (envoyproxy#12544)
  ...

Signed-off-by: Michael Puncel <mpuncel@squareup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants