qa: close exportcenter features 001-002 and unblock policy build
This commit is contained in:
@@ -26,8 +26,7 @@ public static class DeltaIfPresentEndpoints
|
||||
public static IEndpointRouteBuilder MapDeltaIfPresentEndpoints(this IEndpointRouteBuilder endpoints)
|
||||
{
|
||||
var group = endpoints.MapGroup("/api/v1/policy/delta-if-present")
|
||||
.WithTags("Delta If Present")
|
||||
.WithOpenApi();
|
||||
.WithTags("Delta If Present");
|
||||
|
||||
// Calculate single signal delta
|
||||
group.MapPost("/signal", CalculateSingleSignalDeltaAsync)
|
||||
@@ -62,7 +61,7 @@ public static class DeltaIfPresentEndpoints
|
||||
private static IResult CalculateSingleSignalDeltaAsync(
|
||||
[FromBody] SingleSignalDeltaRequest request,
|
||||
IDeltaIfPresentCalculator calculator,
|
||||
ILogger<DeltaIfPresentEndpoints> logger)
|
||||
ILogger<DeltaIfPresentEndpointsLogCategory> logger)
|
||||
{
|
||||
if (request.Snapshot is null)
|
||||
{
|
||||
@@ -110,7 +109,7 @@ public static class DeltaIfPresentEndpoints
|
||||
private static IResult CalculateFullAnalysisAsync(
|
||||
[FromBody] FullAnalysisRequest request,
|
||||
IDeltaIfPresentCalculator calculator,
|
||||
ILogger<DeltaIfPresentEndpoints> logger)
|
||||
ILogger<DeltaIfPresentEndpointsLogCategory> logger)
|
||||
{
|
||||
if (request.Snapshot is null)
|
||||
{
|
||||
@@ -153,7 +152,7 @@ public static class DeltaIfPresentEndpoints
|
||||
private static IResult CalculateScoreBoundsAsync(
|
||||
[FromBody] ScoreBoundsRequest request,
|
||||
IDeltaIfPresentCalculator calculator,
|
||||
ILogger<DeltaIfPresentEndpoints> logger)
|
||||
ILogger<DeltaIfPresentEndpointsLogCategory> logger)
|
||||
{
|
||||
if (request.Snapshot is null)
|
||||
{
|
||||
@@ -182,7 +181,7 @@ public static class DeltaIfPresentEndpoints
|
||||
Range = bounds.Range,
|
||||
GapCount = bounds.GapCount,
|
||||
MissingWeightPercentage = bounds.MissingWeightPercentage,
|
||||
ComputedAt = bounds.ComputedAt
|
||||
ComputedAt = request.Snapshot.SnapshotAt
|
||||
});
|
||||
}
|
||||
|
||||
@@ -526,4 +525,4 @@ public sealed record ScoreBoundsResponse
|
||||
#endregion
|
||||
|
||||
// Logger interface for typed logging
|
||||
internal sealed class DeltaIfPresentEndpoints { }
|
||||
internal sealed class DeltaIfPresentEndpointsLogCategory { }
|
||||
|
||||
Reference in New Issue
Block a user