audit notes work completed, test fixes work (95% done), new sprints, new data sources setup and configuration
This commit is contained in:
@@ -8,6 +8,7 @@ using System.Text;
|
||||
using System.Text.Json;
|
||||
using Microsoft.Extensions.Logging.Abstractions;
|
||||
using Microsoft.Extensions.Options;
|
||||
using MsOptions = Microsoft.Extensions.Options;
|
||||
using StellaOps.Signals.Options;
|
||||
using StellaOps.Signals.Scm.Models;
|
||||
using StellaOps.Signals.Scm.Services;
|
||||
@@ -107,7 +108,7 @@ public sealed class ScmWebhookServiceTests
|
||||
{
|
||||
return new ScmWebhookService(
|
||||
NullLogger<ScmWebhookService>.Instance,
|
||||
Options.Create(options),
|
||||
MsOptions.Options.Create(options),
|
||||
triggerService,
|
||||
new IWebhookSignatureValidator[] { new GitHubWebhookValidator() },
|
||||
new IScmEventMapper[] { new TestScmEventMapper(ScmProvider.GitHub) });
|
||||
|
||||
@@ -531,6 +531,11 @@ public class UnknownsDecayServiceTests
|
||||
{
|
||||
private readonly Dictionary<string, GraphMetrics> _metrics = new();
|
||||
|
||||
public InMemoryGraphMetricsRepository(TimeProvider timeProvider)
|
||||
{
|
||||
// TimeProvider not used in this test implementation
|
||||
}
|
||||
|
||||
public void SetMetrics(string symbolId, string callgraphId, GraphMetrics metrics)
|
||||
{
|
||||
_metrics[$"{symbolId}:{callgraphId}"] = metrics;
|
||||
|
||||
@@ -752,6 +752,11 @@ public sealed class UnknownsScoringIntegrationTests
|
||||
{
|
||||
private readonly Dictionary<string, GraphMetrics> _metrics = new();
|
||||
|
||||
public InMemoryGraphMetricsRepository(TimeProvider timeProvider)
|
||||
{
|
||||
// TimeProvider not used in this test implementation
|
||||
}
|
||||
|
||||
public void SetMetrics(string symbolId, string callgraphId, GraphMetrics metrics)
|
||||
{
|
||||
_metrics[$"{symbolId}:{callgraphId}"] = metrics;
|
||||
|
||||
@@ -553,6 +553,11 @@ public class UnknownsScoringServiceTests
|
||||
{
|
||||
private readonly Dictionary<string, GraphMetrics> _metrics = new();
|
||||
|
||||
public InMemoryGraphMetricsRepository(TimeProvider timeProvider)
|
||||
{
|
||||
// TimeProvider not used in this test implementation
|
||||
}
|
||||
|
||||
public void SetMetrics(string symbolId, string callgraphId, GraphMetrics metrics)
|
||||
{
|
||||
_metrics[$"{symbolId}:{callgraphId}"] = metrics;
|
||||
|
||||
Reference in New Issue
Block a user