Use Case: Here, we will see how to export an integration using Oracle provided REST APIs. We will export the integration and write to a FTP location.
Export Rest API:
Verb: GET
URI: /ic/api/integration/v1/integrations/{id}/archive
We can get all the Rest APIs in docs.oracle.com site under integrations section.
https://docs.oracle.com/en/cloud/paas/integration-cloud/rest-api/index.html
Steps(High Level):
- Create 3 connections - Rest trigger , Rest OIC self connection and FTP connection.
- Create an App driven orchestration and configure Rest trigger
- Take REST OIC connection and configure Rest api call for Export. Choose response as binary and type as application/octet-stream.
- Call FTP adapter , configure and map the export stream response to FTP location.
Steps with screenshots:
Create Rest OIC connection to call Export.
Request: Identifier and Version
Response: Status
Id = Identifier%7CVersion
Test
To import an OIC integration , follow my blog:
https://soalicious.blogspot.com/2022/06/oic-import-oic-integration-using-rest.html
No comments:
Post a Comment