save work
This commit is contained in:
@@ -119,6 +119,19 @@ if (!string.IsNullOrWhiteSpace(connectionString))
|
||||
.BindConfiguration(EpssIngestOptions.SectionName)
|
||||
.ValidateOnStart();
|
||||
builder.Services.AddHostedService<EpssIngestJob>();
|
||||
|
||||
// EPSS live enrichment + signals (Sprint: SPRINT_3413_0001_0001)
|
||||
builder.Services.AddOptions<EpssEnrichmentOptions>()
|
||||
.BindConfiguration(EpssEnrichmentOptions.SectionName)
|
||||
.ValidateOnStart();
|
||||
builder.Services.AddSingleton<EpssEnrichmentJob>();
|
||||
builder.Services.AddHostedService(sp => sp.GetRequiredService<EpssEnrichmentJob>());
|
||||
|
||||
builder.Services.AddOptions<EpssSignalOptions>()
|
||||
.BindConfiguration(EpssSignalOptions.SectionName)
|
||||
.ValidateOnStart();
|
||||
builder.Services.AddSingleton<EpssSignalJob>();
|
||||
builder.Services.AddHostedService(sp => sp.GetRequiredService<EpssSignalJob>());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user