Integrity check, content validation and encryption of files over ICS FTP adapter Mani Krishnan
February 12, 2018 Leave a comment
Oracle Integration Cloud Service (ICS), an industry-leading iPaaS offering, provides rich orchestration and mapping capabilities over FTP connections. ICS FTP adapter supports connections over secure or non-secure channels. Files can be transferred and processed by ICS without validating content upon transfer, which is the default behavior. Files transferred over secured FTP benefit from inherent integrity checks built into the SFTP protocol. For more information on ICS FTP adapter, see the link to a guide in references section.
Some users might have advanced requirements to validate content of the files during transfer or check for integrity of file explicitly. In this article, let’s take a look at steps to enable content validation against a schema during transfer, to perform integrity checks using MD5 checksum and to implement PGP encryption to secure files over secure or plain FTP connections.
Note that code archives provided with this article do not come with warranty from Oracle. Use discretion and additional testing to reuse code for production. Instructions in this article are applicable to release 17.1.3 of ICS.
Main article
This article is split into three sections, in order to keep them easier to follow. Click on one of the titles below to jump to a section.
Validating MD5 checksum of content
Validating content against a schema
PGP Encryption/Decryption of content
Validating MD5 checksum of content
Some integration use cases might require that the data file’s integrity be verified after transfer and before further processing. This could be achieved by storing MD5 checksum of the original content, transfer it along with the file, compute checksum after transfer and compare with the checksum provided along with the file. If they match, then content has not been altered or corrupt during or after transfer.
In the sample orchestration, a data file and a file containing its MD5 checksum are in a .zip file. ICS computes checksum upon unpacking files into ICS. The checksum computed at source is compared with the checksum of the data file provided with file listing. If they match, orchestration proceeds with further processing. Read the complete article here.
For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.
Blog
Twitter
LinkedIn
Facebook
Wiki
Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress
