summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xosdfapp.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/osdfapp.py b/osdfapp.py
index 348a88c..775bb07 100755
--- a/osdfapp.py
+++ b/osdfapp.py
@@ -93,6 +93,12 @@ def handle_data_error(e):
return response
+@app.route("/api/oof/v1/healthcheck", methods=["GET"])
+def do_osdf_health_check():
+ """Simple health check"""
+ return "OK"
+
+
@app.route("/api/oof/v1/placement", methods=["POST"])
@auth_basic.login_required
def do_placement_opt():