Table of Contents

Class CloudEvents

Namespace
Virtufin.Api.Client
Assembly
Virtufin.Api.Client.dll

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

string

DataContentTypeJson

The default data content type for system-event payloads.

public const string DataContentTypeJson = "application/json"

Field Value

string

Id

public const string Id = "ce-id"

Field Value

string

Prefix

Common prefix for all CloudEvents v1.0 attribute keys.

public const string Prefix = "ce-"

Field Value

string

Source

public const string Source = "ce-source"

Field Value

string

SpecVersion

public const string SpecVersion = "ce-specversion"

Field Value

string

SpecVersionValue

The CloudEvents spec version this codebase targets.

public const string SpecVersionValue = "1.0"

Field Value

string

Time

public const string Time = "ce-time"

Field Value

string

Type

public const string Type = "ce-type"

Field Value

string