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

@@ -22,3 +22,8 @@
## Sprint Discipline
- Record pack contract changes in sprint Decisions & Risks.
## Service Endpoints
- Development: https://localhost:10340, http://localhost:10341
- Local alias: https://packsregistry.stella-ops.local, http://packsregistry.stella-ops.local
- Env var: STELLAOPS_PACKSREGISTRY_URL

View File

@@ -8,6 +8,7 @@ using StellaOps.PacksRegistry.Infrastructure.Verification;
using StellaOps.PacksRegistry.WebService;
using StellaOps.PacksRegistry.WebService.Contracts;
using StellaOps.PacksRegistry.WebService.Options;
using StellaOps.Auth.ServerIntegration;
using StellaOps.Router.AspNet;
using System.Text.Json.Serialization;
@@ -56,6 +57,8 @@ builder.Services.AddSingleton(TimeProvider.System);
builder.Services.AddHealthChecks();
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
// Stella Router integration
var routerOptions = builder.Configuration.GetSection("PacksRegistry:Router").Get<StellaRouterOptionsBase>();
builder.Services.TryAddStellaRouter(
@@ -63,13 +66,16 @@ builder.Services.TryAddStellaRouter(
version: typeof(Program).Assembly.GetName().Version?.ToString() ?? "1.0.0",
routerOptions: routerOptions);
builder.TryAddStellaOpsLocalBinding("packsregistry");
var app = builder.Build();
app.LogStellaOpsLocalHostname("packsregistry");
if (app.Environment.IsDevelopment())
{
app.MapOpenApi();
}
app.UseStellaOpsCors();
app.MapHealthChecks("/healthz");
app.TryUseStellaRouter(routerOptions);

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:62525;http://localhost:62526"
"applicationUrl": "https://localhost:10340;http://localhost:10341"
}
}
}
}