feat: introduce Message, Serializer, Deserializer and Binding interfaces by lance · Pull Request #324 · cloudevents/sdk-javascript
lance
requested a review
from a team
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
changed the title
Lance/ce next
Introduce Message, Serializer, Deserializer and Binding interfaces
lance
changed the title
Introduce Message, Serializer, Deserializer and Binding interfaces
feat: introduce Message, Serializer, Deserializer and Binding interfaces
lance
marked this pull request as draft
lance
marked this pull request as ready for review
Fixes: #295 Signed-off-by: Lance Ball <lball@redhat.com>
lance
mentioned this pull request
lance
deleted the
lance/ce-next
branch
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, 2020lance 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
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters