Refactor breaksRoute in TileService.scala so that we can call a function from the health check endpoint that simulates, as accurately as possible, a simple, unmasked breaks call.
Health checks must be GET requests, so can't just use the existing POST only breaks endpoint as our health check.
We have seen "Boxed Error" failures (https://github.com/OpenTreeMap/otm-modeling/issues/140) in staging when the bounding box of the instance was set to a rectangle within the bounds of a single zoom level 8 tile, so the bbox we pass to the breaks function can be small and still check for the failure condition.
Refactor
breaksRoute
inTileService.scala
so that we can call a function from the health check endpoint that simulates, as accurately as possible, a simple, unmasked breaks call.Health checks must be GET requests, so can't just use the existing POST only breaks endpoint as our health check.
We have seen "Boxed Error" failures (https://github.com/OpenTreeMap/otm-modeling/issues/140) in staging when the bounding box of the instance was set to a rectangle within the bounds of a single zoom level 8 tile, so the
bbox
we pass to the breaks function can be small and still check for the failure condition.