documentation cleanse, sprints work and planning. remaining non EF DAL migration to EF

This commit is contained in:
master
2026-02-25 01:24:07 +02:00
parent b07d27772e
commit 4db038123b
9090 changed files with 4836 additions and 2909 deletions

View File

@@ -0,0 +1,5 @@
capturedAtUtc=2026-02-10T23:00:46Z
request=GET /openapi/v1.json
headers=
---
HTTP/1.1 404 Not Found Content-Type: application/json; charset=utf-8 Date: Tue, 10 Feb 2026 23:00:45 GMT Server: Kestrel Transfer-Encoding: chunked X-Correlation-Id: 0HNJ8V0SONN6L:00000001 {"error":"Endpoint not found","status":404,"traceId":"0HNJ8V0SONN6L:00000001","method":"GET","path":"/openapi/v1.json","service":null,"version":null,"message":null,"details":null}

View File

@@ -0,0 +1,5 @@
capturedAtUtc=2026-02-10T23:00:46Z
request=GET /.well-known/openapi
headers=
---
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Date: Tue, 10 Feb 2026 23:00:45 GMT Server: Kestrel Cache-Control: public, max-age=60 Transfer-Encoding: chunked X-Correlation-Id: 0HNJ8V0SONN6M:00000001 {"openapi_json":"/openapi.json","openapi_yaml":"/openapi.yaml","etag":"\"255BC3C011E57565\"","generated_at":"2026-02-10T23:00:46.1810895Z"}

View File

@@ -0,0 +1,5 @@
capturedAtUtc=2026-02-10T23:00:46Z
request=GET /metrics
headers=
---
HTTP/1.1 200 OK Content-Type: text/plain; version=0.0.4 Date: Tue, 10 Feb 2026 23:00:45 GMT Server: Kestrel Transfer-Encoding: chunked X-Correlation-Id: 0HNJ8V0SONN6N:00000001 # TYPE gateway_active_connections gauge gateway_active_connections 0 # TYPE gateway_registered_endpoints gauge gateway_registered_endpoints 0

View File

@@ -0,0 +1,5 @@
capturedAtUtc=2026-02-10T23:00:46Z
request=GET /__qa_missing_route__
headers=
---
HTTP/1.1 404 Not Found Content-Type: application/json; charset=utf-8 Date: Tue, 10 Feb 2026 23:00:46 GMT Server: Kestrel Transfer-Encoding: chunked X-Correlation-Id: 0HNJ8V0SONN6O:00000001 {"error":"Endpoint not found","status":404,"traceId":"0HNJ8V0SONN6O:00000001","method":"GET","path":"/__qa_missing_route__","service":null,"version":null,"message":null,"details":null}

View File

@@ -0,0 +1,5 @@
capturedAtUtc=2026-02-10T23:00:46Z
request=GET /health
headers=X-Correlation-ID: qa-e2e-run013
---
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Date: Tue, 10 Feb 2026 23:00:46 GMT Server: Kestrel Transfer-Encoding: chunked X-Correlation-Id: qa-e2e-run013 {"status":"ok","started":true,"ready":true,"traceId":"qa-e2e-run013"}

View File

@@ -0,0 +1,17 @@
Gateway module run-013 live replay
Timestamp (UTC): 2026-02-11T00:05:17Z
Test matrix:
dotnet test src/Gateway/__Tests/StellaOps.Gateway.WebService.Tests/StellaOps.Gateway.WebService.Tests.csproj -c Release --nologo
dotnet test src/Router/__Tests/StellaOps.Gateway.WebService.Tests/StellaOps.Gateway.WebService.Tests.csproj -c Release --nologo
dotnet test src/Router/__Tests/StellaOps.Router.Gateway.Tests/StellaOps.Router.Gateway.Tests.csproj -c Release --nologo
Result: Passed 432/432
HTTP captures:
GET /health -> 200 (evidence/01-health.txt)
GET /openapi.json -> 200 (evidence/02-openapi-json.txt)
GET /openapi.yaml -> 200 (evidence/03-openapi-yaml.txt)
GET /.well-known/openapi -> 200 (evidence/04-wellknown-openapi.txt)
GET /metrics -> 200 (evidence/05-metrics.txt)
GET /__qa_missing_route__ -> 404 (evidence/06-unknown-route.txt)
GET /health -> 200 (evidence/07-health-correlation.txt)

View File

@@ -0,0 +1,16 @@
{
"module": "gateway",
"feature": "gateway-http-middleware-pipeline",
"runId": "run-013",
"sourceVerified": true,
"filesChecked": [
"src/Gateway/StellaOps.Gateway.WebService/Program.cs",
"src/Gateway/StellaOps.Gateway.WebService/Middleware/CorrelationIdMiddleware.cs",
"src/Gateway/StellaOps.Gateway.WebService/Services/GatewayHostedService.cs",
"src/Router/__Libraries/StellaOps.Router.Gateway/Middleware/PayloadLimitsMiddleware.cs"
],
"missingFiles": [
],
"checkedAtUtc": "2026-02-11T00:05:17Z"
}

View File

@@ -0,0 +1,23 @@
{
"project": "src/Gateway + src/Router",
"module": "gateway",
"feature": "gateway-http-middleware-pipeline",
"runId": "run-013",
"buildResult": "pass",
"testResult": "pass",
"commands": [
"dotnet test src/Gateway/__Tests/StellaOps.Gateway.WebService.Tests/StellaOps.Gateway.WebService.Tests.csproj -c Release --nologo",
"dotnet test src/Router/__Tests/StellaOps.Gateway.WebService.Tests/StellaOps.Gateway.WebService.Tests.csproj -c Release --nologo",
"dotnet test src/Router/__Tests/StellaOps.Router.Gateway.Tests/StellaOps.Router.Gateway.Tests.csproj -c Release --nologo"
],
"testsRun": 432,
"testsPassed": 432,
"testsFailed": 0,
"errors": [
],
"warnings": [
"CA2022 warnings in ByteCountingStreamTests are known and non-blocking for this recheck."
],
"runAtUtc": "2026-02-11T00:05:17Z"
}

View File

@@ -0,0 +1,103 @@
{
"type": "api",
"module": "gateway",
"feature": "gateway-http-middleware-pipeline",
"runId": "run-013",
"dateUtc": "2026-02-11T00:05:17Z",
"baseUrl": "http://127.0.0.1:10031",
"capturedAtUtc": "2026-02-11T00:05:17Z",
"requests": [
{
"description": "Health endpoint",
"method": "GET",
"path": "/health",
"expectedStatus": 200,
"actualStatus": 200,
"requestCapturedAtUtc": "2026-02-11T00:05:17Z",
"evidenceFile": "evidence/01-health.txt",
"responseSnippet": "{\"status\":\"ok\",\"started\":true,\"ready\":true,...}",
"result": "pass"
},
{
"description": "OpenAPI JSON endpoint",
"method": "GET",
"path": "/openapi.json",
"expectedStatus": 200,
"actualStatus": 200,
"requestCapturedAtUtc": "2026-02-11T00:05:17Z",
"evidenceFile": "evidence/02-openapi-json.txt",
"responseSnippet": "{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"StellaOps Gateway API\"...}}",
"result": "pass"
},
{
"description": "OpenAPI YAML endpoint",
"method": "GET",
"path": "/openapi.yaml",
"expectedStatus": 200,
"actualStatus": 200,
"requestCapturedAtUtc": "2026-02-11T00:05:17Z",
"evidenceFile": "evidence/03-openapi-yaml.txt",
"responseSnippet": "openapi: ...",
"result": "pass"
},
{
"description": "OpenAPI discovery endpoint",
"method": "GET",
"path": "/.well-known/openapi",
"expectedStatus": 200,
"actualStatus": 200,
"requestCapturedAtUtc": "2026-02-11T00:05:17Z",
"evidenceFile": "evidence/04-wellknown-openapi.txt",
"responseSnippet": "{\"openapi_json\":\"/openapi.json\",\"openapi_yaml\":\"/openapi.yaml\",...}",
"result": "pass"
},
{
"description": "Metrics endpoint",
"method": "GET",
"path": "/metrics",
"expectedStatus": 200,
"actualStatus": 200,
"requestCapturedAtUtc": "2026-02-11T00:05:17Z",
"evidenceFile": "evidence/05-metrics.txt",
"responseSnippet": "# TYPE gateway_active_connections gauge ...",
"result": "pass"
},
{
"description": "Unknown route returns structured 404",
"method": "GET",
"path": "/__qa_missing_route__",
"expectedStatus": 404,
"actualStatus": 404,
"requestCapturedAtUtc": "2026-02-11T00:05:17Z",
"evidenceFile": "evidence/06-unknown-route.txt",
"responseSnippet": "{\"error\":\"Endpoint not found\",\"status\":404,...}",
"result": "pass"
},
{
"description": "Correlation ID propagation through middleware",
"method": "GET",
"path": "/health",
"expectedStatus": 200,
"actualStatus": 200,
"requestCapturedAtUtc": "2026-02-11T00:05:17Z",
"evidenceFile": "evidence/07-health-correlation.txt",
"responseSnippet": "X-Correlation-Id: qa-e2e-run013-module-sweep",
"result": "pass",
"assertion": "Response X-Correlation-Id equals qa-e2e-run013-module-sweep"
}
],
"behaviorVerified": [
"HTTP middleware pipeline serves health/openapi/metrics surfaces and returns structured 404 envelopes for unknown routes."
],
"suiteReplay": {
"commands": [
"dotnet test src/Gateway/__Tests/StellaOps.Gateway.WebService.Tests/StellaOps.Gateway.WebService.Tests.csproj -c Release --nologo",
"dotnet test src/Router/__Tests/StellaOps.Gateway.WebService.Tests/StellaOps.Gateway.WebService.Tests.csproj -c Release --nologo",
"dotnet test src/Router/__Tests/StellaOps.Router.Gateway.Tests/StellaOps.Router.Gateway.Tests.csproj -c Release --nologo"
],
"testsRun": 432,
"testsPassed": 432,
"testsFailed": 0
},
"verdict": "pass"
}