Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions src/NuGet.Services.Contracts/Validation/IProcessor.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace NuGet.Services.Validation
{
/// <summary>
/// A validation issue encountered during a validation.
/// A validation issue encountered during a validation step.
/// </summary>
public interface IValidationIssue
{
Expand Down
43 changes: 0 additions & 43 deletions src/NuGet.Services.Contracts/Validation/IValidationRequest.cs

This file was deleted.

30 changes: 0 additions & 30 deletions src/NuGet.Services.Contracts/Validation/IValidationResult.cs

This file was deleted.

54 changes: 0 additions & 54 deletions src/NuGet.Services.Contracts/Validation/IValidator.cs

This file was deleted.

12 changes: 6 additions & 6 deletions src/NuGet.Services.Contracts/Validation/ValidationStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@
namespace NuGet.Services.Validation
{
/// <summary>
/// The status of an asynchronous validation.
/// The status of a single validation step.
/// </summary>
public enum ValidationStatus
{
/// <summary>
/// The validation has not started yet.
/// The validation step has not started yet.
/// </summary>
NotStarted = 0,

/// <summary>
/// The validation is incomplete and should therefore be in progress.
/// The validation step is incomplete and should therefore be in progress.
/// </summary>
Incomplete = 1,

/// <summary>
/// The validation has succeeded and no validation errors have occurred. Any transient errors that may have
/// occurred during the validation have been resolved.
/// The validation step has succeeded and no validation errors have occurred. Any transient errors that may have
/// occurred during the validation step have been resolved.
/// </summary>
Succeeded = 2,

/// <summary>
/// The validation has failed. This could be a failure in initiating the validation, the validation has timed
/// The validation step has failed. This could be a failure in initiating the validation, the validation has timed
/// out, or the logic of the validation has discovered an issue with the entity that is being validated.
/// </summary>
Failed = 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace NuGet.Services.Validation
{
/// <summary>
/// Represents a single validation performed on a package. The associated package is implied via the validations's
/// Represents a single validation step performed on a package. The associated package is implied via the validations's
/// <see cref="NuGetGallery.PackageValidationSet"/>.
/// </summary>
public class PackageValidation
Expand Down
12 changes: 7 additions & 5 deletions src/NuGet.Services.Validation/Entities/ValidatorStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@
namespace NuGet.Services.Validation
{
/// <summary>
/// The status of an <see cref="IValidator"/>'s validation of a package. This should be used
/// by each <see cref="IValidator"/> to persist its state.
/// The Orchestrator integrates with a downstream validation job by implementing a "validator".
/// The Orchestrator, through its validator, creates this entity when it starts a new validation step
/// and polls the entity to receive status updates. Meanwhile, the downstream validation job
/// passes information back to the Orchestrator by updating this entity.
/// </summary>
public class ValidatorStatus
{
/// <summary>
/// The unique identifier for this validation. The Validation Orchestrator generates a unique
/// validation ID for each <see cref="IValidator"/> it runs on a single package.
/// The unique identifier for this validation step. The Validation Orchestrator generates a unique
/// validation ID for each validation step it runs on a single package.
/// </summary>
public Guid ValidationId { get; set; }

Expand All @@ -24,7 +26,7 @@ public class ValidatorStatus
public int PackageKey { get; set; }

/// <summary>
/// The name of the <see cref="IValidator"/>.
/// The name of the "validator" for this validation step.
/// </summary>
public string ValidatorName { get; set; }

Expand Down
130 changes: 0 additions & 130 deletions src/NuGet.Services.Validation/ValidationResult.cs

This file was deleted.

Loading