Brigade: CloudEvents support for generic gateway

Created on 9 Jan 2019  路  9Comments  路  Source: brigadecore/brigade

As #602 and #762 are getting worked on, one feature request we've been getting is support for CloudEvents.

Most of the work for this is already done in the Brigade EventGrid gateway, which already has CloudEvents support, but it would be nice for this to be supported out of the box by Brigade.

Are there any downsides to having support out of the box?

cc @squillace

enhancement help wanted

All 9 comments

None but resources. As the code is a good way there, this could be completed, but not as a part of 1.0 blocking list.

Should we add another endpoint/URL on Generic Gateway that would accept CloudEvents?

Yeah, I think that should be the way to go here.
But it shouldn't block #762 from getting merged in its current state.

cool, I'm tempted to take a look :) Is there a go package that we can go get or just simple copy this?

It depends on the versions of the CloudEvents spec we want to support.
The package you referenced implements v0.1 of the spec.

There is also an official Go SDK, and I think we ought to use that one instead (as it also implements the latest v0.2 version).

Cool, I'm tempted to take a look as soon as we merge #762 so we have a baseline

_As soon as we merge_ is now :joy:
That sounds great, let me know if there is anything I can help with.

Thanks!

thank you, I'll take a look during the next days and probably come up with a rough design here, so we can discuss and then start implement

Closing as the design proposal for this moved to #798.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

philmay picture philmay  路  4Comments

blimmer picture blimmer  路  6Comments

radu-matei picture radu-matei  路  5Comments

technosophos picture technosophos  路  6Comments

tamizharasanr picture tamizharasanr  路  4Comments