Skip to content

feat VSN-2077 : enrich geolocation data with driver info and add mileage anomaly detection

yassine.chhirou a demandé de fusionner feature/VSN-2077 vers develop

Implemented the complete mileage anomaly detection logic (night driving, weekend usage, and off-route trips) with a scheduled cron job executed after geolocation data is stored in the database.

Added two new REST endpoints to retrieve the anomaly history list and detailed information for each anomaly record.

Enhanced the Geoloc Service to enrich geolocation data with driver information before persistence.

During the FTP import process, driver identity (first name and last name) is extracted from incoming geolocation data.

Unique drivers are collected and enriched through a single batch request to the User Service to optimize performance.

The User Service returns enriched driver data, including driver ID, driver UUID, department name, and agency name, which is then persisted with geolocation records.

Closes VSN-2077

Rapports de requête de fusion