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

@@ -27,3 +27,8 @@
- Unit tests for manifest validation and hash determinism.
- Integration tests for WebService endpoints and token flows.
- Replay tests verifying identical inputs yield identical outputs.
## Service Endpoints
- Development: https://localhost:10410, http://localhost:10411
- Local alias: https://replay.stella-ops.local, http://replay.stella-ops.local
- Env var: STELLAOPS_REPLAY_URL

View File

@@ -95,7 +95,11 @@ builder.Services.AddAuthorization(options =>
});
});
builder.Services.AddStellaOpsCors(builder.Environment, builder.Configuration);
builder.TryAddStellaOpsLocalBinding("replay");
var app = builder.Build();
app.LogStellaOpsLocalHostname("replay");
app.UseSerilogRequestLogging();
app.UseExceptionHandler(exceptionApp =>
@@ -116,6 +120,7 @@ app.UseExceptionHandler(exceptionApp =>
});
});
app.UseStellaOpsCors();
app.UseAuthentication();
app.UseAuthorization();
@@ -473,9 +478,9 @@ public class ReplayServiceOptions
public class AuthorityConfig
{
public string Issuer { get; set; } = "https://auth.stellaops.local";
public string Issuer { get; set; } = "https://authority.stella-ops.local";
public bool RequireHttpsMetadata { get; set; } = true;
public string MetadataAddress { get; set; } = "https://auth.stellaops.local/.well-known/openid-configuration";
public List<string> Audiences { get; set; } = new() { "stellaops-api" };
public string MetadataAddress { get; set; } = "https://authority.stella-ops.local/.well-known/openid-configuration";
public List<string> Audiences { get; set; } = new() { "stella-ops-api" };
public List<string> RequiredScopes { get; set; } = new() { "vuln.operate" };
}

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:62536;http://localhost:62538"
"applicationUrl": "https://localhost:10410;http://localhost:10411"
}
}
}
}