Skip to content

VSN-2099/ feat(passenger planning): Add passenger trip planning endpoints for mobile app

fatima senan a demandé de fusionner feature/VSN-2099 vers develop

This MR implements the following :

  • Add endpoints (GET /passengers/{uuid}/trips and GET /passengers/{uuid}/trips/{id}) for the mobile passenger app to retrieve trip list and details
  • Implement optimized queries with batch TripCircuit loading, SQL-level date filtering, and COUNT queries to avoid loading multiple entities into memory
  • Add inter-service communication with circuit-service to resolve trip IDs by passenger UUID and retrieve trip details (distance, duration, direction, locations)
  • Support dual data source: assigned trips (TripPlanning) and non-assigned trips (TripCircuit) with driver info.

Rapports de requête de fusion