stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -135,3 +135,7 @@ Tests use Testcontainers for PostgreSQL integration testing.
|
||||
- `docs-archived/implplan/SPRINT_3420_0001_0001_bitemporal_unknowns_schema.md` - Sprint spec
|
||||
- `devops/database/postgres/validation/001_validate_rls.sql` - RLS validation
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10460, http://localhost:10461
|
||||
- Local alias: https://unknowns.stella-ops.local, http://unknowns.stella-ops.local
|
||||
- Env var: STELLAOPS_UNKNOWNS_URL
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
// Description: Entry point for Unknowns WebService with OpenAPI, health checks, auth
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using StellaOps.Auth.ServerIntegration;
|
||||
using StellaOps.Unknowns.WebService;
|
||||
using StellaOps.Unknowns.WebService.Endpoints;
|
||||
|
||||
@@ -25,7 +26,11 @@ builder.Services.AddHealthChecks()
|
||||
builder.Services.AddAuthentication();
|
||||
builder.Services.AddAuthorization();
|
||||
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("unknowns");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("unknowns");
|
||||
|
||||
// Configure pipeline
|
||||
if (app.Environment.IsDevelopment())
|
||||
@@ -34,6 +39,7 @@ if (app.Environment.IsDevelopment())
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
|
||||
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:64477;http://localhost:64481"
|
||||
"applicationUrl": "https://localhost:10460;http://localhost:10461"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user