Expand and restructure ReverseProxy routes

Added new routes to the `ReverseProxy` configuration, including
`receiver-ui-login`, `receiver-ui-sender`, `receiver-ui-envelope`,
and others to handle specific paths, HTTP methods, and transformations.

Removed outdated routes such as `receiver-ui-static-assets` and
`receiver-ui-annotation-fake` to streamline the configuration.

Introduced transformations for response headers (e.g., `Cache-Control`)
and updated `auth-login` and `auth-envelope-receiver-login` routes
with new path patterns and query parameters.

Reorganized `receiver-ui` cluster routes to better handle static
assets (CSS, JS, Blazor framework, and content) and fake data.
This commit is contained in:
2026-06-06 18:05:53 +02:00
parent 6d8cecc20b
commit 17ee715b46

View File

@@ -36,11 +36,27 @@
{ "PathSet": "/index.html" } { "PathSet": "/index.html" }
] ]
}, },
"receiver-ui-static-assets": { "receiver-ui-blazor-framework": {
"ClusterId": "receiver-ui", "ClusterId": "receiver-ui",
"Order": 999, "Order": 50,
"Match": { "Match": {
"Path": "{**catch-all}", "Path": "/_framework/{**catch-all}",
"Methods": [ "GET", "HEAD" ]
}
},
"receiver-ui-blazor-content": {
"ClusterId": "receiver-ui",
"Order": 50,
"Match": {
"Path": "/_content/{**catch-all}",
"Methods": [ "GET", "HEAD" ]
}
},
"receiver-ui-static-css": {
"ClusterId": "receiver-ui",
"Order": 200,
"Match": {
"Path": "/css/{**catch-all}",
"Methods": [ "GET", "HEAD" ] "Methods": [ "GET", "HEAD" ]
}, },
"Transforms": [ "Transforms": [
@@ -48,29 +64,31 @@
"ResponseHeader": "Cache-Control", "ResponseHeader": "Cache-Control",
"Set": "no-cache, no-store, must-revalidate", "Set": "no-cache, no-store, must-revalidate",
"When": "Always" "When": "Always"
}
]
}, },
{ "receiver-ui-static-js": {
"ResponseHeader": "Pragma", "ClusterId": "receiver-ui",
"Set": "no-cache", "Order": 200,
"When": "Always" "Match": {
"Path": "/js/{**catch-all}",
"Methods": [ "GET", "HEAD" ]
}, },
"Transforms": [
{ {
"ResponseHeader": "Expires", "ResponseHeader": "Cache-Control",
"Set": "0", "Set": "no-cache, no-store, must-revalidate",
"When": "Always" "When": "Always"
} }
] ]
}, },
"receiver-ui-annotation-fake": { "receiver-ui-fake-data": {
"ClusterId": "receiver-ui", "ClusterId": "receiver-ui",
"Order": 10, "Order": 200,
"Match": { "Match": {
"Path": "/api/Annotation/{envelopeKey}", "Path": "/fake-data/{**catch-all}",
"Methods": [ "GET", "HEAD" ] "Methods": [ "GET", "HEAD" ]
}, }
"Transforms": [
{ "PathSet": "/fake-data/annotations.json" }
]
}, },
"auth-login": { "auth-login": {
"ClusterId": "auth-hub", "ClusterId": "auth-hub",