Object Storage with Oracle Integration Cloud – Part 2 by Stan Tanev
The first part of this series explored how to setup a connection between Oracle Integration Cloud (OIC) and OCI Object Storage, and how to use Object Storage as a location to write files as part of an integration.
In this blog I will show you how to use Oracle Integration Cloud to consume objects from OCI Object Storage, including listing, reading and deleting those objects. To do this I have prepared an integration which showcases a common integration pattern; consuming a staged file in order to load data into an enterprise system. In this case, the integration will load financial data from Object Storage into Oracle’s ERP Cloud application. Specifically, this integration will:
- List Account Payable (AP) Invoice files available on OCI Object Storage
- For each source file that it finds in the cloud bucket, it will:
- Read & transform the file to the format required by Oracle ERP Cloud
- Upload the transformed file to ERP Cloud and trigger the required Import jobs in the application
- Delete the now processed file from the OCI Object Storage bucket
If the above flow seems familiar to you this is likely because you have come across requirements to integrate with ERP Cloud before and have used one of the File Based Data Import (FBDI) jobs to load data from a file into the application. Most FBDI import patterns utilize a FTP/SFTP server to host the transient files prior to upload in ERP Cloud. Read the complete article here.
For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.