stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -54,3 +54,7 @@
|
||||
- Update sprint tracker statuses (`TODO -> DOING -> DONE/BLOCKED`) in `docs/implplan/SPRINT_*.md`.
|
||||
- Mirror the same status in `src/Signals/StellaOps.Signals/TASKS.md` when work starts/finishes.
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10440, http://localhost:10441
|
||||
- Local alias: https://signals.stella-ops.local, http://signals.stella-ops.local
|
||||
- Env var: STELLAOPS_SIGNALS_URL
|
||||
|
||||
@@ -85,6 +85,7 @@ builder.Services.AddDeterminismDefaults();
|
||||
builder.Services.AddSingleton<SignalsSealedModeMonitor>();
|
||||
builder.Services.AddProblemDetails();
|
||||
builder.Services.AddHealthChecks();
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
builder.Services.AddRouting(options => options.LowercaseUrls = true);
|
||||
|
||||
builder.Services.AddSingleton<ICallgraphRepository, InMemoryCallgraphRepository>();
|
||||
@@ -277,13 +278,16 @@ else
|
||||
}).AddScheme<AuthenticationSchemeOptions, AnonymousAuthenticationHandler>("Anonymous", static _ => { });
|
||||
}
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("signals");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("signals");
|
||||
|
||||
if (!bootstrap.Authority.Enabled)
|
||||
{
|
||||
app.Logger.LogWarning("Signals Authority authentication is disabled; relying on header-based development fallback.");
|
||||
}
|
||||
|
||||
app.UseStellaOpsCors();
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
|
||||
|
||||
@@ -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:62543;http://localhost:62544"
|
||||
"applicationUrl": "https://localhost:10440;http://localhost:10441"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user