diff --git a/proxies/sandbox/apiproxy/proxies/default.xml b/proxies/sandbox/apiproxy/proxies/default.xml index 3162396..6955813 100644 --- a/proxies/sandbox/apiproxy/proxies/default.xml +++ b/proxies/sandbox/apiproxy/proxies/default.xml @@ -1,89 +1,89 @@ - - - - - - AssignMessage.AddPayloadToPing - - - (proxy.pathsuffix MatchesPath "/_ping") and ((request.verb = "GET") or (request.verb = "HEAD")) - - - - - request.header.apikey = null or private.common.status-endpoint-api-key != request.header.apikey - RaiseFault.401Unauthorized - - - ServiceCallout.CallHealthcheckEndpoint - - - - - javascript.SetStatusResponse - - - (proxy.pathsuffix MatchesPath "/_status") and ((request.verb = "GET") or (request.verb = "HEAD")) - - - - - RaiseFault.400BadRequest - Missing Header: NHSD-End-User-Organisation-ODS - - - request.verb != "OPTIONS" and (request.header.NHSD-End-User-Organisation-ODS = null or request.header.NHSD-End-User-Organisation-ODS = "") - - - - - - AssignMessage.AddCors - - - + + + + + + AssignMessage.AddPayloadToPing + + + (proxy.pathsuffix MatchesPath "/_ping") and ((request.verb = "GET") or (request.verb = "HEAD")) + + + + + request.header.apikey = null or private.common.status-endpoint-api-key != request.header.apikey + RaiseFault.401Unauthorized + + + ServiceCallout.CallHealthcheckEndpoint + + + + + javascript.SetStatusResponse + + + (proxy.pathsuffix MatchesPath "/_status") and ((request.verb = "GET") or (request.verb = "HEAD")) + + + + + RaiseFault.400BadRequest + Missing Header: NHSD-End-User-Organisation-ODS + + + request.verb != "OPTIONS" and (request.header.NHSD-End-User-Organisation-ODS = null or request.header.NHSD-End-User-Organisation-ODS = "") + + + + + + AssignMessage.AddCors + + + - - - AssignMessage.SetApimGuids - - + + + AssignMessage.SetApimGuids + + - - - FlowCallout.LogToSplunk - - + + + FlowCallout.LogToSplunk + + - record-locator/producer-pr-117 - secure + record-locator/producer-pr-117 + secure - (proxy.pathsuffix MatchesPath "/_ping") and ((request.verb = "GET") or (request.verb = "HEAD")) + (proxy.pathsuffix MatchesPath "/_ping") and ((request.verb = "GET") or (request.verb = "HEAD")) - (proxy.pathsuffix MatchesPath "/_status") and ((request.verb = "GET") or (request.verb = "HEAD")) + (proxy.pathsuffix MatchesPath "/_status") and ((request.verb = "GET") or (request.verb = "HEAD")) - (request.verb = "OPTIONS") + (request.verb = "OPTIONS") - sandbox + sandbox - true - - AssignMessage.AddCors - - - AssignMessage.Errors.CatchAllMessage - (response.content NOT Like "*OperationOutcome*") - + true + + AssignMessage.AddCors + + + AssignMessage.Errors.CatchAllMessage + (response.content NOT Like "*OperationOutcome*") +