Skip to content

Adding v1.0 new types and validation for v1.0 events.#203

Merged
n3wscott merged 17 commits into
cloudevents:masterfrom
n3wscott:v1-conformance
Sep 20, 2019
Merged

Adding v1.0 new types and validation for v1.0 events.#203
n3wscott merged 17 commits into
cloudevents:masterfrom
n3wscott:v1-conformance

Conversation

@n3wscott
Copy link
Copy Markdown
Member

Follow up to #194 adding new data types and validation testing for the spec.

Scott Nichols and others added 13 commits September 20, 2019 10:30
Signed-off-by: Scott Nichols <nicholss@google.com>
…ptions. (cloudevents#171)

Signed-off-by: Scott Nichols <nicholss@google.com>
…loudevents#164)

Please see the code and doc for details.

Signed-off-by: Alan Conway <aconway@redhat.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: nachocano <nachoacano@gmail.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Main types are binding.Message, binding.Sender and binding.Receiver which
reads well in code, corresponds to CE spec use of the term "binding", and
avoids clashes with existing package name "transport".

Part of cloudevents#180 - The AMQP transport will be re-factored to use this package.

Signed-off-by: Alan Conway <aconway@redhat.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Diego Marangoni <diegomarangoni@me.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
* Found a blocking issue on pubsub transport if a subscriber had an error.

Signed-off-by: Scott Nichols <nicholss@google.com>

* make sure cancel is called

Signed-off-by: Scott Nichols <nicholss@google.com>

* go mod.

Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Scott Nichols added 2 commits September 20, 2019 14:54
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
Signed-off-by: Scott Nichols <nicholss@google.com>
// event.
type EventContextV1 struct {
// ID of the event; must be non-empty and unique within the scope of the producer.
// +required
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I have ordered these in the order the spec talks about them now. The order changed.

Copy link
Copy Markdown
Contributor

@markpeek markpeek left a comment

Choose a reason for hiding this comment

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

LGTM

@n3wscott n3wscott merged commit 851c7ab into cloudevents:master Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants