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

@@ -1,5 +1,6 @@
using Serilog;
using StellaOps.Auth.ServerIntegration;
using StellaOps.Router.AspNet;
using StellaOps.VexHub.Core.Extensions;
using StellaOps.VexHub.Persistence.Extensions;
@@ -53,7 +54,11 @@ builder.Services.TryAddStellaRouter(
version: System.Reflection.Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "1.0.0",
routerOptions: routerOptions);
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
builder.TryAddStellaOpsLocalBinding("vexhub");
var app = builder.Build();
app.LogStellaOpsLocalHostname("vexhub");
// Configure the HTTP request pipeline
if (app.Environment.IsDevelopment())
@@ -68,6 +73,7 @@ app.UseSerilogRequestLogging();
app.UseVexHubRateLimiting();
// Add authentication and authorization
app.UseStellaOpsCors();
app.UseAuthentication();
app.UseAuthorization();
app.TryUseStellaRouter(routerOptions);