Integrate your enterprise application to send, receive, and manage Oracle Internet of Things Cloud Service device data.
- Open the Oracle Internet of Things Cloud Service Management Console. See Access Oracle IoT Cloud Service.
- Click the Menu () icon adjacent to the Oracle Internet of Things Cloud Service title on the Management Console.
- Click Applications.
- Click an application.
- Click Integration.
- Select one of these options:
- If you have not previously created an integration, click Create Integration and then select Enterprise Application.
- If you have previously created an integration, click the Add () icon and then select Enterprise Application.
- Complete these fields:
- Name: Enter a unique name for the Oracle Internet of Things Cloud Service integration.
- Description: Enter an optional description for the Oracle Internet of Things Cloud Service integration.
- URL: Enter the URL that Oracle Internet of Things Cloud Service will use to transfer data.
- (Optional) Click Verify Connectivity to test the connection between theOracle Internet of Things Cloud
Service instance and the target service or application.The connectivity test can include:
DNS Resolution Test: Checks whether the server name resolves to an IP address.
Connectivity Test: Checks whether the IP address is reachable.
IP/Port test: Checks whether you can talk to the target URL on the specified port.
SSL Verification Test: Checks whether you have a secured, or trusted, connection to the target. Applies only if the target is an SSL endpoint.
Authentication Test: Checks whether you can exchange messages with the target.
- Click Create.
- Select the integration in the Integrations list and then click the Edit () icon.
- To manage devices using the enterprise application:
- Click the Overview tab.
- Enter a password in the File Protection Password field to encrypt the provisioning file that contains the configuration and credentials to activate your integration.
- Enter the password again in the Confirm Password field.
- Click Download Provisioning File.
- Click Save File.
- Browse to a location to save the file and then click Save.
- Click the Connection tab.
- Enter a URL in the URL field.If you intend to use the enterprise application to control and manage devices, enter a value such as http://notused.
- To send unmodified device data to an enterprise application listening on an HTTP URL endpoint:
- Click the Connection tab.
- Enter the URL for the enterprise application server in the URL field.
- Select Enable authentication for this URL if user authentication is used on the enterprise application server.
- Enter a user name in the Username field.
- Enter a password in the Password field.
- (Optional) To add headers to the outgoing HTTP requests being sent to your enterprise application:
Note:By default, the
Content-Type; application/jsonheader is included when the integration is created.
- Click the Custom Headers tab.
- Click Create a Header.
- Enter a name for the header in the Header Name field.
- Enter a value for the header in the Header Value field.
- Click the Add () icon to add another header.
- Add a stream to the integration:
- Click the Streams tab.
- Click Create a Stream.
- Select a message format in the Message Format list.The same message format cannot be used by multiple streams. Select a unique message format for each stream you create.
- Select annotations in the Annotations list. Annotations identify the metadata sent to the enterprise application.
If you previously created custom metadata keys for your devices and streams, then these also appear in the list of annotations.
You can also type a new annotation name and select the data type for the annotation.
- Click the Add () icon to add another stream.
- Click the Messages tab to view integration messages.
- Click Save .