28 lines
887 B
C#
28 lines
887 B
C#
namespace StellaOps.Concelier.Connector.Common;
|
|
|
|
/// <summary>
|
|
/// Well-known lifecycle statuses for raw source documents as they move through fetch/parse/map stages.
|
|
/// </summary>
|
|
public static class DocumentStatuses
|
|
{
|
|
/// <summary>
|
|
/// Document captured from the upstream source and awaiting schema validation/parsing.
|
|
/// </summary>
|
|
public const string PendingParse = "pending-parse";
|
|
|
|
/// <summary>
|
|
/// Document parsed and sanitized; awaiting canonical mapping.
|
|
/// </summary>
|
|
public const string PendingMap = "pending-map";
|
|
|
|
/// <summary>
|
|
/// Document fully mapped to canonical advisories.
|
|
/// </summary>
|
|
public const string Mapped = "mapped";
|
|
|
|
/// <summary>
|
|
/// Document failed processing; requires manual intervention before retry.
|
|
/// </summary>
|
|
public const string Failed = "failed";
|
|
}
|