feat: validate single-client broadcast operations
Build web service image / build (push) Successful in 1m9s
Build web service image / build (push) Successful in 1m9s
This commit is contained in:
@@ -33,6 +33,7 @@ public enum RemoteNodeStatus
|
||||
public enum RemoteTaskStatus
|
||||
{
|
||||
Pending,
|
||||
WaitingForClient,
|
||||
Accepted,
|
||||
Running,
|
||||
Succeeded,
|
||||
@@ -246,7 +247,8 @@ public sealed record RemoteNodeRegistration(
|
||||
[property: JsonPropertyName("protocol_version")] string ProtocolVersion,
|
||||
[property: JsonPropertyName("capabilities")] IReadOnlyList<string> Capabilities,
|
||||
[property: JsonPropertyName("reporting_config_version")] long ReportingConfigVersion,
|
||||
[property: JsonPropertyName("accounts")] IReadOnlyList<RemoteAccountSummary> Accounts);
|
||||
[property: JsonPropertyName("accounts")] IReadOnlyList<RemoteAccountSummary> Accounts,
|
||||
[property: JsonPropertyName("connection_id")] string? ConnectionId = null);
|
||||
|
||||
public sealed record RemoteAccountSummary(
|
||||
[property: JsonPropertyName("account_id")] string AccountId,
|
||||
@@ -259,13 +261,15 @@ public sealed record RemoteNodeRegistrationResponse(
|
||||
[property: JsonPropertyName("node_id")] string NodeId,
|
||||
[property: JsonPropertyName("status")] RemoteNodeStatus Status,
|
||||
[property: JsonPropertyName("authenticated")] bool Authenticated,
|
||||
[property: JsonPropertyName("correlation_id")] string CorrelationId);
|
||||
[property: JsonPropertyName("correlation_id")] string CorrelationId,
|
||||
[property: JsonPropertyName("connection_id")] string? ConnectionId = null);
|
||||
|
||||
public sealed record RemoteHeartbeatResponse(
|
||||
[property: JsonPropertyName("node_id")] string NodeId,
|
||||
[property: JsonPropertyName("status")] RemoteNodeStatus Status,
|
||||
[property: JsonPropertyName("last_heartbeat_at")] DateTimeOffset LastHeartbeatAt,
|
||||
[property: JsonPropertyName("correlation_id")] string CorrelationId);
|
||||
[property: JsonPropertyName("correlation_id")] string CorrelationId,
|
||||
[property: JsonPropertyName("connection_id")] string? ConnectionId = null);
|
||||
|
||||
public sealed record RemoteTaskBatch(
|
||||
[property: JsonPropertyName("tasks")] IReadOnlyList<RemoteTaskEnvelope> Tasks);
|
||||
@@ -282,7 +286,8 @@ public sealed record RemoteHeartbeat(
|
||||
[property: JsonPropertyName("queue_length")] int QueueLength,
|
||||
[property: JsonPropertyName("reporting_config_version")] long ReportingConfigVersion,
|
||||
[property: JsonPropertyName("correlation_id")] string CorrelationId,
|
||||
[property: JsonPropertyName("last_error_code")] string? LastErrorCode = null);
|
||||
[property: JsonPropertyName("last_error_code")] string? LastErrorCode = null,
|
||||
[property: JsonPropertyName("connection_id")] string? ConnectionId = null);
|
||||
|
||||
public sealed record RemoteTaskEnvelope(
|
||||
[property: JsonPropertyName("task_id")] string TaskId,
|
||||
|
||||
Reference in New Issue
Block a user