stabilizaiton work - projects rework for maintenanceability and ui livening

This commit is contained in:
master
2026-02-03 23:40:04 +02:00
parent 074ce117ba
commit 557feefdc3
3305 changed files with 186813 additions and 107843 deletions

View File

@@ -99,3 +99,7 @@ stella deltasig inspect # Inspect signature or envelope
- **Golden tests** - Known CVE signature verification
- **Integration tests** - End-to-end pipeline tests
## Service Endpoints
- Development: https://localhost:10360, http://localhost:10361
- Local alias: https://binaryindex.stella-ops.local, http://binaryindex.stella-ops.local
- Env var: STELLAOPS_BINARYINDEX_URL

View File

@@ -8,6 +8,7 @@ using StellaOps.BinaryIndex.Core.Resolution;
using StellaOps.BinaryIndex.VexBridge;
using StellaOps.BinaryIndex.WebService.Middleware;
using StellaOps.BinaryIndex.WebService.Services;
using StellaOps.Auth.ServerIntegration;
using StellaOps.BinaryIndex.WebService.Telemetry;
var builder = WebApplication.CreateBuilder(args);
@@ -58,7 +59,11 @@ builder.Services.AddResolutionRateLimiting(options =>
builder.Services.AddHealthChecks()
.AddRedis(redisConnectionString, name: "redis");
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
builder.TryAddStellaOpsLocalBinding("binaryindex");
var app = builder.Build();
app.LogStellaOpsLocalHostname("binaryindex");
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
@@ -67,6 +72,7 @@ if (app.Environment.IsDevelopment())
app.UseSwaggerUI();
}
app.UseStellaOpsCors();
app.UseHttpsRedirection();
app.UseResolutionRateLimiting();
app.UseAuthorization();

View File

@@ -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:49948;http://localhost:49949"
"applicationUrl": "https://localhost:10360;http://localhost:10361"
}
}
}
}