Class CloudEvents
Constants for CloudEvents v1.0 metadata keys and standard values.
Used by services that publish lifecycle events to the virtufin-api
via Pubsub.PublishEvent with the per-service topic name from
the publishing service's Configuration/Topics.cs. All values
are spelled per the CloudEvents v1.0 spec
(https://github.com/cloudevents/spec/blob/v1.0/spec.md).
public static class CloudEvents
- Inheritance
-
CloudEvents
- Inherited Members
Fields
DataContentType
public const string DataContentType = "ce-datacontenttype"
Field Value
DataContentTypeJson
The default data content type for system-event payloads.
public const string DataContentTypeJson = "application/json"
Field Value
Id
public const string Id = "ce-id"
Field Value
Prefix
Common prefix for all CloudEvents v1.0 attribute keys.
public const string Prefix = "ce-"
Field Value
Source
public const string Source = "ce-source"
Field Value
SpecVersion
public const string SpecVersion = "ce-specversion"
Field Value
SpecVersionValue
The CloudEvents spec version this codebase targets.
public const string SpecVersionValue = "1.0"
Field Value
Time
public const string Time = "ce-time"
Field Value
Type
public const string Type = "ce-type"