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

agent/caching: support proxying request query parameters #6772

Merged
merged 4 commits into from
May 22, 2019

Conversation

calvn
Copy link
Contributor

@calvn calvn commented May 21, 2019

Closes #6738

@calvn calvn added this to the 1.1.3 milestone May 21, 2019
@calvn calvn requested review from briankassouf and vishalnayak May 21, 2019 23:47
// Make the request to Vault and get the response
ap.logger.Info("forwarding request", "path", req.Request.URL.Path, "method", req.Request.Method)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I swapped the log message ordering on "method" and "path" since it looks nicer IMO (similar to the browser's inspection console log messages), but can revert it back if we don't want this change.

jefferai
jefferai previously approved these changes May 22, 2019
briankassouf
briankassouf previously approved these changes May 22, 2019
@calvn calvn dismissed stale reviews from briankassouf and jefferai via 27be0c0 May 22, 2019 07:07
@calvn calvn merged commit 7345648 into master May 22, 2019
@calvn calvn deleted the agent-caching-query-params branch May 22, 2019 16:21
briankassouf pushed a commit that referenced this pull request Jun 4, 2019
* agent/caching: support proxying request query parameters

* update comment

* rejig other agent log messages to output method followed by path
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.

Agent doesn't proxy GET parameters on health check
3 participants