VSN-1949/ Integration with fleet-service: retrieve vehicle registration plate for driver
Integration with fleet-service: retrieve vehicle registration plate for driver
This merge request connects the user-service with the fleet-service to fetch the vehicle’s registration plate for each driver.
Key updates:
-
Added a new service to call the external Fleet API.
-
Replaced the mocked vehicle registration data with the real value retrieved from the fleet-service.
-
Updated the driver planning logic to include the actual registrationPlate from the associated vehicle.
Endpoint used:
GET /api/fleet/vehicle/{id}/registrationPlate