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

feat: support HTTPRequestMirrorFilter in HTTPRoute #1461

Merged
merged 3 commits into from
Nov 17, 2022

Conversation

AlinsRan
Copy link
Contributor

@AlinsRan AlinsRan commented Nov 15, 2022

Type of change:

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches

What this PR does / why we need it:

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@codecov-commenter
Copy link

Codecov Report

Merging #1461 (b6ca129) into master (5570d28) will decrease coverage by 0.09%.
The diff coverage is 11.11%.

@@            Coverage Diff             @@
##           master    #1461      +/-   ##
==========================================
- Coverage   41.35%   41.26%   -0.10%     
==========================================
  Files          82       82              
  Lines        7261     7277      +16     
==========================================
  Hits         3003     3003              
- Misses       3911     3927      +16     
  Partials      347      347              
Impacted Files Coverage Δ
...providers/gateway/translation/gateway_httproute.go 48.61% <11.11%> (-3.89%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@AlinsRan AlinsRan marked this pull request as ready for review November 16, 2022 01:06
ns = string(*reqMirror.BackendRef.Namespace)
}
// To do: Need to support https
host := fmt.Sprintf("http://%s.%s.svc.cluster.local:%d", reqMirror.BackendRef.Name, ns, port)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cluster domain can be changed.
We can just use foo.bar.svc instead

@tao12345666333 tao12345666333 merged commit 632d5c1 into apache:master Nov 17, 2022
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.

4 participants