Refactor code structure and optimize performance across multiple modules

This commit is contained in:
StellaOps Bot
2025-12-26 20:03:22 +02:00
parent c786faae84
commit b4fc66feb6
3353 changed files with 88254 additions and 1590657 deletions

View File

@@ -16,6 +16,7 @@ using StellaOps.Concelier.WebService;
using StellaOps.Concelier.WebService.Options;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Concelier.WebService.Tests;
public sealed class OrchestratorTestWebAppFactory : WebApplicationFactory<Program>
@@ -95,7 +96,8 @@ public sealed class OrchestratorEndpointsTests : IClassFixture<OrchestratorTestW
public OrchestratorEndpointsTests(OrchestratorTestWebAppFactory factory) => _factory = factory;
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task Registry_accepts_valid_request_with_tenant()
{
var client = _factory.CreateClient();
@@ -119,7 +121,8 @@ public sealed class OrchestratorEndpointsTests : IClassFixture<OrchestratorTestW
response.StatusCode.Should().Be(HttpStatusCode.Accepted);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task Heartbeat_accepts_valid_request_with_tenant()
{
var client = _factory.CreateClient();
@@ -140,7 +143,8 @@ public sealed class OrchestratorEndpointsTests : IClassFixture<OrchestratorTestW
response.StatusCode.Should().Be(HttpStatusCode.Accepted);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task Commands_get_returns_ok_with_empty_list()
{
var client = _factory.CreateClient();