Skip to content

VSN-2368/ feat(passenger-trips): map real trip stops with GPS coords and fix N+1 driver REST calls

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

Changes

  • Replace empty stops list with real trip stop mapping from circuit-service
  • Add latitude, longitude, passengerUuid, isCurrentPassenger fields to TripStopDTO
  • Add passengerUuid to CircuitTripResponseDTO.PassengerDetailsTripDTO for deserialization
  • Add mapTripStops() in PassengerTripMapper to map circuit trip points into TripStopDTO with GPS coordinates and isCurrentPassenger flag
  • Fix N+1 REST calls in getPassengerTrips: one call per unique driverId using Map<Long, DriverPlanningDTO> cache with computeIfAbsent instead of one call per trip

Rapports de requête de fusion