Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/.dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ updates:
interval: weekly
open-pull-requests-limit: 10
assignees:
- thenativeweb/internal_eventsourcingdb_dep
- thenativeweb/internal_dev
labels:
- Dependencies
commit-message:
Expand All @@ -18,7 +18,7 @@ updates:
interval: weekly
open-pull-requests-limit: 10
assignees:
- thenativeweb/internal_eventsourcingdb_dep
- thenativeweb/internal_dev
labels:
- Dependencies
commit-message:
Expand All @@ -30,7 +30,7 @@ updates:
interval: "weekly"
open-pull-requests-limit: 10
assignees:
- thenativeweb/internal_eventsourcingdb_dep
- thenativeweb/internal_dev
labels:
- Dependencies
commit-message:
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @thenativeweb/internal_eventsourcingdb_rw
* @thenativeweb/internal_dev
2 changes: 1 addition & 1 deletion eventsourcingdb_client_python/handlers/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


async def ping(client: AbstractBaseClient) -> None:
response = await client.http_client.get('/ping')
response = await client.http_client.get('/api/ping')
response_body = bytes.decode(await response.body.read(), encoding='utf-8')

if response.status_code != HTTPStatus.OK or response_body != HTTPStatus.OK.phrase:
Expand Down
2 changes: 1 addition & 1 deletion tests/shared/docker/eventsourcingdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM ghcr.io/thenativeweb/eventsourcingdb:0.73.0
FROM ghcr.io/thenativeweb/eventsourcingdb:0.79.0
4 changes: 2 additions & 2 deletions tests/shared/start_local_http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def attached_handler():

attach_handlers(attach_handler)

@self.app.get('/__python_test__/ping')
@self.app.get('/__python_test__/api/ping')
def ping():
return "OK"

Expand All @@ -48,7 +48,7 @@ async def ping_app() -> RetryResult[None]:
async with session:
try:
response = await session.get(
f'http://localhost:{local_http_server.port}/__python_test__/ping', timeout=1
f'http://localhost:{local_http_server.port}/__python_test__/api/ping', timeout=1
)
except aiohttp.ClientError as error:
return Retry(cause=error)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def handle_ping(response: Response) -> Response:
response.set_data('OK')
return response

attach_handler('/ping', 'GET', handle_ping)
attach_handler('/api/ping', 'GET', handle_ping)

client = await get_client(attach_handlers)

Expand All @@ -67,7 +67,7 @@ def handle_ping(response: Response) -> Response:
response.set_data('not OK')
return response

attach_handler('/ping', 'GET', handle_ping)
attach_handler('/api/ping', 'GET', handle_ping)

client = await get_client(attach_handlers)

Expand Down