-
Notifications
You must be signed in to change notification settings - Fork 420
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
Add EventListener UID to sink response, mark name/namespace as deprecated. #1087
Conversation
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
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.
We need to fix the e2e tests with the updated sink response. Otherwise, LGTM!
@@ -79,23 +83,28 @@ type Response struct { | |||
|
|||
// HandleEvent processes an incoming HTTP event for the event listener. | |||
func (r Sink) HandleEvent(response http.ResponseWriter, request *http.Request) { | |||
log := r.Logger.With( |
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.
Nice!
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
…ated. The goal here is to provide a more opaque identifier to name/namespace, which might contain PII in response. We will continue to support name/namespace for the time being, but mark the fields as deprecated to be removed in a later release. This change also includes minor clean up to log annotations for common identifiers.
The following is the coverage report on the affected files.
|
Done. |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dibyom The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
Add EventListener UID to sink response, mark name/namespace as deprecated.
The goal here is to provide a more opaque identifier to name/namespace,
which might contain PII in response. We will continue to support
name/namespace for the time being, but mark the fields as deprecated to
be removed in a later release.
This change also includes minor clean up to log annotations for common identifiers.
Part of #1070
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Release Notes