context detemrinistic + randomized searches and fix for setup from stella-ops.local rather 127.1.0.*

This commit is contained in:
master
2026-03-06 14:41:05 +02:00
parent 973cc8b335
commit 49763be70b
28 changed files with 1557 additions and 234 deletions

View File

@@ -147,10 +147,10 @@ Validation endpoints:
```bash
# Aggregated OpenAPI
curl -k https://127.1.0.1/openapi.json
curl -k https://stella-ops.local/openapi.json
# Timeline API schema (through router-gateway)
curl -k https://127.1.0.1/openapi.json | jq '.paths["/api/v1/timeline"]'
curl -k https://stella-ops.local/openapi.json | jq '.paths["/api/v1/timeline"]'
# Header search routing smoke (fails on missing /api/v1/search* or /api/v1/advisory-ai/search* routes)
pwsh ./scripts/header-search-smoke.ps1

View File

@@ -14,50 +14,50 @@
"refreshLeewaySeconds": 60
},
"apiBaseUrls": {
"vulnexplorer": "https://127.1.0.1",
"replay": "https://127.1.0.1",
"notify": "https://127.1.0.1",
"notifier": "https://127.1.0.1",
"airgapController": "https://127.1.0.1",
"gateway": "https://127.1.0.1",
"doctor": "https://127.1.0.1",
"taskrunner": "https://127.1.0.1",
"timelineindexer": "https://127.1.0.1",
"timeline": "https://127.1.0.1",
"packsregistry": "https://127.1.0.1",
"findingsLedger": "https://127.1.0.1",
"policyGateway": "https://127.1.0.1",
"registryTokenservice": "https://127.1.0.1",
"graph": "https://127.1.0.1",
"issuerdirectory": "https://127.1.0.1",
"router": "https://127.1.0.1",
"integrations": "https://127.1.0.1",
"platform": "https://127.1.0.1",
"smremote": "https://127.1.0.1",
"signals": "https://127.1.0.1",
"vexlens": "https://127.1.0.1",
"scheduler": "https://127.1.0.1",
"concelier": "https://127.1.0.1",
"opsmemory": "https://127.1.0.1",
"binaryindex": "https://127.1.0.1",
"signer": "https://127.1.0.1",
"reachgraph": "https://127.1.0.1",
"authority": "https://127.1.0.1",
"unknowns": "https://127.1.0.1",
"scanner": "https://127.1.0.1",
"sbomservice": "https://127.1.0.1",
"symbols": "https://127.1.0.1",
"jobengine": "https://127.1.0.1",
"policyEngine": "https://127.1.0.1",
"attestor": "https://127.1.0.1",
"vexhub": "https://127.1.0.1",
"riskengine": "https://127.1.0.1",
"airgapTime": "https://127.1.0.1",
"advisoryai": "https://127.1.0.1",
"excititor": "https://127.1.0.1",
"cartographer": "https://127.1.0.1",
"evidencelocker": "https://127.1.0.1",
"exportcenter": "https://127.1.0.1"
"vulnexplorer": "https://stella-ops.local",
"replay": "https://stella-ops.local",
"notify": "https://stella-ops.local",
"notifier": "https://stella-ops.local",
"airgapController": "https://stella-ops.local",
"gateway": "https://stella-ops.local",
"doctor": "https://stella-ops.local",
"taskrunner": "https://stella-ops.local",
"timelineindexer": "https://stella-ops.local",
"timeline": "https://stella-ops.local",
"packsregistry": "https://stella-ops.local",
"findingsLedger": "https://stella-ops.local",
"policyGateway": "https://stella-ops.local",
"registryTokenservice": "https://stella-ops.local",
"graph": "https://stella-ops.local",
"issuerdirectory": "https://stella-ops.local",
"router": "https://stella-ops.local",
"integrations": "https://stella-ops.local",
"platform": "https://stella-ops.local",
"smremote": "https://stella-ops.local",
"signals": "https://stella-ops.local",
"vexlens": "https://stella-ops.local",
"scheduler": "https://stella-ops.local",
"concelier": "https://stella-ops.local",
"opsmemory": "https://stella-ops.local",
"binaryindex": "https://stella-ops.local",
"signer": "https://stella-ops.local",
"reachgraph": "https://stella-ops.local",
"authority": "https://stella-ops.local",
"unknowns": "https://stella-ops.local",
"scanner": "https://stella-ops.local",
"sbomservice": "https://stella-ops.local",
"symbols": "https://stella-ops.local",
"jobengine": "https://stella-ops.local",
"policyEngine": "https://stella-ops.local",
"attestor": "https://stella-ops.local",
"vexhub": "https://stella-ops.local",
"riskengine": "https://stella-ops.local",
"airgapTime": "https://stella-ops.local",
"advisoryai": "https://stella-ops.local",
"excititor": "https://stella-ops.local",
"cartographer": "https://stella-ops.local",
"evidencelocker": "https://stella-ops.local",
"exportcenter": "https://stella-ops.local"
},
"setup": "complete"
}

View File

@@ -3,7 +3,7 @@
"mode": "microservice",
"targets": [
{
"url": "https://127.1.0.1/openapi.json",
"url": "https://stella-ops.local/openapi.json",
"samples": 15,
"p50Ms": 54.8,
"p95Ms": 69.98,
@@ -12,7 +12,7 @@
"statusCodes": "200=15"
},
{
"url": "https://127.1.0.1/api/v1/timeline/events?limit=1",
"url": "https://stella-ops.local/api/v1/timeline/events?limit=1",
"samples": 15,
"p50Ms": 18.39,
"p95Ms": 33.66,
@@ -21,7 +21,7 @@
"statusCodes": "401=15"
},
{
"url": "https://127.1.0.1/api/v1/advisory-ai/adapters/llm/providers",
"url": "https://stella-ops.local/api/v1/advisory-ai/adapters/llm/providers",
"samples": 15,
"p50Ms": 185.37,
"p95Ms": 189.69,

View File

@@ -4,7 +4,7 @@
"candidate": "microservice",
"deltas": [
{
"url": "https://127.1.0.1/openapi.json",
"url": "https://stella-ops.local/openapi.json",
"reverse_p50_ms": 71.57,
"micro_p50_ms": 54.8,
"delta_p50_ms": -16.77,
@@ -15,7 +15,7 @@
"micro_status_codes": "200=15"
},
{
"url": "https://127.1.0.1/api/v1/timeline/events?limit=1",
"url": "https://stella-ops.local/api/v1/timeline/events?limit=1",
"reverse_p50_ms": 16.51,
"micro_p50_ms": 18.39,
"delta_p50_ms": 1.88,
@@ -26,7 +26,7 @@
"micro_status_codes": "401=15"
},
{
"url": "https://127.1.0.1/api/v1/advisory-ai/adapters/llm/providers",
"url": "https://stella-ops.local/api/v1/advisory-ai/adapters/llm/providers",
"reverse_p50_ms": 16.03,
"micro_p50_ms": 185.37,
"delta_p50_ms": 169.34,

View File

@@ -3,7 +3,7 @@
"mode": "reverseproxy",
"targets": [
{
"url": "https://127.1.0.1/openapi.json",
"url": "https://stella-ops.local/openapi.json",
"samples": 15,
"p50Ms": 71.57,
"p95Ms": 85.53,
@@ -12,7 +12,7 @@
"statusCodes": "200=15"
},
{
"url": "https://127.1.0.1/api/v1/timeline/events?limit=1",
"url": "https://stella-ops.local/api/v1/timeline/events?limit=1",
"samples": 15,
"p50Ms": 16.51,
"p95Ms": 18.67,
@@ -21,7 +21,7 @@
"statusCodes": "401=15"
},
{
"url": "https://127.1.0.1/api/v1/advisory-ai/adapters/llm/providers",
"url": "https://stella-ops.local/api/v1/advisory-ai/adapters/llm/providers",
"samples": 15,
"p50Ms": 16.03,
"p95Ms": 17.49,

View File

@@ -1,7 +1,7 @@
param(
[string]$RouterConfigPath = "devops/compose/router-gateway-local.json",
[string]$OpenApiPath = "devops/compose/openapi_current.json",
[string]$GatewayBaseUrl = "https://127.1.0.1",
[string]$GatewayBaseUrl = "https://stella-ops.local",
[ValidateSet("Microservice", "ReverseProxy", "StaticFiles")]
[string]$RouteType = "Microservice",
[string]$OutputCsv = "devops/compose/openapi_routeprefix_smoke.csv"