`
Integrating Oracle Internet of Things Cloud Service with Oracle Service Cloud
Top of Topic

Deploy the custom PHP scripts

The integration between Oracle Service Cloud and Oracle Internet of Things Cloud Service includes several custom PHP scripts. These scripts must be placed in the correct folders, so that they can be accessed at run time.

Before you begin

You must download the custom PHP scripts from GitHub.

About this task

The following PHP scripts are used in the integration:
  • agentauthenticator.php

  • errorservice.php

  • iotassetmodel.php

  • iotrequestmodel.php

  • iotrestcontroller.php

  • iot_int_v1.php

  • osvcservice.php

  • requestprocessor.php

It is not necessary to make any changes to these PHP scripts, unless you need to modify the logic to support your business requirements.

Procedure

  1. In the Service Console, click Configuration on the navigation pane.

  2. Double-click File Manager under Site Configuration.

  3. From the Switch to drop-down menu, select custom scripts.

  4. Click Browse, select the agentauthenticator.php file, and then click Open.

  5. Repeat step 4 for the following files:

    • errorservice.php
    • iotassetmodel.php
    • iotrequestmodel.php
    • iotrestcontroller.php
    • iot_int_v1.php
    • osvcservice.php
    • requestprocessor.php

Results

After all of the files are uploaded, they are displayed in the /custom folder in the File Manager.