File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
eventsourcingdb_client_python/handlers Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 66 interval : weekly
77 open-pull-requests-limit : 10
88 assignees :
9- - thenativeweb/internal_eventsourcingdb_dep
9+ - thenativeweb/internal_dev
1010 labels :
1111 - Dependencies
1212 commit-message :
@@ -18,7 +18,7 @@ updates:
1818 interval : weekly
1919 open-pull-requests-limit : 10
2020 assignees :
21- - thenativeweb/internal_eventsourcingdb_dep
21+ - thenativeweb/internal_dev
2222 labels :
2323 - Dependencies
2424 commit-message :
@@ -30,7 +30,7 @@ updates:
3030 interval : " weekly"
3131 open-pull-requests-limit : 10
3232 assignees :
33- - thenativeweb/internal_eventsourcingdb_dep
33+ - thenativeweb/internal_dev
3434 labels :
3535 - Dependencies
3636 commit-message :
Original file line number Diff line number Diff line change 1- * @ thenativeweb/internal_eventsourcingdb_rw
1+ * @ thenativeweb/internal_dev
Original file line number Diff line number Diff line change 55
66
77async def ping (client : AbstractBaseClient ) -> None :
8- response = await client .http_client .get ('/ping' )
8+ response = await client .http_client .get ('/api/ ping' )
99 response_body = bytes .decode (await response .body .read (), encoding = 'utf-8' )
1010
1111 if response .status_code != HTTPStatus .OK or response_body != HTTPStatus .OK .phrase :
Original file line number Diff line number Diff line change 1- FROM ghcr.io/thenativeweb/eventsourcingdb:0.73 .0
1+ FROM ghcr.io/thenativeweb/eventsourcingdb:0.79 .0
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def attached_handler():
3030
3131 attach_handlers (attach_handler )
3232
33- @self .app .get ('/__python_test__/ping' )
33+ @self .app .get ('/__python_test__/api/ ping' )
3434 def ping ():
3535 return "OK"
3636
@@ -48,7 +48,7 @@ async def ping_app() -> RetryResult[None]:
4848 async with session :
4949 try :
5050 response = await session .get (
51- f'http://localhost:{ local_http_server .port } /__python_test__/ping' , timeout = 1
51+ f'http://localhost:{ local_http_server .port } /__python_test__/api/ ping' , timeout = 1
5252 )
5353 except aiohttp .ClientError as error :
5454 return Retry (cause = error )
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ def handle_ping(response: Response) -> Response:
4949 response .set_data ('OK' )
5050 return response
5151
52- attach_handler ('/ping' , 'GET' , handle_ping )
52+ attach_handler ('/api/ ping' , 'GET' , handle_ping )
5353
5454 client = await get_client (attach_handlers )
5555
@@ -67,7 +67,7 @@ def handle_ping(response: Response) -> Response:
6767 response .set_data ('not OK' )
6868 return response
6969
70- attach_handler ('/ping' , 'GET' , handle_ping )
70+ attach_handler ('/api/ ping' , 'GET' , handle_ping )
7171
7272 client = await get_client (attach_handlers )
7373
You can’t perform that action at this time.
0 commit comments