SDiFI / masdif

Manager for Spoken Dialog Framework
Apache License 2.0
1 stars 0 forks source link

Health check should have non 200 status code when unhealthy #6

Closed rkjaran closed 1 year ago

rkjaran commented 1 year ago

The title is self-explanatory. We want to use the HTTP status code as a simple healthy/not-healty check, with the contents of the response serving as additional details.

lumpidu commented 1 year ago

Agreed. Will return 503 in that case and the JSON with the explanation. Please take a look at #7