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

@@ -26,3 +26,8 @@
- Unit tests for request validation and error mapping.
- Integration tests with mocked HSM endpoints and deterministic fixtures.
- Security tests for auth, scope enforcement, and input bounds.
## Service Endpoints
- Development: https://localhost:10310, http://localhost:10311
- Local alias: https://smremote.stella-ops.local, http://smremote.stella-ops.local
- Env var: STELLAOPS_SMREMOTE_URL

View File

@@ -1,6 +1,7 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using StellaOps.Auth.ServerIntegration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using StellaOps.Cryptography;
@@ -27,7 +28,13 @@ builder.Services.AddSingleton<ICryptoProviderRegistry>(_ =>
builder.Services.AddHttpContextAccessor();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
builder.TryAddStellaOpsLocalBinding("smremote");
var app = builder.Build();
app.LogStellaOpsLocalHostname("smremote");
app.UseStellaOpsCors();
app.MapGet("/status", (ICryptoProviderRegistry registry) =>
{

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:62519;http://localhost:62520"
"applicationUrl": "https://localhost:10310;http://localhost:10311"
}
}
}
}