Skip to content

Plan for glue-ing core to api #156

@slinkydeveloper

Description

@slinkydeveloper
  1. Remove toBinaryMessage & toStructuredMessage implementing the CloudEventVisitor/CloudEventVisitable: Re: Proposal for reworking the unstructured read/write of events #150. This allows all protocol bindings/event formats to continue working
  2. Remove spec version conversion (toV1() and toV03()) from CloudEvent interface: Reimplemented Spec version conversion #147
  3. Flatten attributes implementation (this is not required, however it simplifies the code and reduce allocations): WIP from Flatten attributes interface/implementation #148
  4. Remove assumption that CloudEvent implements CloudEventVisitable: This PR will move the code under the default implementation of CloudEventVisitable under a generic CloudEventVisitable implementation for CloudEvent interface (placed in cloudevents-core)
  5. cloudevents-core depends on cloudevents-api

All PRs from 1 to 4 will change the CloudEvent interface (and friends) inside core in order to make it equal to the one inside api. After this is done, it will be trivial to remove the old interfaces in core and replace them with the ones in api.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions