Skip to content

Commit

Permalink
👷 ci: add validator healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
megasanjay committed Nov 16, 2024
1 parent 8e3b3a4 commit aba85b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions validator/apis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@ def get(self):

return "Server active!"

@api.route("/up", endpoint="up")
class Up(Resource):
"""Health check for kamal"""
@api.response(200, "Success")
def get(self):
"""Returns a simple message"""

return ":)"

@api.route("/validate-cwl", endpoint="validate-cwl")
class ValidateCWL(Resource):
Expand Down

0 comments on commit aba85b3

Please sign in to comment.