fix tests. new product advisories enhancements
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"profiles": {
|
||||
"StellaOps.Unknowns.WebService": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
},
|
||||
"applicationUrl": "https://localhost:64477;http://localhost:64481"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user