-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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, formatter: make address formats consistent in substitution_formatter & header_formatter #19613
Conversation
…rmatter & header_formatter The substitution_formatter & header_formatter formatters do not cover all 15 combinations of address & output type, so make it more consistent. Output formats: - _ADDRESS - _ADDRESS_WITHOUT_PORT - _PORT For each each address in the set: - UPSTREAM_LOCAL_ - UPSTREAM_REMOTE_ - DOWNSTREAM_LOCAL_ - DOWNSTREAM_REMOTE_ - DOWNSTREAM_DIRECT_REMOTE_ Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com>
Hi @robbat2, welcome and thank you for your contribution. We will try to review your Pull Request as quickly as possible. In the meantime, please take a look at the contribution guidelines if you have not done so already. |
…te & upstream_local The mocks were updated to use distinct addresses for downstream_direct_remote (previously the same as downstream_remote) & upstream_local (previously empty). The http_grpc_access_log_impl_test suite needs matching updates to keep passing. Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com>
The OSX failure is
|
/assign-from @envoyproxy/first-pass-reviewers |
@envoyproxy/first-pass-reviewers cannot be assigned to this issue. |
/assign-from @envoyproxy/first-pass-reviewers |
@envoyproxy/first-pass-reviewers assignee is @RyanTheOptimist |
/retest |
Retrying Azure Pipelines: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I've re-kicked off the tests to see if that failure was a flake.
/assign-from envoyproxy/senior-maintainers |
envoyproxy/senior-maintainers assignee is @htuch |
…ormat strings As suggested by htuch in PR#19613 review, this removes confusing wording for the address format strings, e.g. DOWNSTREAM_REMOTE_ADDRESS_WITHOUT_PORT. The new wording is applied consistently to all of the address format strings in documentation for headers and usage logs. Reference: envoyproxy#19613 (comment) Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com> Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@robbat2 I think this change should have an actual release note and not just doc updates? Can you do a follow up PR to add a release note about this? Thank you. |
…formatter & header_formatter PR#19613 missed the release note addition, which is added in this PR. Risk Level: Zero Testing: N/A. Documentation. Docs Changes: Release notes Release Notes: this change Platform Specific Features: N/A Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com> Fixes: envoyproxy#19613 Reference: envoyproxy#19613 (comment) Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com>
…formatter & header_formatter (#19708) PR#19613 missed the release note addition, which is added in this PR. Risk Level: Zero Testing: N/A. Documentation. Docs Changes: Release notes Release Notes: this change Platform Specific Features: N/A Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com> Fixes: #19613 Reference: #19613 (comment) Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com>
…rmatter & header_formatter (envoyproxy#19613) The substitution_formatter & header_formatter formatters do not cover all 15 combinations of address & output type, so make it more consistent. Output formats: _ADDRESS _ADDRESS_WITHOUT_PORT _PORT For each each address in the set: UPSTREAM_LOCAL_ UPSTREAM_REMOTE_ DOWNSTREAM_LOCAL_ DOWNSTREAM_REMOTE_ DOWNSTREAM_DIRECT_REMOTE_ Risk Level: Low Testing: unit tests added & passed for all inputs Docs Changes: Adds format specifiers Release Notes: router: add upstream/downstream local/remote format specifiers; formatter: add upstream/downstream local/remote format specifiers Platform Specific Features: N/A Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com> Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Signed-off-by: Josh Perry <josh.perry@mx.com>
…formatter & header_formatter (envoyproxy#19708) PR#19613 missed the release note addition, which is added in this PR. Risk Level: Zero Testing: N/A. Documentation. Docs Changes: Release notes Release Notes: this change Platform Specific Features: N/A Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com> Fixes: envoyproxy#19613 Reference: envoyproxy#19613 (comment) Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com> Signed-off-by: Josh Perry <josh.perry@mx.com>
The substitution_formatter & header_formatter formatters do not cover
all 15 combinations of address & output type, so make it more
consistent.
Output formats:
For each each address in the set:
Signed-off-by: Robin H. Johnson robbat2@gentoo.org
Signed-off-by: Robin H. Johnson rjohnson@digitalocean.com
Risk Level: Low
Testing: unit tests added & passed for all inputs
Docs Changes: Adds format specifiers
Release Notes: router: add upstream/downstream local/remote format specifiers; formatter: add upstream/downstream local/remote format specifiers
Platform Specific Features: N/A