This commit is contained in:
master
2026-02-04 19:59:20 +02:00
parent 557feefdc3
commit 5548cf83bf
1479 changed files with 53557 additions and 40339 deletions

View File

@@ -11,6 +11,7 @@ using StellaOps.ExportCenter.WebService.Deprecation;
using StellaOps.ExportCenter.WebService.EvidenceLocker;
using StellaOps.ExportCenter.WebService.ExceptionReport;
using StellaOps.ExportCenter.WebService.Incident;
using StellaOps.ExportCenter.Core.Verification;
using StellaOps.ExportCenter.WebService.Lineage;
using StellaOps.ExportCenter.WebService.RiskBundle;
using StellaOps.ExportCenter.WebService.SimulationExport;
@@ -83,6 +84,9 @@ builder.Services.AddAuditBundleJobHandler();
// Exception report services
builder.Services.AddExceptionReportServices();
// Export verification services
builder.Services.AddExportVerification();
// Lineage evidence pack services
builder.Services.AddLineageExportServices();

View File

@@ -7,6 +7,7 @@
<Nullable>enable</Nullable>
<LangVersion>preview</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" />

View File

@@ -1,20 +1,20 @@
{
Logging: {
LogLevel: {
Default: Information,
Microsoft.AspNetCore: Warning
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
Authority: {
ResourceServer: {
Authority: https://authority.localtest.me,
Audiences: [
api://export-center
"Authority": {
"ResourceServer": {
"Authority": "https://authority.localtest.me",
"Audiences": [
"api://export-center"
],
RequiredTenants: [
tenant-default
"RequiredTenants": [
"tenant-default"
]
}
},
AllowedHosts: *
"AllowedHosts": "*"
}

View File

@@ -6,10 +6,13 @@ using StellaOps.Cryptography;
using StellaOps.ExportCenter.Core.DevPortalOffline;
using StellaOps.ExportCenter.Infrastructure.DevPortalOffline;
using StellaOps.ExportCenter.RiskBundles;
using StellaOps.Cryptography.DependencyInjection;
using StellaOps.ExportCenter.Worker;
using StellaOps.Worker.Health;
var builder = Host.CreateApplicationBuilder(args);
var builder = WebApplication.CreateSlimBuilder(args);
builder.Services.AddStellaOpsCrypto();
builder.Services.AddSingleton(TimeProvider.System);
builder.Services.Configure<DevPortalOfflineWorkerOptions>(builder.Configuration.GetSection("DevPortalOffline"));
@@ -41,6 +44,8 @@ builder.Services.AddSingleton<RiskBundleJob>();
builder.Services.AddHostedService<Worker>();
builder.Services.AddHostedService<RiskBundleWorker>();
builder.Services.AddWorkerHealthChecks();
var host = builder.Build();
host.Run();
var app = builder.Build();
app.MapWorkerHealthEndpoints();
app.Run();

View File

@@ -14,10 +14,14 @@
<Nullable>enable</Nullable>
<LangVersion>preview</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup>
@@ -40,7 +44,9 @@
<ProjectReference Include="..\..\StellaOps.ExportCenter.RiskBundles\StellaOps.ExportCenter.RiskBundles.csproj"/>
<ProjectReference Include="../../../__Libraries/StellaOps.Cryptography/StellaOps.Cryptography.csproj"/>
<ProjectReference Include="../../../__Libraries/StellaOps.Cryptography.DependencyInjection/StellaOps.Cryptography.DependencyInjection.csproj"/>
<ProjectReference Include="../../../../__Libraries/StellaOps.Worker.Health/StellaOps.Worker.Health.csproj"/>
</ItemGroup>