Table of Contents

Class ApiNames

Namespace
Virtufin.Api.Services
Assembly
Virtufin.Api.dll

The gateway's own names, from its virtufin.service.api naming fragment (embedded; naming/virtufin.service.api.yaml). The gateway names only what it publishes itself: it never parses or validates callers' topics or keys.

public static class ApiNames
Inheritance
ApiNames
Inherited Members

Fields

Added

Event of topics new to the catalog.

public const string Added = "added"

Field Value

string

ConnectionIdParam

The connection id parameter of the fenced-publication keys.

public const string ConnectionIdParam = "connection_id"

Field Value

string

Deleted

Event of a state delete.

public const string Deleted = "deleted"

Field Value

string

Fired

Event of a trigger firing.

public const string Fired = "fired"

Field Value

string

Packed

Event of a batch entry: events packed into one stream entry.

public const string Packed = "packed"

Field Value

string

PayloadSchemaCatalogKey

sys.api.payload-schema.catalog: every registered content type with its schema's hash.

public static readonly string PayloadSchemaCatalogKey

Field Value

string

PayloadSchemaHashParam

The hash parameter of a payload schema's blob key.

public const string PayloadSchemaHashParam = "hash"

Field Value

string

PublicationIndexKey

sys.api.publication.fence.index: the connections that have a fence.

public static readonly string PublicationIndexKey

Field Value

string

PubsubBatch

The pub/sub stream's batch entry: only its CloudEvent type is used (Virtufin.Api.Services.PubsubBatchEntry).

public static readonly Entity PubsubBatch

Field Value

Entity

PubsubProgress

sys.api.pubsub.progress: consumers' positions, shared by the gateway pods (ConsumerProgress).

public static readonly Entity PubsubProgress

Field Value

Entity

Registry

The composed registry: virtufin.core plus the gateway's fragment.

public static readonly NameRegistry Registry

Field Value

NameRegistry

Reported

Event of consumers' positions reported.

public const string Reported = "reported"

Field Value

string

Saved

Event of a state save.

public const string Saved = "saved"

Field Value

string

Scheduled

Event of a trigger scheduled (its deletion is Deleted).

public const string Scheduled = "scheduled"

Field Value

string

Service

The service segment of the gateway's names and source URN.

public const string Service = "api"

Field Value

string

Source

The gateway's CloudEvent source, urn:com.virtufin:api.

public static readonly string Source

Field Value

string

State

sys.api.state.

public static readonly Entity State

Field Value

Entity

TopicCatalog

sys.api.topic.catalog: its Added event announces new topics.

public static readonly Entity TopicCatalog

Field Value

Entity

TopicCatalogKey

sys.api.topic.catalog: the topics seen at the gateway (Pubsub.ListTopics).

public static readonly string TopicCatalogKey

Field Value

string

Trigger

sys.api.trigger.

public static readonly Entity Trigger

Field Value

Entity

TriggerIdParam

The identity parameter of a trigger's metadata key: the trigger id, a UUID.

public const string TriggerIdParam = "trigger_id"

Field Value

string

TriggerMetadataIndexKey

sys.api.trigger.metadata.index: every trigger metadata record's id, with when it was added.

public static readonly string TriggerMetadataIndexKey

Field Value

string

UnknownSource

The source of a stream entry that decodes as no CloudEvent, urn:com.virtufin:api:unknown.

public static readonly string UnknownSource

Field Value

string

Methods

PayloadSchemaBlobKey(string)

sys.api.payload-schema.blob.<hash>: a schema's bytes, raw, under their SHA-256.

public static string PayloadSchemaBlobKey(string hash)

Parameters

hash string

Returns

string

PublicationFenceKey(string)

sys.api.publication.fence.<connection_id>: token and lease.

public static string PublicationFenceKey(string connectionId)

Parameters

connectionId string

Returns

string

TriggerMetadataKey(string)

sys.api.trigger.metadata.<trigger id>: a trigger's tags, groups and owner.

public static string TriggerMetadataKey(string triggerId)

Parameters

triggerId string

Returns

string