Class ApiNames
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
ConnectionIdParam
The connection id parameter of the fenced-publication keys.
public const string ConnectionIdParam = "connection_id"
Field Value
Deleted
Event of a state delete.
public const string Deleted = "deleted"
Field Value
Fired
Event of a trigger firing.
public const string Fired = "fired"
Field Value
Packed
Event of a batch entry: events packed into one stream entry.
public const string Packed = "packed"
Field Value
PayloadSchemaCatalogKey
sys.api.payload-schema.catalog: every registered content type with its schema's hash.
public static readonly string PayloadSchemaCatalogKey
Field Value
PayloadSchemaHashParam
The hash parameter of a payload schema's blob key.
public const string PayloadSchemaHashParam = "hash"
Field Value
PublicationIndexKey
sys.api.publication.fence.index: the connections that have a fence.
public static readonly string PublicationIndexKey
Field Value
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
Saved
Event of a state save.
public const string Saved = "saved"
Field Value
Scheduled
Event of a trigger scheduled (its deletion is Deleted).
public const string Scheduled = "scheduled"
Field Value
Service
The service segment of the gateway's names and source URN.
public const string Service = "api"
Field Value
Source
The gateway's CloudEvent source, urn:com.virtufin:api.
public static readonly string Source
Field Value
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
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
TriggerMetadataIndexKey
sys.api.trigger.metadata.index: every trigger metadata record's id, with when it was added.
public static readonly string TriggerMetadataIndexKey
Field Value
UnknownSource
The source of a stream entry that decodes as no CloudEvent, urn:com.virtufin:api:unknown.
public static readonly string UnknownSource
Field Value
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
hashstring
Returns
PublicationFenceKey(string)
sys.api.publication.fence.<connection_id>: token and lease.
public static string PublicationFenceKey(string connectionId)
Parameters
connectionIdstring
Returns
TriggerMetadataKey(string)
sys.api.trigger.metadata.<trigger id>: a trigger's tags, groups and owner.
public static string TriggerMetadataKey(string triggerId)
Parameters
triggerIdstring