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

Provide the incoming EventListener URL to the Webhook Interceptor. #669

Merged

Conversation

bigkevmcd
Copy link
Member

Changes

Webhook Interceptors can parse the EventListener-Request-URL if they want to
extract parameters from the original request URL being handled by the
EventListener.

Fixes: #667

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

Webhook Interceptors can parse the `EventListener-Request-URL` if they want to
extract parameters from the original request URL being handled by the
EventListener.

@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 8, 2020
@tekton-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-tekton-triggers-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/interceptors/webhook/webhook.go 89.3% 89.7% 0.4

@dibyom
Copy link
Member

dibyom commented Jul 9, 2020

/kind feature

@tekton-robot tekton-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 9, 2020
@tekton-robot
Copy link

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 9, 2020
@dibyom
Copy link
Member

dibyom commented Jul 9, 2020

@bigkevmcd thanks, you might have to force push to get the easy CLA bot run again

Webhook Interceptors can parse the `EventListener-Request-URL` if they want to
extract parameters from the original request URL being handled by the
EventListener.

Co-authored-by: savitaashture <sashture@redhat.com>
@bigkevmcd bigkevmcd force-pushed the pass-url-to-webhook-interceptor branch from 0012c64 to 4f6e29d Compare July 10, 2020 11:02
@tekton-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-tekton-triggers-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/interceptors/webhook/webhook.go 89.3% 89.7% 0.4

@dibyom
Copy link
Member

dibyom commented Jul 20, 2020

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2020
@dibyom
Copy link
Member

dibyom commented Jul 20, 2020

/test pull-tekton-triggers-build-tests

@tekton-robot tekton-robot merged commit 2849271 into tektoncd:master Jul 20, 2020
@bigkevmcd bigkevmcd deleted the pass-url-to-webhook-interceptor branch September 24, 2020 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Access to URL in WebhookInterceptor
4 participants