Closed jhorbulyk closed 4 years ago
Interesting proposal. I think the assumption that file name is an ID may not be valid for typical SFTP use-cases where SFTP server is seen lees as CRUD service to read and write data but more like Queue where data batches are temproarily stored
DoD
Component development prerequisites:
Development:
After QA:
QA:
OIH Standard: In the case of files on an sftp server, the filename with absolute path is effectively the ID.
There should be an action
Lookup File (at most 1)
that adheres to the OIH standard. Iteration 1 is fine. It is not clear that iteration 2 could ever exist since filename is the only criteria which is commonly used to uniquely identify files. The file should be stored as an attachment in steward and the message structure should be similar to the structure produced by read. The file on the SFTP server should not be altered by this operation.Suggested Config Fields
file
. One day in the future we may add folder.~ -> That make's no sense. Let's keep it as files.Input metadata