Skip to content

[WIP] Trigger.Filter now supports the CNCF Subscription API#5205

Closed
slinkydeveloper wants to merge 6 commits into
knative:mainfrom
slinkydeveloper:new_filters_api
Closed

[WIP] Trigger.Filter now supports the CNCF Subscription API#5205
slinkydeveloper wants to merge 6 commits into
knative:mainfrom
slinkydeveloper:new_filters_api

Conversation

@slinkydeveloper
Copy link
Copy Markdown
Contributor

@slinkydeveloper slinkydeveloper commented Apr 6, 2021

Signed-off-by: Francesco Guardiani francescoguard@gmail.com

Part of #5204

Proposed Changes

  • 🎁 Add fields and update godocs to conform to the CNCF Subscription API. This is not breaking.

Release Note

Now Trigger.filter supports the CNCF Subscription API filters

@knative-prow-robot knative-prow-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. area/test-and-release Test infrastructure, tests or release labels Apr 6, 2021
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from slinkydeveloper after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Details 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

@google-cla google-cla Bot added the cla: yes Indicates the PR's author has signed the CLA. label Apr 6, 2021
@slinkydeveloper slinkydeveloper changed the title Trigger.Filter now supports the CNCF Subscription API [WIP] Trigger.Filter now supports the CNCF Subscription API Apr 6, 2021
@knative-prow-robot knative-prow-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 6, 2021
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Added definition to the OpenAPI

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@knative-prow-robot knative-prow-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 7, 2021
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 7, 2021

Codecov Report

Merging #5205 (89db05f) into main (5171353) will increase coverage by 0.15%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5205      +/-   ##
==========================================
+ Coverage   83.31%   83.47%   +0.15%     
==========================================
  Files         243      243              
  Lines        6917     6934      +17     
==========================================
+ Hits         5763     5788      +25     
+ Misses        801      797       -4     
+ Partials      353      349       -4     
Impacted Files Coverage Δ
pkg/apis/eventing/v1/trigger_types.go 100.00% <ø> (ø)
pkg/apis/eventing/v1/trigger_validation.go 94.53% <100.00%> (+4.12%) ⬆️
pkg/broker/ingress/ingress_handler.go 62.76% <0.00%> (ø)
pkg/apis/sources/v1beta1/ping_conversion.go 94.44% <0.00%> (+7.95%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5171353...89db05f. Read the comment docs.

@n3wscott
Copy link
Copy Markdown
Contributor

I don't think this can land until we get to our 1.0 milestone. it changes too much for what the eventing spec is for triggers.

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@knative-prow-robot knative-prow-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Apr 14, 2021
@knative-metrics-robot
Copy link
Copy Markdown

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

File Old Coverage New Coverage Delta
pkg/apis/eventing/v1/trigger_validation.go 96.6% 97.9% 1.3

@github-actions
Copy link
Copy Markdown
Contributor

This Pull Request is stale because it has been open for 90 days with
no activity. It will automatically close after 30 more days of
inactivity. Reopen with /reopen. Mark as fresh by adding the
comment /remove-lifecycle stale.

@github-actions github-actions Bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 14, 2021
@github-actions github-actions Bot closed this Aug 13, 2021
@devguyio devguyio removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 7, 2021
@devguyio devguyio mentioned this pull request Sep 9, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/test-and-release Test infrastructure, tests or release cla: yes Indicates the PR's author has signed the CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants