stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -17,3 +17,8 @@ Deliver and operate the Notify module across WebService, Worker, and storage lay
|
||||
- Storage: keep schema/tests aligned to `notify` schema; when running tests locally ensure Docker/WSL integration for Testcontainers.
|
||||
- Testing: prefer integration suites under `src/Notify/__Tests/StellaOps.Notify.Persistence.Tests`; add coverage for new repositories or state transitions; keep results under `out/test-results/` when capturing evidence.
|
||||
- Cross-module edits require explicit sprint note; otherwise stay within `src/Notify/**` and shared libraries listed in module docs.
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10290, http://localhost:10291
|
||||
- Local alias: https://notify.stella-ops.local, http://notify.stella-ops.local
|
||||
- Env var: STELLAOPS_NOTIFY_URL
|
||||
|
||||
@@ -111,7 +111,11 @@ builder.Services.TryAddStellaRouter(
|
||||
version: typeof(Program).Assembly.GetName().Version?.ToString() ?? "1.0.0",
|
||||
routerOptions: routerOptions);
|
||||
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("notify");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("notify");
|
||||
|
||||
var readyStatus = app.Services.GetRequiredService<ServiceStatus>();
|
||||
|
||||
@@ -345,6 +349,7 @@ static void ConfigureRequestPipeline(WebApplication app, NotifyWebServiceOptions
|
||||
});
|
||||
}
|
||||
|
||||
app.UseStellaOpsCors();
|
||||
app.UseAuthentication();
|
||||
app.UseRateLimiter();
|
||||
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:62530;http://localhost:62531"
|
||||
"applicationUrl": "https://localhost:10290;http://localhost:10291"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user