diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 564fda1..e4dc688 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @thenativeweb/internal_eventsourcingdb_rw +* @thenativeweb/internal_dev diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9243aaa..93074bd 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 versioning-strategy: increase @@ -22,7 +22,7 @@ updates: interval: weekly open-pull-requests-limit: 10 assignees: - - thenativeweb/internal_eventsourcingdb_dep + - thenativeweb/internal_dev labels: - Dependencies commit-message: @@ -34,7 +34,7 @@ updates: interval: "weekly" open-pull-requests-limit: 10 assignees: - - thenativeweb/internal_eventsourcingdb_dep + - thenativeweb/internal_dev labels: - Dependencies commit-message: diff --git a/lib/handlers/ping/ping.ts b/lib/handlers/ping/ping.ts index 673dc08..57528f9 100644 --- a/lib/handlers/ping/ping.ts +++ b/lib/handlers/ping/ping.ts @@ -8,7 +8,7 @@ const ping = async (client: Client): Promise => { const response = await wrapError( async () => client.httpClient.get({ - path: '/ping', + path: '/api/ping', responseType: 'text', withAuthorization: false, }), diff --git a/test/integration/pingTests.ts b/test/integration/pingTests.ts index 8c12315..2e6add3 100644 --- a/test/integration/pingTests.ts +++ b/test/integration/pingTests.ts @@ -58,7 +58,7 @@ suite('Client.ping()', function () { test('throws an error if the server responds with an unexpected status code.', async (): Promise => { let client: Client; ({ client, stopServer } = await startLocalHttpServer(app => { - app.get('/ping', (_req, res) => { + app.get('/api/ping', (_req, res) => { res.status(StatusCodes.BAD_GATEWAY); res.send('OK'); }); @@ -81,7 +81,7 @@ suite('Client.ping()', function () { test("throws an error if the server's response body is not 'OK'.", async (): Promise => { let client: Client; ({ client, stopServer } = await startLocalHttpServer(app => { - app.get('/ping', (_req, res) => { + app.get('/api/ping', (_req, res) => { res.status(StatusCodes.OK); res.send('Gude'); }); diff --git a/test/shared/docker/eventsourcingdb/Dockerfile b/test/shared/docker/eventsourcingdb/Dockerfile index 74b0c9f..6b024fa 100644 --- a/test/shared/docker/eventsourcingdb/Dockerfile +++ b/test/shared/docker/eventsourcingdb/Dockerfile @@ -1 +1 @@ -FROM ghcr.io/thenativeweb/eventsourcingdb:0.77.0 +FROM ghcr.io/thenativeweb/eventsourcingdb:0.79.0