CSCI-GA-2820-SU23-001 / orders

NYU DevOps Orders Service Summer 2023
Apache License 2.0
2 stars 1 forks source link

Add database health check in /health endpoint #135

Closed nicksome168 closed 1 year ago

nicksome168 commented 1 year ago

As a developer I need a health endpoint So that I can check if both service and the database are health in the cluster

Details and Assumptions

Acceptance Criteria

 Given a rest API endpoint `/health`
 When user GET `/health` endpoint on cluster
 Then I should expect 200 OK if both services are up. Otherwise 503 Service Unavailable
yjhsieh2022 commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @even1111112 @nicksome168 @PepperandSummer @un-poco @yjhsieh2022