Skip to content

Rename eventDef correlation properties #679

Closed
@cdavernas

Description

@cdavernas

What would you like to be added:

Rename the eventDef's correlation object properties to have something shorter, as explicit, and cleaner IMHO.

Currently, we have:

...
events:
- name: MyEvent
  kind: consumed
  source: ...
  type: ...
  correlation:
  - contextAttributeName: ...
    contextAttributeValue: ...
...

What I propose is to have:

...
events:
- name: MyEvent
  kind: consumed
  source: ...
  type: ...
  correlation:
  - name: ...
    value: ...
...

Why is this needed:

Shorter, cleaner, easier to write without typo/casing mistake, self-explainatory

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: specChanges in the Specificationchange: featureNew feature or request. Impacts in a minor version change

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions