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

@@ -27,6 +27,7 @@ using StellaOps.Excititor.Persistence.Extensions;
using StellaOps.Excititor.Persistence.Postgres;
using StellaOps.Excititor.Policy;
using StellaOps.Excititor.WebService.Contracts;
using StellaOps.Auth.ServerIntegration;
using StellaOps.Excititor.WebService.Endpoints;
using StellaOps.Excititor.WebService.Extensions;
using StellaOps.Excititor.WebService.Graph;
@@ -197,8 +198,13 @@ services.TryAddStellaRouter(
version: typeof(Program).Assembly.GetName().Version?.ToString() ?? "1.0.0",
routerOptions: routerOptions);
var app = builder.Build();
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
builder.TryAddStellaOpsLocalBinding("excititor");
var app = builder.Build();
app.LogStellaOpsLocalHostname("excititor");
app.UseStellaOpsCors();
app.UseAuthentication();
app.UseAuthorization();
app.TryUseStellaRouter(routerOptions);