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

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.

1 participant