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

Rename Sinkable to Addressable. #583

Conversation

evankanderson
Copy link
Member

Temporarily use Addressable for Callable as well.

Fixes #542

Proposed Changes

  • Rename Sinkable to Addressable, update docs.
  • Rename Targetable to Callable. Currently, the interface for Callable is the same as Addressable, but we will probably use an annotation to distinguish between the two in the future.

I also re-wrapped a few lines that were folded just over 80 chars while I was fixing comments. Sorry!

Release Note

* Updates the contract for receiving events to be named Addressable.
* Updates the contract for returning events in response to a delivered event to be named Callable. This is not currently distinguished by type from Addressable.

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Nov 6, 2018
@knative-prow-robot knative-prow-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 6, 2018
@n3wscott
Copy link
Contributor

n3wscott commented Nov 6, 2018

lgtm

I want a second review, so I will let someone else let it commit.

@@ -167,17 +167,17 @@ func (r *reconciler) updateStatus(subscription *v1alpha1.Subscription) (*v1alpha
}
Copy link
Member

Choose a reason for hiding this comment

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

this file has one more reference to Targetable:

return fmt.Errorf("could not get domain from subscriber (is it not targetable?)")

@@ -54,7 +54,7 @@ const (
testNS = "testnamespace"
Copy link
Member

Choose a reason for hiding this comment

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

should this, and references be changed too?

sinkableDNS = "myresultchannel.mynamespace.svc.cluster.local"

@matzew
Copy link
Member

matzew commented Nov 6, 2018

/lgtm
/hold

added some minor comments

@knative-prow-robot knative-prow-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Nov 6, 2018
@vaikas
Copy link
Contributor

vaikas commented Nov 6, 2018

I think we also need to update the eventing-sources repo for the sources in there?

@vaikas
Copy link
Contributor

vaikas commented Nov 6, 2018

Did you run through the samples to see if they still work after this change?

@vaikas vaikas removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 6, 2018
@vaikas
Copy link
Contributor

vaikas commented Nov 6, 2018

/approve

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: evankanderson, vaikas-google

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:
  • OWNERS [evankanderson,vaikas-google]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. 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.

Update Interfaces to match spec
7 participants