Skip to content

VSN-2097/ feat: Add dedicated BO endpoints for passenger document management + fix large file upload

fatima senan a demandé de fusionner feature/VSN-2097 vers develop

This MR adds the following changes :

  • Add PassengerDocumentBoController with dedicated BO endpoints for passenger document management:

    • GET /bo/passenger/docs — list all documents for a given passenger (ownerUuid)
    • POST /bo/passenger/upload — upload a document on behalf of a passenger with BACK_OFFICE context
    • DELETE /bo/passenger/delete — delete a passenger document
    • GET /bo/passenger/download-url — generate a presigned download URL
    • PATCH /bo/passenger/rename — rename a document
  • Fix large file upload failure (MULTIPLE_EXCEPTIONS): replace s3FileService.uploadElementToBucket() with documentStorageService.uploadFile() which correctly sets ContentLength in S3 metadata, enabling direct streaming to S3 instead of full in-memory buffering

Rapports de requête de fusion