Skip to content
This repository was archived by the owner on Nov 2, 2021. It is now read-only.

Commit e9b0e8e

Browse files
committed
Healthcheck
1 parent 38213a3 commit e9b0e8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

entity_svc/app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ def create_entity(response):
5151

5252
return response
5353

54+
@app.route('/healthcheck', methods=['GET'])
55+
def health():
56+
return Response('ok')
57+
5458
@app.route('/', methods=['GET','POST'])
5559
def index():
5660
if request.method == 'GET':

0 commit comments

Comments
 (0)