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.
About this task
-
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
-
In the Service Console, click Configuration on the navigation pane.
-
Double-click File Manager under Site Configuration.
-
From the Switch to drop-down menu, select custom scripts.
-
Click Browse, select the agentauthenticator.php file, and then click Open.
-
Repeat step 4 for the following files:
- errorservice.php
- iotassetmodel.php
- iotrequestmodel.php
- iotrestcontroller.php
- iot_int_v1.php
- osvcservice.php
- requestprocessor.php