Description
What would you like to be added:
Update event related features to allow access to the full cloud-event attributes, not just the payload.
Why is this needed:
Currently, the spec says that the workflow can only access the data payload of the cloud events it receives. This means a workflow can't access id, timestamp, data_base64, etc. The argument being that the runtime might receive a cloud-event via HTTP in which case most of the parameters are presented as headers (ie. not all protocols have the full cloud-event as json). As far as I can tell, regardless of the wire-format, any cloud-event received should be possible to translate to a json object. This json format is what the runtime should expose to a workflow (regardless of the wire-format it was received in).