Skip to content

Commit 3c9af0b

Browse files
Fix #616 - fix broken links from the CloudEvent Spec (#618)
Signed-off-by: Ricardo Zanini <[email protected]>
1 parent a5e55d9 commit 3c9af0b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

specification.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3329,10 +3329,10 @@ This is to assure consistency and portability of the events format used.
33293329
The `name` property defines a single name of the event that is unique inside the workflow definition. This event name can be
33303330
then referenced within [function](#Function-Definition) and [state](#Workflow-States) definitions.
33313331

3332-
The `source` property matches this event definition with the [source](https://github.com/cloudevents/spec/blob/master/spec.md#source-1)
3332+
The `source` property matches this event definition with the [source](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#source-1)
33333333
property of the CloudEvent required attributes.
33343334

3335-
The `type` property matches this event definition with the [type](https://github.com/cloudevents/spec/blob/master/spec.md#type) property of the CloudEvent required attributes.
3335+
The `type` property matches this event definition with the [type](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#type) property of the CloudEvent required attributes.
33363336

33373337
The `kind` property defines this event as either `consumed` or `produced`. In terms of the workflow, this means it is either an event
33383338
that triggers workflow instance creation, or continuation of workflow instance execution (consumed), or an event
@@ -3345,7 +3345,7 @@ Otherwise, (i.e., when the `kind` property is set to `consumed`), the `source` p
33453345
Event correlation plays a big role in large event-driven applications. Correlating one or more events with a particular workflow instance
33463346
can be done by defining the event correlation rules within the `correlation` property.
33473347
This property is an array of [correlation](#Correlation-Definition) definitions.
3348-
The CloudEvents specification allows users to add [Extension Context Attributes](https://github.com/cloudevents/spec/blob/master/spec.md#extension-context-attributes)
3348+
The CloudEvents specification allows users to add [Extension Context Attributes](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#extension-context-attributes)
33493349
and the correlation definitions can use these attributes to define clear matching event correlation rules.
33503350
Extension context attributes are not part of the event payload, so they are serialized the same way as other standard required attributes.
33513351
This means that the event payload does not have to be inspected by implementations in order to read and evaluate the defined correlation rules.
@@ -3590,8 +3590,8 @@ correlation:
35903590

35913591
Used to define event correlation rules. Only usable for `consumed` event definitions.
35923592

3593-
The `contextAttributeName` property defines the name of the CloudEvent [extension context attribute](https://github.com/cloudevents/spec/blob/master/spec.md#extension-context-attributes).
3594-
The `contextAttributeValue` property defines the value of the defined the CloudEvent [extension context attribute](https://github.com/cloudevents/spec/blob/master/spec.md#extension-context-attributes).
3593+
The `contextAttributeName` property defines the name of the CloudEvent [extension context attribute](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#extension-context-attributes).
3594+
The `contextAttributeValue` property defines the value of the defined the CloudEvent [extension context attribute](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#extension-context-attributes).
35953595

35963596
##### OnEvents Definition
35973597

@@ -3948,7 +3948,7 @@ References a `produced` and `consumed` [event definitions](#Event-Definition) vi
39483948
The `data` property can have two types: string or object. If it is of string type, it is an expression that can select parts of state data
39493949
to be used as payload of the event referenced by `produceEventRef`. If it is of object type, you can define a custom object to be the event payload.
39503950

3951-
The `contextAttributes` property allows you to add one or more [extension context attributes](https://github.com/cloudevents/spec/blob/master/spec.md#extension-context-attributes)
3951+
The `contextAttributes` property allows you to add one or more [extension context attributes](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#extension-context-attributes)
39523952
to the trigger/produced event.
39533953

39543954
The `consumeEventTimeout` property defines the maximum amount of time (ISO 8601 format) to wait for the result event. If not defined it should default to the [actionExecutionTimeout](#Workflow-Timeout-Definition).
@@ -4878,7 +4878,7 @@ one of the defined `produced` events in the [events](#Event-Definition) definiti
48784878
The `data` property can have two types, object or string. If of string type, it is an expression that can select parts of state data
48794879
to be used as the event payload. If of object type, you can define a custom object to be the event payload.
48804880

4881-
The `contextAttributes` property allows you to add one or more [extension context attributes](https://github.com/cloudevents/spec/blob/master/spec.md#extension-context-attributes)
4881+
The `contextAttributes` property allows you to add one or more [extension context attributes](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#extension-context-attributes)
48824882
to the generated event.
48834883

48844884
Being able to produce events when workflow execution completes or during state transition

0 commit comments

Comments
 (0)