Files
routesapi/app/routes/__init__.py
Suriya 4d21b44ddc feat: wire the Doormile endpoint onto the server's actual code
f804791 added app/routes/doormile.py against a base that predated the
Valhalla work. Rebasing it onto 9ef2f61 rewires it to what is really
running, without disturbing anything the server had: the RoadMatrix
probe, road_backend_status and the VALHALLA_URL switch are all intact.

The one thing the endpoint depends on is unchanged --
optimize_provider_payload(orders, start_coords=None) has the same
signature in the server's optimizer as in the version it was written
against -- so passing the kitchen through as the run's start still
works. Tests re-run against the server's code: all pass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-11 15:57:07 +05:30

21 lines
585 B
Python

"""Routes package."""
from .optimization import router as optimization_router
from .health import router as health_router
from .cache import router as cache_router
from .ml_admin import router as ml_router, web_router as ml_web_router
from .batch_analytics import router as batch_analytics_router
from .riders import router as riders_router
from .doormile import router as doormile_router
__all__ = [
"optimization_router",
"health_router",
"cache_router",
"ml_router",
"ml_web_router",
"batch_analytics_router",
"riders_router",
"doormile_router",
]