Skip to content

Add support for dynamic actions#44

Closed
inlined wants to merge 14 commits into
knative:masterfrom
inlined:event-delivery.dynamic-action
Closed

Add support for dynamic actions#44
inlined wants to merge 14 commits into
knative:masterfrom
inlined:event-delivery.dynamic-action

Conversation

@inlined
Copy link
Copy Markdown
Contributor

@inlined inlined commented Apr 17, 2018

Fixes Issue #42

THIS PR BUILDS UPON #40, so it includes all of that code. The actual diff is +208 -148 LOC

Builds upon

Proposed Changes

  • Bind.Spec.Action includes a Processor and Name. The valid Processors right now are elafros.dev/Route and eventing.elafros.dev/EventLogger
  • POSTing to /v1alpha1/namespaces//flows/:sendEvent will deliver events to the correct destination
  • Bind controller assumes less that the action is an ElaRoute.
  • Bind controller can now cleanly handle Binds without a Trigger (useful for demos where you just want to curl your events)

inlined added 2 commits April 16, 2018 15:57
* Changes to "triggers":
  * Renamed the "triggers" pacakge to "sources" to avoid confusion.
  * EventTriggers (FKA Sources) now take EventTriggers instead of
    just params.
  * source.EventTrigger is different from v1alpha1.EventTrigger because
    the latter has embedded Raw types that would be hard to use.
* Updated GitHub sample:
  * Renamed the EventSource to "github.com" rather than just "github"
    to better align with GCF. I think this revealed something about
    the control plane model that I want to discuss.
  * Updated pullrequest.yaml to match new format.
* As part of this I made a minor change to update-deps to work on mac
(gnu-sed still required).
@google-prow-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: inlined

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

@google-prow-robot google-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Apr 17, 2018
@inlined
Copy link
Copy Markdown
Contributor Author

inlined commented Apr 17, 2018

/assign @vaikas-google

Once #40 is accepted, I'll rebase this and it gets much simpler. Otherwise you can review as of "Change Bind.Spec.Action and regenerate"

@inlined
Copy link
Copy Markdown
Contributor Author

inlined commented Apr 18, 2018

/unassign @vaikas-google
/assign @eobrain

@google-prow-robot google-prow-robot assigned eobrain and unassigned vaikas Apr 18, 2018
inlined added 12 commits April 23, 2018 14:28
Also refactored some of the Bind controller so that
we can cleanly handle Binds without an event trigger.
Binds without triggers aren't a great golden road,
but will help us experiment with new event providers
(e.g. those demoed at KubeCon) with zero infra changes.
@inlined inlined closed this Apr 25, 2018
mgencur pushed a commit to mgencur/eventing that referenced this pull request Apr 8, 2019
matzew added a commit to matzew/eventing that referenced this pull request Dec 23, 2022
The PingSource was not exporting metrics on the advertised port
on the Deployment (metrics, 9090) but it was using 9092.

In addition any component using the adapter/v2 code suffers
from unexported metrics because the exporter was created
only after an update to `config-observability` since
the watcher was started before the observer was registered as
side effect of calling `CreateLogger`.

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
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. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants