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,3 +27,8 @@
- Unit tests for consensus join, conflicts, and precedence.
- Integration tests for API endpoints and exports.
- Determinism tests for repeatable consensus and bundle outputs.
## Service Endpoints
- Development: https://localhost:10120, http://localhost:10121
- Local alias: https://vexlens.stella-ops.local, http://vexlens.stella-ops.local
- Env var: STELLAOPS_VEXLENS_URL

View File

@@ -4,6 +4,7 @@ using Microsoft.AspNetCore.RateLimiting;
using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
using Serilog;
using StellaOps.Auth.ServerIntegration;
using StellaOps.VexLens.Api;
using StellaOps.VexLens.Consensus;
using StellaOps.VexLens.Persistence;
@@ -69,7 +70,11 @@ builder.Services.AddRateLimiter(options =>
});
});
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
builder.TryAddStellaOpsLocalBinding("vexlens");
var app = builder.Build();
app.LogStellaOpsLocalHostname("vexlens");
// Configure request pipeline
if (app.Environment.IsDevelopment())
@@ -77,6 +82,7 @@ if (app.Environment.IsDevelopment())
app.MapOpenApi();
}
app.UseStellaOpsCors();
app.UseRateLimiter();
app.UseSerilogRequestLogging();

View File

@@ -4,9 +4,11 @@
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
"ASPNETCORE_ENVIRONMENT": "Development",
"STELLAOPS_WEBSERVICES_CORS": "true",
"STELLAOPS_WEBSERVICES_CORS_ORIGIN": "https://stella-ops.local,https://stella-ops.local:10000,https://localhost:10000"
},
"applicationUrl": "https://localhost:52412;http://localhost:52414"
"applicationUrl": "https://localhost:10120;http://localhost:10121"
}
}
}
}