Creating an Orchestrated Integration in Oracle Integration Cloud Service
Before You Begin
This tutorial shows you how to create the integration of Oracle Internet of Things (IoT) Cloud Service and Oracle Service Cloud by using Oracle Integration Cloud Service. This tutorial takes approximately 15 minutes to complete.
Background
The integration of Oracle Service Cloud and Oracle IoT Cloud Service defines how to share information between these applications. This integration verifies if an incident for a device in Oracle IoT Cloud Service was already created in Oracle Service Cloud, and then creates an incident if it doesn't exist.
The following image illustrates the integration of Oracle IoT Cloud Service and Oracle Service Cloud using Oracle Integration Cloud Service. This tutorial covers the integration of the two connections created in the previous tutorial.
In a web browser, enter the URL for your instance of Oracle Integration Cloud Service, enter your user name and password, and click Sign In.
On the Oracle Integration Cloud Service home page, click Integrations.
On the Integrations page, click Create.
In the Create Integration - Select a Style/Pattern dialog box, click Select in the Orchestration box.
In the Create New Integration dialog box, enter IoTRightNowInt in the Integration Name field, leave the Identifier and Version fields with the default values, and then click Create. An empty integration appears.
Description of the illustration empty_integration_area.png
Define an Inbound Trigger and an Outbound Invoke
Click Triggers and select REST.
Drag the POCIntTest connection from the Triggers panel to the Start circle in the integration area. The Adapter Endpoint Configuration dialog box appears.
On the Basic Info page, enter or select the following values, and click Next:
Endpoint Name: fromIoTMessages
Endpoint URI:/
Endpoint Action: POST
Endpoint Payload: Selected
On the Request page, enter or select the following values, and click Next:
Payload File: JSON Sample
Click Browse and in the File Upload dialog box, select the iotcs_payload.json file and click Open.