stabilizaiton work - projects rework for maintenanceability and ui livening

This commit is contained in:
master
2026-02-03 23:40:04 +02:00
parent 074ce117ba
commit 557feefdc3
3305 changed files with 186813 additions and 107843 deletions

View File

@@ -8,6 +8,7 @@ using StellaOps.BinaryIndex.Core.Resolution;
using StellaOps.BinaryIndex.VexBridge;
using StellaOps.BinaryIndex.WebService.Middleware;
using StellaOps.BinaryIndex.WebService.Services;
using StellaOps.Auth.ServerIntegration;
using StellaOps.BinaryIndex.WebService.Telemetry;
var builder = WebApplication.CreateBuilder(args);
@@ -58,7 +59,11 @@ builder.Services.AddResolutionRateLimiting(options =>
builder.Services.AddHealthChecks()
.AddRedis(redisConnectionString, name: "redis");
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
builder.TryAddStellaOpsLocalBinding("binaryindex");
var app = builder.Build();
app.LogStellaOpsLocalHostname("binaryindex");
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
@@ -67,6 +72,7 @@ if (app.Environment.IsDevelopment())
app.UseSwaggerUI();
}
app.UseStellaOpsCors();
app.UseHttpsRedirection();
app.UseResolutionRateLimiting();
app.UseAuthorization();