stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -27,3 +27,8 @@
|
||||
- Unit tests for canonicalization, digests, and slice builders.
|
||||
- Integration tests for ingest, slice, and replay endpoints.
|
||||
- Determinism tests: same inputs yield identical digests and slices.
|
||||
|
||||
## Service Endpoints
|
||||
- Development: https://localhost:10220, http://localhost:10221
|
||||
- Local alias: https://reachgraph.stella-ops.local, http://reachgraph.stella-ops.local
|
||||
- Env var: STELLAOPS_REACHGRAPH_URL
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Licensed to StellaOps under the BUSL-1.1 license.
|
||||
|
||||
|
||||
using StellaOps.Auth.ServerIntegration;
|
||||
using Microsoft.AspNetCore.RateLimiting;
|
||||
using Npgsql;
|
||||
using StackExchange.Redis;
|
||||
@@ -101,7 +101,11 @@ builder.Services.AddResponseCompression(options =>
|
||||
options.EnableForHttps = true;
|
||||
});
|
||||
|
||||
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
|
||||
|
||||
builder.TryAddStellaOpsLocalBinding("reachgraph");
|
||||
var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("reachgraph");
|
||||
|
||||
// Configure pipeline
|
||||
if (app.Environment.IsDevelopment())
|
||||
@@ -112,6 +116,7 @@ if (app.Environment.IsDevelopment())
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
app.UseResponseCompression();
|
||||
app.UseStellaOpsCors();
|
||||
app.UseRateLimiter();
|
||||
app.UseAuthorization();
|
||||
app.MapControllers();
|
||||
|
||||
@@ -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:49951;http://localhost:49952"
|
||||
"applicationUrl": "https://localhost:10220;http://localhost:10221"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user