5100* tests strengthtenen work

This commit is contained in:
StellaOps Bot
2025-12-24 12:38:34 +02:00
parent 9a08d10b89
commit 02772c7a27
117 changed files with 29941 additions and 66 deletions

View File

@@ -22,6 +22,7 @@ using StellaOps.IssuerDirectory.WebService.Endpoints;
using StellaOps.IssuerDirectory.WebService.Options;
using StellaOps.IssuerDirectory.WebService.Security;
using StellaOps.IssuerDirectory.WebService.Services;
using StellaOps.Router.AspNet;
const string ConfigurationPrefix = "ISSUERDIRECTORY_";
@@ -97,14 +98,25 @@ builder.Services.AddOpenTelemetry()
.AddRuntimeInstrumentation())
.WithTracing(tracing => tracing.AddAspNetCoreInstrumentation().AddHttpClientInstrumentation());
// Stella Router integration
var routerOptions = builder.Configuration.GetSection("IssuerDirectory:Router").Get<StellaRouterOptionsBase>();
builder.Services.TryAddStellaRouter(
serviceName: "issuerdirectory",
version: typeof(Program).Assembly.GetName().Version?.ToString() ?? "1.0.0",
routerOptions: routerOptions);
var app = builder.Build();
app.UseSerilogRequestLogging();
app.UseAuthentication();
app.UseAuthorization();
app.TryUseStellaRouter(routerOptions);
var issuerGroup = app.MapIssuerEndpoints();
// Refresh Router endpoint cache
app.TryRefreshStellaRouterEndpoints(routerOptions);
var seedingTask = SeedPublishersAsync(app.Services, app.Environment);
await seedingTask.ConfigureAwait(false);

View File

@@ -22,6 +22,7 @@
<ProjectReference Include="..\\..\\..\\Authority\\StellaOps.Authority\\StellaOps.Auth.Abstractions\\StellaOps.Auth.Abstractions.csproj" />
<ProjectReference Include="..\\..\\..\\Authority\\StellaOps.Authority\\StellaOps.Auth.ServerIntegration\\StellaOps.Auth.ServerIntegration.csproj" />
<ProjectReference Include="..\\..\\..\\__Libraries\\StellaOps.Configuration\\StellaOps.Configuration.csproj" />
<ProjectReference Include="..\\..\\..\\__Libraries\\StellaOps.Router.AspNet\\StellaOps.Router.AspNet.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="..\\data\\csaf-publishers.json">