Skip to content

Commit 439c11c

Browse files
Merge pull request #353 from NHSDigital/AMB-783-fix-monitoring-default-503-status-response
AMB-783 Readded changing enabling monitoring to false when _ping or _…
2 parents f6c645b + 992a61c commit 439c11c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

azure/templates/deploy-service.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ steps:
300300
301301
if [[ $ping_endpoint_response != "200" ]]; then
302302
echo "##vso[task.logissue type=error]Your proxy doesn't have a _ping endpoint therefore we can't monitor this proxy and it should not be released, use the flag 'enable_monitoring=false' if your API doesn't support _ping healthcheck."
303+
echo "##vso[task.setvariable variable=enable_ping_monitoring]false"
303304
exit 1
304305
fi
305306
displayName: 'Check _ping'
@@ -319,6 +320,7 @@ steps:
319320
320321
if [[ $status_endpoint_response != "200" ]]; then
321322
echo "##vso[task.logissue type=error]Your proxy doesn't have a _status endpoint therefore we can't monitor this proxy and it should not be released, use the flag 'enable_status_monitoring=false' if your API doesn't support _status healthcheck."
323+
echo "##vso[task.setvariable variable=enable_status_monitoring]false"
322324
exit 1
323325
fi
324326

0 commit comments

Comments
 (0)