Table of Contents

Class GeoservicesImportProgress

Namespace
Honua.Sdk.Admin.Models
Assembly
Honua.Sdk.Admin.dll

Progress and terminal-state information for one GeoServices import job. Returned by discover job listing, job status polling, and the bounded-wait helper.

public sealed record GeoservicesImportProgress : IEquatable<GeoservicesImportProgress>
Inheritance
GeoservicesImportProgress
Implements
Inherited Members

Properties

AttachmentsProcessed

Number of feature attachments copied so far.

[JsonPropertyName("attachmentsProcessed")]
public int AttachmentsProcessed { get; init; }

Property Value

int

BatchesCompleted

Number of paged batches completed.

[JsonPropertyName("batchesCompleted")]
public int BatchesCompleted { get; init; }

Property Value

int

CatalogReconciliationReport

Raw catalog-parity findings (schema/domain/identifier/relationship/attachment/subtype), preserved losslessly as the server emits them. Left untyped deliberately: this dimension has its own evolving schema (MigrationCatalogReconciliationReport server-side) and typed re-modeling here would drop unknown/new server classifications the moment the server adds one — the exact failure mode the parent acceptance criteria calls out. Consumers who need typed access to this dimension should read JsonElement members directly or track honua-server#4600.

[JsonPropertyName("catalogReconciliationReport")]
public JsonElement? CatalogReconciliationReport { get; init; }

Property Value

JsonElement?

CompletedAt

UTC instant the import completed, null while running.

[JsonPropertyName("completedAt")]
public DateTimeOffset? CompletedAt { get; init; }

Property Value

DateTimeOffset?

CurrentPhase

Human-readable description of the current processing phase.

[JsonPropertyName("currentPhase")]
public string? CurrentPhase { get; init; }

Property Value

string

ErrorMessage

Error message when Status is Failed.

[JsonPropertyName("errorMessage")]
public string? ErrorMessage { get; init; }

Property Value

string

EstimatedTotalFeatures

Estimated total feature count, when known.

[JsonPropertyName("estimatedTotalFeatures")]
public int? EstimatedTotalFeatures { get; init; }

Property Value

int?

FailedAttachments

Number of source attachments that failed to copy.

[JsonPropertyName("failedAttachments")]
public int FailedAttachments { get; init; }

Property Value

int

FailedFeatures

Number of features that failed to import.

[JsonPropertyName("failedFeatures")]
public int FailedFeatures { get; init; }

Property Value

int

FeaturesProcessed

Number of features processed so far.

[JsonPropertyName("featuresProcessed")]
public int FeaturesProcessed { get; init; }

Property Value

int

FidelityDifferences

Per-resource differences and unexecuted checks behind FidelityVerdict, ordered by code then subject. Empty when the server omits the field.

[JsonPropertyName("fidelityDifferences")]
public IReadOnlyList<MigrationFidelityDifference> FidelityDifferences { get; init; }

Property Value

IReadOnlyList<MigrationFidelityDifference>

FidelityVerdict

Migration fidelity verdict for the run, such as full-fidelity, unverified, or incomplete. Null until the job reaches a terminal phase. Kept as a string so the server can add verdicts without an SDK change. Status says whether the job finished; this says whether the migrated layer is proven equivalent to the source.

[JsonPropertyName("fidelityVerdict")]
public string? FidelityVerdict { get; init; }

Property Value

string

JobId

Unique job identifier.

[JsonPropertyName("jobId")]
public required string JobId { get; init; }

Property Value

string

PercentComplete

Progress percentage (0-100), null when the total is unknown.

[JsonPropertyName("percentComplete")]
public double? PercentComplete { get; init; }

Property Value

double?

PublishedLayerId

Published Honua layer id once auto-publish completed successfully.

[JsonPropertyName("publishedLayerId")]
public int? PublishedLayerId { get; init; }

Property Value

int?

ReconciliationArtifact

Per-layer data-reconciliation findings produced by the Validating phase. Null until that phase completes, or when the import did not publish a queryable layer.

[JsonPropertyName("reconciliationArtifact")]
public MigrationReconciliationArtifact? ReconciliationArtifact { get; init; }

Property Value

MigrationReconciliationArtifact

ServiceName

Target Honua service name, when auto-publish was requested.

[JsonPropertyName("serviceName")]
public string? ServiceName { get; init; }

Property Value

string

SourceKind

Stable source kind identifier.

[JsonPropertyName("sourceKind")]
public string SourceKind { get; init; }

Property Value

string

SourceLayerId

Source layer id.

[JsonPropertyName("sourceLayerId")]
public required int SourceLayerId { get; init; }

Property Value

int

SourceLayerName

Source layer name, when discovered.

[JsonPropertyName("sourceLayerName")]
public string? SourceLayerName { get; init; }

Property Value

string

SourceServiceUrl

Source GeoServices REST service URL.

[SuppressMessage("Design", "CA1056:URI-like properties should not be strings", Justification = "The GeoServices import JSON contract represents source URLs as strings.")]
[JsonPropertyName("sourceServiceUrl")]
public required string SourceServiceUrl { get; init; }

Property Value

string

StartedAt

UTC instant the import started.

[JsonPropertyName("startedAt")]
public DateTimeOffset StartedAt { get; init; }

Property Value

DateTimeOffset

Status

Current job status.

[JsonPropertyName("status")]
public required GeoservicesImportStatus Status { get; init; }

Property Value

GeoservicesImportStatus

TableName

Target table name.

[JsonPropertyName("tableName")]
public required string TableName { get; init; }

Property Value

string

TotalBatches

Total number of paged batches, when known.

[JsonPropertyName("totalBatches")]
public int? TotalBatches { get; init; }

Property Value

int?

Warnings

Non-fatal warnings encountered during the import.

[JsonPropertyName("warnings")]
public IReadOnlyList<string> Warnings { get; init; }

Property Value

IReadOnlyList<string>