fix tests. new product advisories enhancements

This commit is contained in:
master
2026-01-25 19:11:36 +02:00
parent c70e83719e
commit 6e687b523a
504 changed files with 40610 additions and 3785 deletions

View File

@@ -191,7 +191,7 @@ public static class GreyQueueEndpoints
await notificationPublisher.PublishAsync(new EscalationNotification
{
EntryId = id,
BomRef = entry.BomRef,
BomRef = entry.BomRef ?? string.Empty,
Reason = request.Reason,
EscalatedAt = DateTimeOffset.UtcNow
}, ct);

View File

@@ -0,0 +1,12 @@
{
"profiles": {
"StellaOps.Unknowns.WebService": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:64477;http://localhost:64481"
}
}
}

View File

@@ -235,6 +235,47 @@ public interface IGreyQueueRepository
/// </summary>
Task<IReadOnlyList<GreyQueueEntry>> GetPendingAsync(
CancellationToken cancellationToken = default);
/// <summary>
/// Transitions an entry to UnderReview status with an assigned reviewer.
/// Sprint: SPRINT_20260118_018_Unknowns_queue_enhancement (UQ-005)
/// </summary>
Task<GreyQueueEntry> TransitionToUnderReviewAsync(
string tenantId,
Guid id,
string assignee,
CancellationToken cancellationToken);
/// <summary>
/// Transitions an entry to Escalated status.
/// Sprint: SPRINT_20260118_018_Unknowns_queue_enhancement (UQ-005)
/// </summary>
Task<GreyQueueEntry> TransitionToEscalatedAsync(
string tenantId,
Guid id,
string reason,
CancellationToken cancellationToken);
/// <summary>
/// Transitions an entry to Rejected status.
/// Sprint: SPRINT_20260118_018_Unknowns_queue_enhancement (UQ-005)
/// </summary>
Task<GreyQueueEntry> TransitionToRejectedAsync(
string tenantId,
Guid id,
string reason,
string rejectedBy,
CancellationToken cancellationToken);
/// <summary>
/// Reopens a closed entry back to Pending status.
/// Sprint: SPRINT_20260118_018_Unknowns_queue_enhancement (UQ-005)
/// </summary>
Task<GreyQueueEntry> ReopenAsync(
string tenantId,
Guid id,
string reason,
CancellationToken cancellationToken);
}
/// <summary>