Merge workers into API

This commit is contained in:
2025-08-16 04:55:33 +07:00
parent 9841219e8b
commit d2975be0f5
22 changed files with 340 additions and 346 deletions

View File

@@ -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 =>
{