diff --git a/superset/views/core.py b/superset/views/core.py index 73daeac6ad6ba..19827b1a8eb14 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -582,6 +582,9 @@ class LogModelView(SupersetModelView): def health(): return "OK" +@app.route('/healthcheck') +def healthcheck(): + return "OK" @app.route('/ping') def ping(): diff --git a/tests/core_tests.py b/tests/core_tests.py index c7c2ff9a1625e..75c9871adc212 100644 --- a/tests/core_tests.py +++ b/tests/core_tests.py @@ -271,6 +271,7 @@ def test_doctests(self): def test_misc(self): assert self.get_resp('/health') == "OK" + assert self.get_resp('/healthcheck') == "OK" assert self.get_resp('/ping') == "OK" def test_testconn(self, username='admin'):