stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -79,3 +79,7 @@ The Excititor module handles VEX candidate emission for Smart-Diff:
|
||||
- Signing/verifier hooks rely on Evidence Locker contract fixtures under `docs/modules/evidence-locker/`.
|
||||
- Sealed-mode tests should run with `EXCITITOR_SEALED=1` (env var) to enforce offline code paths.
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10100, http://localhost:10101
|
||||
- Local alias: https://excititor.stella-ops.local, http://excititor.stella-ops.local
|
||||
- Env var: STELLAOPS_EXCITITOR_URL
|
||||
|
||||
@@ -27,6 +27,7 @@ using StellaOps.Excititor.Persistence.Extensions;
|
||||
using StellaOps.Excititor.Persistence.Postgres;
|
||||
using StellaOps.Excititor.Policy;
|
||||
using StellaOps.Excititor.WebService.Contracts;
|
||||
using StellaOps.Auth.ServerIntegration;
|
||||
using StellaOps.Excititor.WebService.Endpoints;
|
||||
using StellaOps.Excititor.WebService.Extensions;
|
||||
using StellaOps.Excititor.WebService.Graph;
|
||||
@@ -197,8 +198,13 @@ services.TryAddStellaRouter(
|
||||
version: typeof(Program).Assembly.GetName().Version?.ToString() ?? "1.0.0",
|
||||
routerOptions: routerOptions);
|
||||
|
||||
var app = builder.Build();
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("excititor");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("excititor");
|
||||
|
||||
app.UseStellaOpsCors();
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
app.TryUseStellaRouter(routerOptions);
|
||||
|
||||
@@ -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:62513;http://localhost:62514"
|
||||
"applicationUrl": "https://localhost:10100;http://localhost:10101"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user