Class StateChangeEvents
CloudEvent attributes for the Tier 0 state-change topics
(sys.api.state.saved, sys.api.state.deleted).
public static class StateChangeEvents
- Inheritance
-
StateChangeEvents
- Inherited Members
Remarks
All names come from the naming library (ApiNames): the ce-type is
com.virtufin.api.state.<event>, the source urn:com.virtufin:api.
One topic and one type per action, so a subscriber can filter on either without
parsing the payload. These were com.dapr.event.sent and urn:apigateway
once: the same type for saves and deletes, which discriminated nothing.
Fields
Source
The API is the publishing service for these events.
public static readonly string Source
Field Value
TypeDeleted
public static readonly string TypeDeleted
Field Value
TypeSaved
public static readonly string TypeSaved
Field Value
TypeTriggerFired
The ce-type of a trigger firing, published on the trigger's target topic.
public static readonly string TypeTriggerFired
Field Value
Methods
TypeForAction(string)
Maps a StateActionConstants action to its ce-type.
public static string TypeForAction(string action)
Parameters
actionstring