pact-stub-server icon indicating copy to clipboard operation
pact-stub-server copied to clipboard

Health check

Open shishkin opened this issue 1 year ago • 4 comments

As far as I understand, stub server only responds to requests from the pacts. I think it would make sense to also add a diagnostics route like /health or maybe better something like /_pact/health that could be used by infrastructure to know when the service is ready and if it is alive. I'm using process-compose to orchestrate dev environment and process compose can only do HTTP and command execution checks.

shishkin avatar May 31 '24 10:05 shishkin