Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change health check URL; add wget to docker image #775

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Neo4j.Driver.Tests.BenchkitBackend.Controllers;
/// </summary>
[ApiController]
[Route("[controller]")]
public class HealthController(
public class ReadyController(
IDriver driver,
ILogger logger)
: ControllerBase
Expand All @@ -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.
/// </remarks>
[HttpGet("ready")]
[HttpGet]
[ProducesResponseType(StatusCodes.Status204NoContent)]
public async Task<ActionResult> Get()
{
Expand Down
3 changes: 3 additions & 0 deletions Neo4j.Driver/Neo4j.Driver.Tests.BenchkitBackend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down