From dbd02cdbbf06a93c42ff2cd72f8ba3a766cf77c4 Mon Sep 17 00:00:00 2001 From: Rendani Gangazhe Date: Tue, 26 Nov 2024 16:25:27 +0100 Subject: [PATCH 1/3] fix: Adjust ping requests. --- eventsourcingdb_client_python/handlers/ping.py | 2 +- tests/shared/start_local_http_server.py | 4 ++-- tests/test_ping.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eventsourcingdb_client_python/handlers/ping.py b/eventsourcingdb_client_python/handlers/ping.py index 426f9c4..2716a92 100644 --- a/eventsourcingdb_client_python/handlers/ping.py +++ b/eventsourcingdb_client_python/handlers/ping.py @@ -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: diff --git a/tests/shared/start_local_http_server.py b/tests/shared/start_local_http_server.py index 28fbb0b..9e55826 100644 --- a/tests/shared/start_local_http_server.py +++ b/tests/shared/start_local_http_server.py @@ -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" @@ -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) diff --git a/tests/test_ping.py b/tests/test_ping.py index fcf76d8..47dee35 100644 --- a/tests/test_ping.py +++ b/tests/test_ping.py @@ -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) @@ -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) From cbcba16c1a09cbabc505f8e5a0792f351e5a3662 Mon Sep 17 00:00:00 2001 From: Rendani Gangazhe Date: Wed, 27 Nov 2024 10:55:55 +0100 Subject: [PATCH 2/3] fix: Use correct GitHub teams. --- .github/.dependabot.yml | 6 +++--- .github/CODEOWNERS | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/.dependabot.yml b/.github/.dependabot.yml index c4cae60..dc7a9aa 100644 --- a/.github/.dependabot.yml +++ b/.github/.dependabot.yml @@ -6,7 +6,7 @@ updates: interval: weekly open-pull-requests-limit: 10 assignees: - - thenativeweb/internal_eventsourcingdb_dep + - thenativeweb/internal_dev labels: - Dependencies commit-message: @@ -18,7 +18,7 @@ updates: interval: weekly open-pull-requests-limit: 10 assignees: - - thenativeweb/internal_eventsourcingdb_dep + - thenativeweb/internal_dev labels: - Dependencies commit-message: @@ -30,7 +30,7 @@ updates: interval: "weekly" open-pull-requests-limit: 10 assignees: - - thenativeweb/internal_eventsourcingdb_dep + - thenativeweb/internal_dev labels: - Dependencies commit-message: diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 459ddea..b1a90b4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @thenativeweb/internal_eventsourcingdb_rw +* @thenativeweb/internal_dev From 68c344b7d0a4af20f26166eb56210be34cbe94fa Mon Sep 17 00:00:00 2001 From: Rendani Gangazhe Date: Tue, 3 Dec 2024 16:16:24 +0100 Subject: [PATCH 3/3] chore: Update ESDB docker image. --- tests/shared/docker/eventsourcingdb/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/shared/docker/eventsourcingdb/Dockerfile b/tests/shared/docker/eventsourcingdb/Dockerfile index 414c651..6b024fa 100644 --- a/tests/shared/docker/eventsourcingdb/Dockerfile +++ b/tests/shared/docker/eventsourcingdb/Dockerfile @@ -1 +1 @@ -FROM ghcr.io/thenativeweb/eventsourcingdb:0.73.0 +FROM ghcr.io/thenativeweb/eventsourcingdb:0.79.0