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

Remove side-effect in RequestRecordFactory #117

Merged
merged 3 commits into from
Jul 23, 2021
Merged

Conversation

KarstenSchnitter
Copy link
Contributor

This PR addresses #111

This change removes the http header propagation to log fields in the RequestRecordFactory.
This feature was refactored to the AddHttpHeadersToLogContextFilter. The change include
several test to ensure correct behaviour.

This change removes the http header propagation to log fields in the RequestRecordFactory.
This feature was refactored to the AddHttpHeadersToLogContextFilter. The change include
several test to ensure correct behaviour.
Comment on lines 51 to 53
Map<String, Object> finedLineAsMapWith(String key, String expected) throws IOException {
return fineLineAsMapWith(key, expected);
}
Copy link

Choose a reason for hiding this comment

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

What does fined mean in the method name? Is this a typo, i.e. do you mean find or fine, or am I missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a typo.

Copy link

@jomora jomora left a comment

Choose a reason for hiding this comment

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

LGTM

@KarstenSchnitter KarstenSchnitter merged commit 2f192a1 into master Jul 23, 2021
@KarstenSchnitter KarstenSchnitter deleted the issue/111 branch July 23, 2021 07:34
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.

2 participants