Background job to find new incoming GDSN files, and process them
User Story
As a sysadmin, I want to have every file that is placed in a certain folder in GDSN format to be automatically parsed and processed by PCMT so that new GDSN information retrieved through my connection is picked up and handed off to the PCMT processor.
Background Documents
- Issue for the connection (SFTP): #212 (closed)
- Issue for the GDSN processor: #179 (closed)
Acceptance Criteria
-
Runs on a given schedule -
.xml
files placed in folder (not sub-folders) are given to PCMT GDSN processor -
Once a file is processed by the GDSN processor, move the file into an archive/
sub-directory. -
files my be moved into the folder while this is running, those files may be safely ignored until the next scheduled run, however they shouldn't be prematurely moved into the archive/
sub-folder. -
(@joshzamor) Gitlab CI deploys e2open staging credentials to gfpvan-uat (notify stew first before potential data loss) (moved from #212 (closed) due to timing) -
(@joshzamor) FTP image is re-enabled to mv files on ftp server to archive (moved from #212 (closed) due to timing)
Edited by Josh Zamor