stabilize tests
This commit is contained in:
@@ -20,7 +20,7 @@ Deliver the VexHub aggregation service that normalizes, validates, and distribut
|
||||
- `docs/modules/platform/architecture-overview.md`
|
||||
- `docs/modules/excititor/architecture.md`
|
||||
- `docs/modules/vex-lens/architecture.md`
|
||||
- `docs/modules/vexhub/architecture.md`
|
||||
- `docs/modules/vex-hub/architecture.md`
|
||||
|
||||
## Working Agreement
|
||||
- Keep outputs deterministic (stable ordering, UTC timestamps, canonical JSON where applicable).
|
||||
@@ -30,3 +30,4 @@ Deliver the VexHub aggregation service that normalizes, validates, and distribut
|
||||
## Testing Expectations
|
||||
- Add unit and integration tests for pipelines and APIs with deterministic fixtures.
|
||||
- Prefer Postgres-backed tests via Testcontainers; no external network usage.
|
||||
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using StellaOps.VexHub.Core;
|
||||
using StellaOps.VexHub.Core.Export;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using StellaOps.VexHub.WebService.Models;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Nodes;
|
||||
using StellaOps.VexHub.Core;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using StellaOps.VexHub.Core.Export;
|
||||
using StellaOps.VexHub.WebService.Models;
|
||||
|
||||
namespace StellaOps.VexHub.WebService.Extensions;
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
using System.Security.Claims;
|
||||
using System.Text.Encodings.Web;
|
||||
|
||||
using Microsoft.AspNetCore.Authentication;
|
||||
using Microsoft.Extensions.Options;
|
||||
using System.Security.Claims;
|
||||
using System.Text.Encodings.Web;
|
||||
|
||||
namespace StellaOps.VexHub.WebService.Middleware;
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
using System.Collections.Concurrent;
|
||||
using System.Net;
|
||||
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Net;
|
||||
|
||||
namespace StellaOps.VexHub.WebService.Middleware;
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
|
||||
using Serilog;
|
||||
using StellaOps.Router.AspNet;
|
||||
using StellaOps.VexHub.Core.Extensions;
|
||||
using StellaOps.VexHub.Persistence.Extensions;
|
||||
using StellaOps.VexHub.WebService.Extensions;
|
||||
using StellaOps.VexHub.WebService.Middleware;
|
||||
using StellaOps.Router.AspNet;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
|
||||
8
src/VexHub/StellaOps.VexHub.WebService/TASKS.md
Normal file
8
src/VexHub/StellaOps.VexHub.WebService/TASKS.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# StellaOps.VexHub.WebService Task Board
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/VexHub/StellaOps.VexHub.WebService/StellaOps.VexHub.WebService.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -1,10 +1,11 @@
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using StellaOps.VexLens.Models;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.VexHub.Core.Export;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
using StellaOps.VexLens.Models;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace StellaOps.VexHub.Core.Models;
|
||||
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using StellaOps.VexHub.Core.Validation;
|
||||
using StellaOps.VexLens.Models;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.VexHub.Core.Pipeline;
|
||||
|
||||
|
||||
8
src/VexHub/__Libraries/StellaOps.VexHub.Core/TASKS.md
Normal file
8
src/VexHub/__Libraries/StellaOps.VexHub.Core/TASKS.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# StellaOps.VexHub.Core Task Board
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/VexHub/__Libraries/StellaOps.VexHub.Core/StellaOps.VexHub.Core.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -1,7 +1,8 @@
|
||||
using System.Text.Json;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using StellaOps.VexLens.Models;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.VexHub.Core.Validation;
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
using System.Text.Json;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using StellaOps.VexLens.Models;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.VexHub.Core.Validation;
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
using System.Text.Json;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using StellaOps.VexLens.Models;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.VexHub.Core.Validation;
|
||||
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using System.Diagnostics;
|
||||
using System.Net.Http.Json;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
|
||||
namespace StellaOps.VexHub.Core.Webhooks;
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json;
|
||||
|
||||
using Dapper;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using StellaOps.VexHub.Core;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using StellaOps.VexHub.Persistence.Postgres.Models;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.VexHub.Persistence.Postgres.Repositories;
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
using System.Text.Json;
|
||||
|
||||
using Dapper;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using StellaOps.VexHub.Core;
|
||||
using StellaOps.VexHub.Core.Models;
|
||||
using StellaOps.VexHub.Persistence.Postgres.Models;
|
||||
using StellaOps.VexLens.Models;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.VexHub.Persistence.Postgres.Repositories;
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# StellaOps.VexHub.Persistence Task Board
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/VexHub/__Libraries/StellaOps.VexHub.Persistence/StellaOps.VexHub.Persistence.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -6,6 +6,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<IsPackable>false</IsPackable>
|
||||
<IsTestProject>true</IsTestProject>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<RootNamespace>StellaOps.VexHub.Core.Tests</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
using Xunit;
|
||||
|
||||
namespace StellaOps.VexHub.Core.Tests;
|
||||
|
||||
public sealed class VexHubCoreSmoke
|
||||
{
|
||||
[Fact]
|
||||
public void ProjectLoads() => Assert.True(true);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
# StellaOps.VexHub.WebService.Tests Task Board
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/VexHub/__Tests/StellaOps.VexHub.WebService.Tests/StellaOps.VexHub.WebService.Tests.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
Reference in New Issue
Block a user