Skip to content

Generalize description of EventType in CRD.#7617

Merged
knative-prow[bot] merged 1 commit into
knative:mainfrom
mgencur:generalize_event_type_crd
Jan 24, 2024
Merged

Generalize description of EventType in CRD.#7617
knative-prow[bot] merged 1 commit into
knative:mainfrom
mgencur:generalize_event_type_crd

Conversation

@mgencur
Copy link
Copy Markdown
Contributor

@mgencur mgencur commented Jan 24, 2024

EventType is now compatible with other resources as well, not just Broker.

Fixes #

Proposed Changes

  • Fix description in CRD.

Pre-review Checklist

  • At least 80% unit test coverage
  • E2E tests for any new behavior
  • Docs PR for any user-facing impact
  • Spec PR for any new API feature
  • Conformance test for any change to the spec

Release Note


Docs

EventType is now compatible with other resources as well, not just
Broker.
@knative-prow knative-prow Bot requested review from Cali0707 and lberk January 24, 2024 08:46
@knative-prow knative-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 24, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (95b9345) 74.43% compared to head (d58a229) 74.43%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7617   +/-   ##
=======================================
  Coverage   74.43%   74.43%           
=======================================
  Files         262      262           
  Lines       15058    15058           
=======================================
  Hits        11209    11209           
  Misses       3247     3247           
  Partials      602      602           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Member

@matzew matzew left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jan 24, 2024
@knative-prow
Copy link
Copy Markdown

knative-prow Bot commented Jan 24, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matzew, mgencur

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

The pull request process is described 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

@knative-prow knative-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 24, 2024
@mgencur
Copy link
Copy Markdown
Contributor Author

mgencur commented Jan 24, 2024

/test reconciler-tests

@knative-prow knative-prow Bot merged commit 9b6c7e2 into knative:main Jan 24, 2024
mgencur added a commit to mgencur/eventing that referenced this pull request Jan 24, 2024
Generalize description of EventType.

EventType is now compatible with other resources as well, not just
Broker.
mgencur added a commit to mgencur/eventing that referenced this pull request Jan 25, 2024
Generalize description of EventType.

EventType is now compatible with other resources as well, not just
Broker.
mgencur added a commit to mgencur/eventing that referenced this pull request Jan 29, 2024
Generalize description of EventType.

EventType is now compatible with other resources as well, not just
Broker.
openshift-merge-bot Bot pushed a commit to openshift-knative/eventing that referenced this pull request Jan 29, 2024
* Added rekt test for channel event autocreate (knative#7198)

Signed-off-by: Calum Murray <cmurray@redhat.com>

* Move eventtype rekttest pingsource to experiment (knative#7180)

* Fix the merge conflict and fix the logical error in the test

Signed-off-by: Leo Li <leoli@redhat.com>

* Add the auto eventType creation support

Signed-off-by: Leo Li <leoli@redhat.com>

* reformat and remove the comments

Signed-off-by: Leo Li <leoli@redhat.com>

* Remove the assertReference function

Signed-off-by: Leo Li <leoli@redhat.com>

* fix reviewDog issue

Signed-off-by: Leo Li <leoli@redhat.com>

* Update test/rekt/resources/eventtype/eventtype.go

Co-authored-by: Calum Murray <cmurray@redhat.com>

* fix reviewDog issue

Signed-off-by: Leo Li <leoli@redhat.com>

* Move the test to experimental rekt

Signed-off-by: Leo Li <leoli@redhat.com>

* Remove the eventtype test from the pingsource rekt test

Signed-off-by: Leo Li <leoli@redhat.com>

* Rename the test name to make it more intuitive

Signed-off-by: Leo Li <leoli@redhat.com>

* Revert the unit test change

Signed-off-by: Leo Li <leoli@redhat.com>

* Format fix

Signed-off-by: Leo Li <leoli@redhat.com>

* format fix

Signed-off-by: Leo Li <leoli@redhat.com>

* Fix Christoph's comment

Signed-off-by: Leo Li <leoli@redhat.com>

* go imports

Signed-off-by: Leo Li <leoli@redhat.com>

* Update test/experimental/features/eventtype_autocreation/eventtype.go

Co-authored-by: Christoph Stäbler <cstabler@redhat.com>

* Update test/experimental/eventtype_autocreation_test.go

Co-authored-by: Christoph Stäbler <cstabler@redhat.com>

* Apply suggestions from code review

Co-authored-by: Christoph Stäbler <cstabler@redhat.com>

* Change the name of the file

Signed-off-by: Leo Li <leoli@redhat.com>

* Update the deprecated string

Signed-off-by: Leo Li <leoli@redhat.com>

* Update test/rekt/features/pingsource/features.go

Co-authored-by: Calum Murray <cmurray@redhat.com>

* Manually merge the chanhges from Calum's ticket

Signed-off-by: Leo Li <leoli@redhat.com>

* Manually merge the chanhges from Calum's ticket

Signed-off-by: Leo Li <leoli@redhat.com>

---------

Signed-off-by: Leo Li <leoli@redhat.com>
Co-authored-by: Calum Murray <cmurray@redhat.com>
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
Co-authored-by: Matthias Wessendorf <mwessend@redhat.com>

* Added rekt test for broker eventtype autocreate (knative#7202)

Signed-off-by: Calum Murray <cmurray@redhat.com>

* change the deprecated string (knative#7179)

* change the deprecated string

* Apply suggestions from code review

Co-authored-by: Calum Murray <cmurray@redhat.com>

---------

Co-authored-by: Calum Murray <cmurray@redhat.com>

* rekt test to verify only one EventType created for MTBroker (knative#7586)

fix: eventtype autocreate for broker asserts that only one et is created

Signed-off-by: Calum Murray <cmurray@redhat.com>

* Generalize description of EventType in CRD. (knative#7617)

Generalize description of EventType.

EventType is now compatible with other resources as well, not just
Broker.

* Scripts for executing experimental reconciler tests

* Revert "change the deprecated string (knative#7179)"

This reverts commit 7659227.

* Revert "Move eventtype rekttest pingsource to experiment (knative#7180)"

This reverts commit c8d12c3.

* Revert "rekt test to verify only one EventType created for MTBroker (knative#7586)"

This reverts commit 4eac230.

* Revert "Revert "change the deprecated string (knative#7179)""

This reverts commit e469414.

* Use sources.ApiServerSourceEventResourceModeTypes for ApiServerSource

* Clean up imports

---------

Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Leo Li <leoli@redhat.com>
Co-authored-by: Calum Murray <cmurray@redhat.com>
Co-authored-by: Leo Li <leoli@redhat.com>
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
Co-authored-by: Matthias Wessendorf <mwessend@redhat.com>
Co-authored-by: Iqbal H <52209787+Iiqbal2000@users.noreply.github.com>
openshift-merge-bot Bot pushed a commit to openshift-knative/eventing that referenced this pull request Jan 29, 2024
* Generalize description of EventType in CRD. (knative#7617)

Generalize description of EventType.

EventType is now compatible with other resources as well, not just
Broker.

* Scripts for executing experimental reconciler tests

* Fix script_dir path
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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants