Skip to content

VSN-2233 : Rectifying mass importation logic and adapting it on the new form of prepared passengers default template.

yassine.elazami a demandé de fusionner VSN-2233 vers develop

Merge Request Description

Refactor: Referencing Latest Common Release

The codebase was updated to reference the most recent common release, ensuring consistency across modules and alignment with the latest shared version.

Refactor: Address Filter Correct Setting

Adjustments were made to the address filter configuration to guarantee proper application of filtering logic and avoid incorrect data handling.

Refactor: Mapping of Department Code

The mapping logic for department codes was revised to improve accuracy and maintain consistency in data transformation processes.

Feature: Implementing External Call

An external call was introduced to support integration with external services. This enables retrieval of department UUIDs based on department codes.

Refactor: Data Mapping in Mass Importation

The mapToEntity method within the mass importation process was refactored to streamline data mapping and enhance maintainability.

Refactor: Civility Utils Mapping

The civility utilities mapping was restructured to improve clarity and correctness in handling civility-related data.

Refactor: Exception Handling

Unnecessary exception throwing was removed to simplify error handling and reduce redundant code paths.

Feature: Finalizing Mapping

Additional mappings were finalized, including lot UUID and contract UUID, to complete the mass importation process.

Feature: Implementation of Lot and Contract Retrieval

Methods were implemented to retrieve lot UUIDs and contract UUIDs, enabling accurate linkage between contracts and lots during importation.

Feature: Adding External Calls for Contract and Lot

New external calls were added to fetch contract UUIDs based on contract titles and lot UUIDs based on lot numbers, enhancing data retrieval capabilities.

Refactor: Entity Mappings Correction

Corrections were applied to entity mappings within the mass importation process to ensure proper transformation and alignment with domain models.

Refactor: Removing Unused Beans

Unused beans were removed from the codebase to reduce clutter and improve maintainability.

Feature: New Data Mapping and Row Emptiness Test

Newly introduced passenger data was mapped into the importation process. Additionally, the row emptiness test was rectified to ignore default lookup expressions.

Feature: Mapping of New Passenger Data

New passenger data from Excel lines was mapped into the PreparedPassengerImportationLine DTO, extending the importation capabilities.

Refactor: Passenger Importation Line Update

The passenger importation line POJO was updated to cover newly introduced data, including department-associated city, contract, and contract-associated lot.





Closes VSN-2233

Rapports de requête de fusion