diff --git a/Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Controllers/HealthController.cs b/Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Controllers/ReadyController.cs similarity index 96% rename from Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Controllers/HealthController.cs rename to Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Controllers/ReadyController.cs index 0f20aaa19..4521a58ab 100644 --- a/Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Controllers/HealthController.cs +++ b/Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Controllers/ReadyController.cs @@ -24,7 +24,7 @@ namespace Neo4j.Driver.Tests.BenchkitBackend.Controllers; /// [ApiController] [Route("[controller]")] -public class HealthController( +public class ReadyController( IDriver driver, ILogger logger) : ControllerBase @@ -37,7 +37,7 @@ public class HealthController( /// This endpoint can be used to check if the service is ready to receive requests. This obviously includes /// the web server, but also whether the backend can successfully connect to the DBMS. /// - [HttpGet("ready")] + [HttpGet] [ProducesResponseType(StatusCodes.Status204NoContent)] public async Task Get() { diff --git a/Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Dockerfile b/Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Dockerfile index 8516b6bd1..a248b4971 100644 --- a/Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Dockerfile +++ b/Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Dockerfile @@ -15,6 +15,9 @@ RUN dotnet publish -c Release -o /app # Stage 2: Runtime FROM mcr.microsoft.com/dotnet/aspnet:8.0 + +RUN apt update +RUN apt install wget -y WORKDIR /app # Copy from build stage