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.
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
/healthor maybe better something like/_pact/healththat 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.