Python middleware missing default routes
lkingland opened this issue · 1 comments
lkingland commented
The python middleware currently requires the health and readiness endpoints to be defined:
from flask import Flask, request
application = Flask(__name__)
@application.route('/health/readiness')
def probe_health():
return ""
@application.route('/health/liveness')
def probe_live():
return ""
The middleware should both attach the routes, and provide a deafault implementation, such that these are non-required.
github-actions commented
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen
. Mark the issue as
fresh by adding the comment /remove-lifecycle stale
.