Skip to content

Commit bcc84d4

Browse files
ZsailerGitHub Enterprise
authored and
GitHub Enterprise
committed
revert health endpoint (jupyter-server#111)
* revert health endpoint * Bump to 0.10.1
1 parent 6dd9007 commit bcc84d4

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.10.0" # pragma: no cover
1+
__version__ = "0.10.1" # pragma: no cover

data_studio_jupyter_extensions/extensions/heartbeat/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ def get(self):
2020

2121

2222
handlers = [
23-
(r"/api/v1/__health", HeartbeatHandler),
23+
(r"/__health", HeartbeatHandler),
2424
]

data_studio_jupyter_extensions/tests/extensions/test_heartbeat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def jp_argv():
88

99

1010
async def test_endpoint(jp_fetch):
11-
resp = await jp_fetch("api/v1/__health")
11+
resp = await jp_fetch("__health")
1212
assert resp.code == 200
1313
assert resp.body.decode() == "Yep, we're healthy here."
1414
assert resp.headers.get("Access-Control-Allow-Origin") == "http://foo.com"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ testpaths = [
2323
]
2424

2525
[tool.tbump.version]
26-
current = "0.10.0"
26+
current = "0.10.1"
2727
regex = '''
2828
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
2929
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.10.0
1+
0.10.1

0 commit comments

Comments
 (0)