diff options
author | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2018-03-26 03:47:18 -0700 |
---|---|---|
committer | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2018-03-26 03:47:18 -0700 |
commit | 1989be6667eeb3b70e959c688c6b423b30dde78a (patch) | |
tree | 78a50167e86cd87fb218cee356ae0a2dd6e6de19 /osdfapp.py | |
parent | bc1d288ac29c3c9bf968cea5ac2d95b8bcd67eae (diff) |
Adding the missing healthcheck
Adding the missing healthcheck from previous commit.
Change-Id: I443dff8a22ea641bcbdfc4e8aa73ba5557d3259f
Issue-ID: OPTFRA-22
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'osdfapp.py')
-rwxr-xr-x | osdfapp.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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(): |