stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -21,3 +21,8 @@
|
||||
|
||||
## Sprint Discipline
|
||||
- Record decisions and risks for contract changes in the sprint file.
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10210, http://localhost:10211
|
||||
- Local alias: https://cartographer.stella-ops.local, http://cartographer.stella-ops.local
|
||||
- Env var: STELLAOPS_CARTOGRAPHER_URL
|
||||
|
||||
@@ -70,7 +70,11 @@ if (authorityOptions.Enabled)
|
||||
builder.Services.AddHealthChecks()
|
||||
.AddCheck("cartographer_ready", () => HealthCheckResult.Healthy(), tags: new[] { "ready" });
|
||||
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("cartographer");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("cartographer");
|
||||
|
||||
if (!authorityOptions.Enabled)
|
||||
{
|
||||
@@ -81,6 +85,7 @@ else if (authorityOptions.AllowAnonymousFallback)
|
||||
app.Logger.LogWarning("Cartographer Authority allows anonymous fallback; disable fallback before production rollout.");
|
||||
}
|
||||
|
||||
app.UseStellaOpsCors();
|
||||
if (authorityOptions.Enabled)
|
||||
{
|
||||
app.UseAuthentication();
|
||||
|
||||
@@ -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:62509;http://localhost:62510"
|
||||
"applicationUrl": "https://localhost:10210;http://localhost:10211"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user