stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -25,3 +25,8 @@
|
||||
## Testing Expectations
|
||||
- Add or update unit and integration tests for plan rules, scope parsing, and token issuance.
|
||||
- Maintain deterministic outputs for auditability.
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10350, http://localhost:10351
|
||||
- Local alias: https://registry-token.stella-ops.local, http://registry-token.stella-ops.local
|
||||
- Env var: STELLAOPS_REGISTRY_TOKENSERVICE_URL
|
||||
|
||||
@@ -97,6 +97,7 @@ builder.Services.AddStellaOpsResourceServerAuthentication(
|
||||
}
|
||||
});
|
||||
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
builder.Services.AddAuthorization(options =>
|
||||
{
|
||||
var scopes = bootstrapOptions.Authority.RequiredScopes.Count == 0
|
||||
@@ -119,9 +120,12 @@ builder.Services.AddAuthorization(options =>
|
||||
});
|
||||
});
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("registry-token");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("registry-token");
|
||||
|
||||
app.UseSerilogRequestLogging();
|
||||
app.UseStellaOpsCors();
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/launchsettings.json",
|
||||
"profiles": {
|
||||
"http": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "http://localhost:5068",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/launchsettings.json",
|
||||
"profiles": {
|
||||
"http": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "http://localhost:10351",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"STELLAOPS_WEBSERVICES_CORS": "true",
|
||||
"STELLAOPS_WEBSERVICES_CORS_ORIGIN": "https://stella-ops.local,https://stella-ops.local:10000,https://localhost:10000"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user