Fix router-gateway debug logging from mounted config file

router-gateway-local.json had Logging.LogLevel.StellaOps set to Debug,
overriding the compose env var Information setting. Fixed in both local
and reverseproxy config variants.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
master
2026-03-10 03:46:59 +02:00
parent 31cb31d0fb
commit 109f119a65
2 changed files with 850 additions and 823 deletions

View File

@@ -33,7 +33,13 @@
{ {
"Type": "Microservice", "Type": "Microservice",
"Path": "/api/v1/release-orchestrator", "Path": "/api/v1/release-orchestrator",
"TranslatesTo": "http://orchestrator.stella-ops.local/api/v1/release-orchestrator", "TranslatesTo": "http://jobengine.stella-ops.local/api/v1/release-orchestrator",
"PreserveAuthHeaders": true
},
{
"Type": "Microservice",
"Path": "/api/v1/approvals",
"TranslatesTo": "http://jobengine.stella-ops.local/api/v1/approvals",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
@@ -67,7 +73,7 @@
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api/v1/platform", "Path": "/api/v1/platform",
"TranslatesTo": "http://platform.stella-ops.local/api/v1/platform", "TranslatesTo": "http://platform.stella-ops.local/api/v1/platform",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
@@ -133,7 +139,7 @@
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api/v1/authority/quotas", "Path": "/api/v1/authority/quotas",
"TranslatesTo": "http://platform.stella-ops.local/api/v1/authority/quotas", "TranslatesTo": "http://platform.stella-ops.local/api/v1/authority/quotas",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
@@ -187,37 +193,37 @@
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api/v1/release-control", "Path": "/api/v1/release-control",
"TranslatesTo": "http://platform.stella-ops.local/api/v1/release-control", "TranslatesTo": "http://platform.stella-ops.local/api/v1/release-control",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api/v2/context", "Path": "/api/v2/context",
"TranslatesTo": "http://platform.stella-ops.local/api/v2/context", "TranslatesTo": "http://platform.stella-ops.local/api/v2/context",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api/v2/releases", "Path": "/api/v2/releases",
"TranslatesTo": "http://platform.stella-ops.local/api/v2/releases", "TranslatesTo": "http://platform.stella-ops.local/api/v2/releases",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api/v2/security", "Path": "/api/v2/security",
"TranslatesTo": "http://platform.stella-ops.local/api/v2/security", "TranslatesTo": "http://platform.stella-ops.local/api/v2/security",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api/v2/topology", "Path": "/api/v2/topology",
"TranslatesTo": "http://platform.stella-ops.local/api/v2/topology", "TranslatesTo": "http://platform.stella-ops.local/api/v2/topology",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api/v2/integrations", "Path": "/api/v2/integrations",
"TranslatesTo": "http://platform.stella-ops.local/api/v2/integrations", "TranslatesTo": "http://platform.stella-ops.local/api/v2/integrations",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
@@ -230,14 +236,14 @@
}, },
{ {
"Type": "ReverseProxy", "Type": "ReverseProxy",
"Path": "/policy/shadow", "Path": "/policy/simulations",
"TranslatesTo": "http://policy-gateway.stella-ops.local/policy/shadow", "TranslatesTo": "http://policy-gateway.stella-ops.local/policy/simulations",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "ReverseProxy", "Type": "ReverseProxy",
"Path": "/policy/simulations", "Path": "/policy/shadow",
"TranslatesTo": "http://policy-gateway.stella-ops.local/policy/simulations", "TranslatesTo": "http://policy-gateway.stella-ops.local/policy/shadow",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
@@ -417,19 +423,19 @@
{ {
"Type": "Microservice", "Type": "Microservice",
"Path": "/api/release-orchestrator", "Path": "/api/release-orchestrator",
"TranslatesTo": "http://orchestrator.stella-ops.local/api/release-orchestrator", "TranslatesTo": "http://jobengine.stella-ops.local/api/release-orchestrator",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "Microservice",
"Path": "/api/releases", "Path": "/api/releases",
"TranslatesTo": "http://orchestrator.stella-ops.local/api/releases", "TranslatesTo": "http://jobengine.stella-ops.local/api/releases",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "Microservice",
"Path": "/api/approvals", "Path": "/api/approvals",
"TranslatesTo": "http://orchestrator.stella-ops.local/api/approvals", "TranslatesTo": "http://jobengine.stella-ops.local/api/approvals",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
@@ -523,19 +529,19 @@
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api/v1/doctor/scheduler", "Path": "/api/v1/doctor/scheduler",
"TranslatesTo": "http://doctor-scheduler.stella-ops.local/api/v1/doctor/scheduler", "TranslatesTo": "http://doctor-scheduler.stella-ops.local/api/v1/doctor/scheduler",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api/doctor", "Path": "/api/doctor",
"TranslatesTo": "http://doctor.stella-ops.local/api/doctor", "TranslatesTo": "http://doctor.stella-ops.local/api/doctor",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{ {
"Type": "Microservice", "Type": "ReverseProxy",
"Path": "/api", "Path": "/api",
"TranslatesTo": "http://platform.stella-ops.local/api", "TranslatesTo": "http://platform.stella-ops.local/api",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
@@ -811,9 +817,9 @@
}, },
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
"Microsoft.AspNetCore.Authentication": "Debug", "Microsoft.AspNetCore.Authentication": "Information",
"Microsoft.IdentityModel": "Debug", "Microsoft.IdentityModel": "Information",
"StellaOps": "Debug" "StellaOps": "Information"
} }
} }
} }

View File

@@ -6,6 +6,15 @@
"AllowAnonymous": true, "AllowAnonymous": true,
"EnableLegacyHeaders": true, "EnableLegacyHeaders": true,
"AllowScopeHeader": false, "AllowScopeHeader": false,
"ApprovedAuthPassthroughPrefixes": [
"/connect",
"/console",
"/authority",
"/doctor",
"/api",
"/policy/shadow",
"/policy/simulations"
],
"Authority": { "Authority": {
"Issuer": "https://authority.stella-ops.local/", "Issuer": "https://authority.stella-ops.local/",
"RequireHttpsMetadata": false, "RequireHttpsMetadata": false,
@@ -22,6 +31,12 @@
"TranslatesTo": "http://jobengine.stella-ops.local/api/v1/release-orchestrator", "TranslatesTo": "http://jobengine.stella-ops.local/api/v1/release-orchestrator",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{
"Type": "ReverseProxy",
"Path": "/api/v1/approvals",
"TranslatesTo": "http://jobengine.stella-ops.local/api/v1/approvals",
"PreserveAuthHeaders": true
},
{ {
"Type": "ReverseProxy", "Type": "ReverseProxy",
"Path": "/api/v1/vex", "Path": "/api/v1/vex",
@@ -334,11 +349,17 @@
"TranslatesTo": "http://policy-gateway.stella-ops.local/api/cvss", "TranslatesTo": "http://policy-gateway.stella-ops.local/api/cvss",
"PreserveAuthHeaders": true "PreserveAuthHeaders": true
}, },
{
"Type": "ReverseProxy",
"Path": "/policy/simulations",
"TranslatesTo": "http://policy-gateway.stella-ops.local/policy/simulations",
"PreserveAuthHeaders": true
},
{ {
"Type": "ReverseProxy", "Type": "ReverseProxy",
"Path": "/policy/shadow", "Path": "/policy/shadow",
"TranslatesTo": "http://policy-gateway.stella-ops.local/policy/shadow", "TranslatesTo": "http://policy-gateway.stella-ops.local/policy/shadow",
"PreserveAuthHeaders": false "PreserveAuthHeaders": true
}, },
{ {
"Type": "ReverseProxy", "Type": "ReverseProxy",
@@ -788,9 +809,9 @@
}, },
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
"Microsoft.AspNetCore.Authentication": "Debug", "Microsoft.AspNetCore.Authentication": "Information",
"Microsoft.IdentityModel": "Debug", "Microsoft.IdentityModel": "Information",
"StellaOps": "Debug" "StellaOps": "Information"
} }
} }
} }