specification icon indicating copy to clipboard operation
specification copied to clipboard

Rename eventDef correlation properties

Open cdavernas opened this issue 1 year ago • 7 comments

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

cdavernas avatar Sep 14 '22 15:09 cdavernas

+1

ricardozanini avatar Sep 14 '22 18:09 ricardozanini

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Oct 30 '22 00:10 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 15 '22 00:12 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 30 '23 00:01 github-actions[bot]

/remove-stale

lsytj0413 avatar Jan 30 '23 01:01 lsytj0413

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 17 '23 00:03 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 10 '23 00:07 github-actions[bot]

This has been addressed in 1.0.0-alpha1, and is closed as part of https://github.com/serverlessworkflow/specification/issues/843

cdavernas avatar May 17 '24 08:05 cdavernas