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

@@ -218,3 +218,7 @@ See: `docs-archived/implplan/SPRINT_3800_0000_0000_summary.md`
- Keep resolvers/analyzers parametric on environment data (RID, TFM, search paths); avoid host-global state.
- When adding DI/manifest registrations, ensure restart-time and worker compatibility; update module docs if contracts change.
## Service Endpoints
- Development: https://localhost:10080, http://localhost:10081
- Local alias: https://scanner.stella-ops.local, http://scanner.stella-ops.local
- Env var: STELLAOPS_SCANNER_URL

View File

@@ -494,7 +494,11 @@ builder.Services.AddSingleton<IAdvisoryLinksetQueryService>(sp =>
return new NullAdvisoryLinksetQueryService();
});
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
builder.TryAddStellaOpsLocalBinding("scanner");
var app = builder.Build();
app.LogStellaOpsLocalHostname("scanner");
// Fail fast if surface configuration is invalid at startup.
using (var validationScope = app.Services.CreateScope())
@@ -565,6 +569,7 @@ app.UseExceptionHandler(errorApp =>
// Always add authentication and authorization middleware
// Even in anonymous mode, endpoints use RequireAuthorization() which needs the middleware
app.UseStellaOpsCors();
app.UseAuthentication();
app.UseAuthorization();

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:62540;http://localhost:62542"
"applicationUrl": "https://localhost:10080;http://localhost:10081"
}
}
}
}