feat(relay): apply policy overrides for my-portal case and representation endpoints

This commit is contained in:
2026-03-24 15:52:29 +00:00
parent 0a5819803e
commit 318f913397
7 changed files with 213 additions and 0 deletions
@@ -36,9 +36,18 @@ export default async function ApiProxy(req, res) {
incidentID +
" and pinswg_publishtoweb eq true&$count=true&$orderby=createdon desc";
const relayPolicy = {
method: "GET",
timeoutMs: 8000,
maxRetries: 2,
retryBaseDelayMs: 150,
retryMaxDelayMs: 800
};
return relayGet({
queryUrl,
res,
relayPolicy,
errorResponse: {
status: 400,
code: "REPRESENTATIONS_FETCH_FAILED",