Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

add a health-check controller #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add a health-check controller #136

wants to merge 1 commit into from

Conversation

abacaphiliac
Copy link

add a health-check controller which simply returns an empty response with a pass/fail HTTP status code based on the diagnostic results. the default status codes can be overridden via setter if you create and register a factory for the controller.

i'm unable to get the test suite to pass without changes to the following files:

  • composer.json
  • tests/ZFToolTest/Diagnostics/DiagnosticsControllerTest.php

i'm looking into a ZF3 upgrade for ZFTool but i've just barely started. in the meantime, thoughts on this new feature?

…with a pass/fail HTTP status code based on the diagnostic results. the default status codes can be overridden via setter if you create and register a factory for the controller.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant