VSN-437 : Simplifying indirect prepared passenger specifications to correct data filtering behaviour.
Additional Changes Included in This MR
1. Fixes
Fix: Sorting Details Attribution
- Corrected name attributions, updating labels from French to English.
Fix: Address Mapping
- Fixed the mapping of the
addressproperty to ensure proper data retrieval.
2. Features
Feature: Passenger Mapping
- Added mapping for newly introduced attributes related to establishment name and passenger address.
3. Refactoring
Refactor: Passenger DTO
- Updated the Passenger Response DTO to include establishment name and address directly instead of relying on nested structures.
Refactor: Passenger Specifications
- Adapted the previous Address Specification to work with the newly introduced direct address attribute, simplifying filtering logic.
Additional Backend Changes
1. Specifications
Feature: New Establishment Specification
- Added a new specification to support filtering based on the newly introduced
establishmentfield.
2. Mapping Fixes
Fix: Establishment sort-by Mapping
- Corrected the mapping between the request's establishment attribute and the corresponding entity attribute to ensure accurate sorting and querying.
3. Documentation
Documentation: Changelog Update
- Updated the project changelog to reflect recent changes in passenger preparation, mapping logic, and specifications.
4. Build Configuration
Build: Maven Release Update
- Updated the
pom.xmlto switch from the common snapshot version to the release version for the current module.
Closes VSN-437