feat: introduce Message, Serializer, Deserializer and Binding interfaces by lance · Pull Request #324 · cloudevents/sdk-javascript

@lance lance requested a review from a team

August 22, 2020 20:09

@lance

This commit introduces the Message, Serializer and Deserializer, and Binding
interfaces used to convert a CloudEvent into a Message that can be sent across
a transport protocol. The first protocol implemented for this is HTTP, and some
of the functionality formerly in src/transport/http has been simplified,
reduced and/or moved to /src/messages/http.

Test for V1 events are in place. Conformance tests have been modified to use
these new interfaces vs. the HTTP Receiver class.

Signed-off-by: Lance Ball <lball@redhat.com>

@lance lance changed the title Lance/ce next Introduce Message, Serializer, Deserializer and Binding interfaces

Aug 22, 2020

@lance lance changed the title Introduce Message, Serializer, Deserializer and Binding interfaces feat: introduce Message, Serializer, Deserializer and Binding interfaces

Aug 22, 2020
Signed-off-by: Lance Ball <lball@redhat.com>
Signed-off-by: Lance Ball <lball@redhat.com>

lholmquist

@lance

Signed-off-by: Lance Ball <lball@redhat.com>

@lance lance marked this pull request as draft

August 24, 2020 14:47

@lance

Signed-off-by: Lance Ball <lball@redhat.com>
Signed-off-by: Lance Ball <lball@redhat.com>
Signed-off-by: Lance Ball <lball@redhat.com>
Signed-off-by: Lance Ball <lball@redhat.com>

@lance lance marked this pull request as ready for review

August 24, 2020 18:17

@lance

Fixes: #295

Signed-off-by: Lance Ball <lball@redhat.com>

@lance lance mentioned this pull request

Aug 24, 2020

lholmquist

lholmquist

lholmquist

@lance

Signed-off-by: Lance Ball <lball@redhat.com>

@lance

Signed-off-by: Lance Ball <lball@redhat.com>

@lance

Signed-off-by: Lance Ball <lball@redhat.com>

lholmquist

@lance lance deleted the lance/ce-next branch

August 26, 2020 22:26

lance added a commit that referenced this pull request

Sep 3, 2020
…ces (#324)

* lib(messages): Implement a 4.0 Messages and other supporting interfaces

This commit introduces the Message, Serializer and Deserializer, and Binding
interfaces used to convert a CloudEvent into a Message that can be sent across
a transport protocol. The first protocol implemented for this is HTTP, and some
of the functionality formerly in src/transport/http has been simplified,
reduced and/or moved to /src/messages/http.

Test for V1 and V3 events are in place. Conformance tests have been modified to use
these new interfaces vs. the HTTP Receiver class.

Signed-off-by: Lance Ball <lball@redhat.com>

This was referenced

Sep 9, 2020

lance added a commit that referenced this pull request

Sep 11, 2020
…ces (#324)

* lib(messages): Implement a 4.0 Messages and other supporting interfaces

This commit introduces the Message, Serializer and Deserializer, and Binding
interfaces used to convert a CloudEvent into a Message that can be sent across
a transport protocol. The first protocol implemented for this is HTTP, and some
of the functionality formerly in src/transport/http has been simplified,
reduced and/or moved to /src/messages/http.

Test for V1 and V3 events are in place. Conformance tests have been modified to use
these new interfaces vs. the HTTP Receiver class.

Signed-off-by: Lance Ball <lball@redhat.com>

@lance lance mentioned this pull request

Sep 25, 2020