Skip to content

Implement health and readiness check endpoints - #354

Open
Davichi-1 wants to merge 2 commits into
Quantarq:mainfrom
Davichi-1:patch-1
Open

Implement health and readiness check endpoints#354
Davichi-1 wants to merge 2 commits into
Quantarq:mainfrom
Davichi-1:patch-1

Conversation

@Davichi-1

Copy link
Copy Markdown

Add /health and /ready endpoints

Description

Related Issue

Change Type

  • feat — new feature
  • fix — bug fix
  • docs — documentation
  • refactor — code refactoring
  • test — adding or updating tests
  • ci — CI/CD changes

Testing Done

Screenshots (if UI changes)

Environment Variables

Checklist

  • make lint passes (pylint on changed .py files)
  • make test passes (pytest in quantara/web_app/tests/)
  • CI is green on this PR
  • Documentation updated (if applicable)
  • PR is linked to a related issue (Closes #<n>)

Add /health and /ready endpoints
Comment thread quantara/web_app/api/main.py Fixed
Comment thread quantara/web_app/api/main.py Fixed
Updated readiness check to include a TODO for a real DB check.
return {"status": "ok"}


@app.get("/ready")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants