Challenge Overview
This component is a new module in an existing framework named Java Batch Job Infrastructure (JBJI).
This new module needs to provide a framework (configured via the JBJI Spring-based XML configuration file) for transferring the log for a job to a configured target server when the job is done via a couple of different methods (FTP and SCP).
This component defines abstract class BaseLogTransferTask and two concrete implementations:
- VFSLogTransferTask
This implementation makes use of Apache Commons VFS libraries to do the log file transfer, and hence supports various file transfer mechanisms including FTP, FTPS, HTTP, HTTPS, SFTP and WebDAV.
- SCPLogTransferTask
This implementation makes use of JSch to transfer log file with SCP.
Final Submission Guidelines
N/A