Skip to content

Commit

Permalink
revert health endpoint (jupyter-server#111)
Browse files Browse the repository at this point in the history
* revert health endpoint

* Bump to 0.10.1
  • Loading branch information
Zsailer authored and GitHub Enterprise committed Sep 1, 2021
1 parent 6dd9007 commit bcc84d4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data_studio_jupyter_extensions/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.10.0" # pragma: no cover
__version__ = "0.10.1" # pragma: no cover
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ def get(self):


handlers = [
(r"/api/v1/__health", HeartbeatHandler),
(r"/__health", HeartbeatHandler),
]
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def jp_argv():


async def test_endpoint(jp_fetch):
resp = await jp_fetch("api/v1/__health")
resp = await jp_fetch("__health")
assert resp.code == 200
assert resp.body.decode() == "Yep, we're healthy here."
assert resp.headers.get("Access-Control-Allow-Origin") == "http://foo.com"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ testpaths = [
]

[tool.tbump.version]
current = "0.10.0"
current = "0.10.1"
regex = '''
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.0
0.10.1

0 comments on commit bcc84d4

Please sign in to comment.