Merge workers into API
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
// DEPRECATED: This Workers API project has been consolidated into the main Managing.Api project
|
||||
// All workers are now hosted as background services in the main API
|
||||
// This project is kept for reference but should not be deployed
|
||||
|
||||
using System.Text.Json.Serialization;
|
||||
using HealthChecks.UI.Client;
|
||||
using Managing.Api.Workers.Filters;
|
||||
@@ -128,6 +132,7 @@ builder.Services.AddDbContext<ManagingDbContext>(options =>
|
||||
}, ServiceLifetime.Scoped);
|
||||
|
||||
builder.Services.RegisterWorkersDependencies(builder.Configuration);
|
||||
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddOpenApiDocument(document =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user