Skip to content

Conversation

@lance
Copy link
Member

@lance lance commented Nov 24, 2021

This is experimental and still a work in progress. Would be interested in thoughts folks have on this - esp things like HTTP.toEvent(): CloudEvent | CloudEvent[]. The modifications were pretty simple in order to support batch mode, in my opinion. But it might have made some usage clunky, such as that. Marked as a WiP so I can add more tests and the overall design/direction can be hashed out first (if this doesn't look quite right).

/cc @cloudevents/sdk-javascript-maintainers

Fixes: #440 (eventually)

Signed-off-by: Lance Ball [email protected]

@lance lance added type/enhancement New feature or request module/transport/http Issues related to the HTTP transport protocol implementation spec/1.0 Issues related to the CE specification labels Nov 24, 2021
@lance lance requested a review from a team November 24, 2021 18:21
@lance lance self-assigned this Nov 24, 2021
lance added 4 commits December 7, 2021 13:37
This is experimental and still a work in progress.

Fixes: cloudevents#440 (eventually)

Signed-off-by: Lance Ball <[email protected]>
Signed-off-by: Lance Ball <[email protected]>
@lance lance force-pushed the lance/440-add-batch branch from ee150f2 to 7d5b2ba Compare December 7, 2021 18:52
Signed-off-by: Lance Ball <[email protected]>
@lance lance marked this pull request as ready for review December 7, 2021 19:24
@lance
Copy link
Member Author

lance commented Dec 7, 2021

@grant thanks for the earlier review. I have made a few modifications since then, so if you don't mind a second look I would appreciate it. @lholmquist if you've got feedback on this I would welcome it as well. Thanks!

@lance lance requested review from grant and lholmquist December 7, 2021 19:25
@lance lance merged commit 9a46e33 into cloudevents:main Dec 7, 2021
Copy link
Member

@grant grant left a comment

Choose a reason for hiding this comment

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

No concerns. LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module/transport/http Issues related to the HTTP transport protocol implementation spec/1.0 Issues related to the CE specification type/enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Does not support Batched Content Mode but does not fail with spec validation error

3 participants