Skip to content

NelsonBN/demo-dotnet-integration-tests-cosmosdb-container

Repository files navigation

Demo - CosmosDb Integration Tests with .NET and TestContainers

Demos

Init Database and container with Docker-Compose

CosmosDb Emulator - Details

Health Checks Endpoints

  • GET http://localhost:8080/alive: returns 503 if PostgreSQL and Gateway are unhealthy
  • GET http://localhost:8080/ready: returns 503 if any component is not in the right state (if explorer is disabled, that doesn't count)
  • GET http://localhost:8080/status: always return 200 and you can parse the response body in JSON for details

Reference: Endpoints source

References

About

Demo - CosmosDb Integration Tests with .NET and TestContainers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published