Add receiver-ui-annotation-fake route to yarp.json

Added a new route configuration `receiver-ui-annotation-fake` to the `yarp.json` file. This route is associated with the `receiver-ui` cluster, has an `Order` value of `10`, and matches requests to `/api/Annotation/{envelopeKey}` with `GET` and `HEAD` methods. A path transformation rewrites the route to `/fake-data/annotations.json`.
This commit is contained in:
2026-05-31 11:11:58 +02:00
parent dcb3e5d45d
commit 5964ebc088

View File

@@ -41,6 +41,17 @@
"Methods": [ "GET", "HEAD" ]
}
},
"receiver-ui-annotation-fake": {
"ClusterId": "receiver-ui",
"Order": 10,
"Match": {
"Path": "/api/Annotation/{envelopeKey}",
"Methods": [ "GET", "HEAD" ]
},
"Transforms": [
{ "PathSet": "/fake-data/annotations.json" }
]
},
"auth-login": {
"ClusterId": "auth-hub",
"Match": {