Skip to content

VSN-2251:Feature/establishment suivi courses

ismail.boulaich a demandé de fusionner feature/establishment-suivi-courses-step1-step2 vers develop

Objective

Add the backend support needed by the establishment Suivi des courses screen for:

  • today's course list
  • Détails du trajet
  • Informations sur le chauffeur et le véhicule

Implemented

  • added the additive establishment details endpoint:
    • GET /api/circuit/trip/establishment/{establishmentUuid}/today-courses/{tripId}/details
  • kept the existing establishment today-courses list endpoint
  • added a dedicated response DTO for establishment trip details
  • resolved real pickup and dropoff points from trip points and trip direction
  • returned:
    • departure time
    • estimated arrival time
    • estimated duration
    • derived UI status
    • pickup label/time/coordinates
    • dropoff label/time/coordinates
    • driver identity and contact
    • optional driver photo URL
    • vehicle label and license plate
  • reused existing driver/vehicle resolution through user-service
  • kept the change additive to avoid impacting existing consumers

Rapports de requête de fusion