VSN 446 : Introducing Importation + Exportation services based on the previous defined service & repos & utils.
Overview
This merge request introduces several new features and improvements mainly focused on the passenger importation process, utility enhancements, and documentation updates.
1. New Features
1.1 Passenger Importation
-
Passenger Importation Service Implementation of the
PassengerImportServiceextending the abstract import service to handle passenger-related import logic. -
Passenger Import Application Layer
-
Interface: Added
ImportAppServiceto define the import application's service contract. -
Implementation: Implemented
PassengerImportAppto manage passenger importation workflows.
-
Interface: Added
-
Passenger Import Constants Introduced
PassengerImportConstantsto represent sheet columns, file metadata, and attributes used during import. -
Passenger Mass Import Controller Added a dedicated controller responsible for handling passenger importation endpoints.
-
Template Downloading Implemented functionality for downloading passenger templates, including exposure through a new controller endpoint.
1.2 Utilities and Helpers
-
String Utilities Created a utility class for string operations such as password generation and custom manipulations.
-
Date Utilities Added a
DateUtilsclass to handle date-specific operations used across different services. -
Enum Utilities Introduced a class dedicated to enum-related conversions and lookups.
-
Error Message Constants Defined a
MessageConstantsclass to centralize error messages for improved maintainability.
2. Refactoring
- Adjusted the package path of the
PassengerImportServiceto ensure consistency with the project’s structure.
3. Documentation
-
Updated multiple changelog markdown files to include details about:
- Newly introduced services and classes.
- Changes related to the passenger importation feature.
- New utilities and constants added for code organization.
4. Impact
This merge enhances the system’s ability to manage passenger imports efficiently, introduces reusable utility classes, and improves code organization and documentation clarity.