Skip to content

Commit aeb302f

Browse files
Merge pull request #8 from NHSDigital/APM-2884-fix-status-endpoint
APM-2884 disable _status monitoring
2 parents f3a7676 + 53a858d commit aeb302f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

azure/azure-release-pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ variables:
2727
extends:
2828
template: azure/common/apigee-deployment.yml@common
2929
parameters:
30+
enable_status_monitoring: false
3031
service_name: ${{ variables.service_name }}
3132
short_service_name: ${{ variables.short_service_name }}
3233
service_base_path: ${{ variables.service_base_path }}

proxies/live/apiproxy/proxies/default.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<Name>javascript.SetStatusResponse</Name>
3535
</Step>
3636
</Response>
37-
<Condition>((proxy.pathsuffix MatchesPath "/status") and (request.verb = "GET")) or ((proxy.pathsuffix MatchesPath "/_status") and ((request.verb = "GET") or (request.verb = "HEAD")))
37+
<Condition>((proxy.pathsuffix MatchesPath "/status") and (request.verb = "GET"))
3838
</Condition>
3939
</Flow>
4040
</Flows>
@@ -64,7 +64,7 @@
6464
<Step>
6565
<Name>javascript.SetStatusResponse</Name>
6666
</Step>
67-
<Condition>(((proxy.pathsuffix MatchesPath "/status") and (request.verb = "GET")) or ((proxy.pathsuffix MatchesPath "/_status") and ((request.verb = "GET") or (request.verb = "HEAD")))) and (splunkCalloutResponse isNot null)
67+
<Condition>((proxy.pathsuffix MatchesPath "/status") and (request.verb = "GET")) and (splunkCalloutResponse isNot null)
6868
</Condition>
6969
</FaultRule>
7070
</FaultRules>

0 commit comments

Comments
 (0)