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

PublicationIndexKey

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

public static readonly string PublicationIndexKey

Field Value

string

Registry

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

public static readonly NameRegistry Registry

Field Value

NameRegistry

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

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

PublicationFenceKey(string)

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

public static string PublicationFenceKey(string connectionId)

Parameters

connectionId string

Returns

string