Implement Re-send EDIFACT export logic

Description

Purpose/Overview:
Should be possible re-send EDIFACT export from Minio to SFTP/FTP

Requirements/Scope:

  1. Allow user to re-send the exact file that was exported previously for a given export job from MINIO to FTP

  2. Allow user to re-send file without needing to rebuild it on the fly

  3. Update job details according to new FTP upload attempt

  4. Send based on FTP details from integration(because ftp details could be changed in integration). Update job FTP details if needed

  5. SN Update: If job was failed on MINIO or earlier step - fileName should be null in jobs table

Approach:

  1. mod-data-export-spring Add API for resending FILE from MINIO to FTP/SFTP

Acceptance criteria:

  • File is uploaded to FTP/SFTP from MINIO

  • Status and Error message information of job is updated (for example for the first try password was not valid and job was in FAILED status, after correcting FTP password status should be changed from FAILED to COMPLETED and error message should be cleared) 

  • Potentially FTP/SFTP information of job is updated

  • Migration scripts are provided (optional AC)

  • API tests are written/updated and tests passed successfully (screenshot added)

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Serhii_Nosko October 4, 2022 at 6:36 AM

Re-send logic  in mod-data-export-worker has been implemented and tested individually, the full flow test will be done after completing story https://folio-org.atlassian.net/browse/MODEXPW-43 

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

Nolana (R3 2022)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 19, 2022 at 12:10 PM
Updated October 26, 2022 at 3:46 PM
Resolved October 4, 2022 at 6:36 AM
TestRail: Cases
TestRail: Runs