Code Review
/
optf
/
osdf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
dcdf9d8
)
Merge "Inserted policy tosca models and examples"
author
Sastry Isukapalli
<sastry@research.att.com>
Mon, 26 Mar 2018 18:06:23 +0000
(18:06 +0000)
committer
Gerrit Code Review
<gerrit@onap.org>
Mon, 26 Mar 2018 18:06:23 +0000
(18:06 +0000)
osdfapp.py
patch
|
blob
|
history
diff --git
a/osdfapp.py
b/osdfapp.py
index
348a88c
..
775bb07
100755
(executable)
--- 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():