cern-sis / issues-scoap3

0 stars 0 forks source link

OUP: migrate to ftp #157

Open ErnestaP opened 1 year ago

ErnestaP commented 1 year ago

Currently, all testing was done considering that the OUP server is SFTP. That's why on current QA workflows connection to OUP server is time outing.

Unfortunately, the OUP server is FTP, so we must add a new class that handles FTP requests.

Steps:

  1. Create a new class for the FTP server. Library for connecting to ftp: ftplib
  2. Change OUPSFTPService to OUPFTPService
  3. Use OUPFTPService in files downloading
  4. Change tests (adapt to OUPFTPService)
  5. Set up FTP server on Docker