-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[receiver/webhookevent] Add new json splitter to webhookeventreceiver #39768
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
[receiver/webhookevent] Add new json splitter to webhookeventreceiver #39768
Conversation
@shalper2 please review |
hey hey sorry for the long wait, i completely missed this! everything looks awesome just two minor requests on my end and a cheeky rebase should be enough |
1. add default to factory 2. Add tests to req_to_log_test.go
478d35c
to
3984b10
Compare
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.
thanks, looks great!
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
Description
Adds the ability to split webhook body contents at JSON boundaries so you don't have to worry about newline characters.
Link to tracking issue
Fixes #39766
Testing
Added a test case to show newline vs json handling.
Documentation
Readme was updated with an additional example.