Configure an OIC Integration
A configured OIC integration uses the Loftware Adapter for OIC.
A. Create OIC Connections
To create the OIC connections, use the ERP Adapter to create a connection to the SCM Cloud, and then use the Loftware Adapter for OIC to create a connection to the Spectrum Cloud Integration Agent. For more information about how to create OIC connections, refer to Oracle Integration Cloud documentation.
- In OIC, create a connection from the Oracle SCM Cloud (Trigger) to the Oracle ERP Adapter. During this process, you will be asked to select the specific SCM business event that will trigger Loftware Enterprise SP to print a label.
- In OIC, create a connection from the Loftware Adapter for OIC (Invoke) to the Spectrum Cloud Integration Agent. To complete this connection, provide the following information for the Spectrum Cloud Integration Agent:
- Select the adapter Loftware Spectrum or Loftware Enterprise SP.
- For Create Connection, select Invoke for the Role field.
-
For Connection Base URL, enter the base URL for the Spectrum Cloud Integration Agent component in one of the following formats:
- http://<host name or IP address>:<port>
- https://<host name or IP address>:<port>
Example
- http://demohost:8080
- https://demohost:8443
- For Security Policy, select the appropriate security policy configured for the Spectrum Cloud Integration Agent component.
- For Username and Password, enter basic authentication credentials to the Spectrum Cloud Integration Agent that you created in step B of Provision the Spectrum Cloud Integration Agent.
- For Agent Group, click Configure Agents, and then select the Agent group for which the Loftware Adapter for OIC 2.0 component was installed.
B. Create OIC Integration
- Create an OIC integration. For more information, refer to Oracle Integration Cloud documentation. For example, select App Driven Orchestration.
- Configure the Trigger endpoint for your integration as documented by Oracle using the SCM Trigger Connection you created in step 1 of A. Create OIC Connections.
- Configure the Invoke endpoint using the Loftware Enterprise SP adapter connection you created in step 2 of A. Create OIC Connections.
- For Basic Info, use the following information for the Loftware Enterprise SP adapter configuration.
- For What do you want to call your endpoint, enter a name (required).
- For What does this endpoint do, add the purpose and detail of the endpoint (optional).
- For Integration Name, enter the name of the Oracle Cloud integration configured in Loftware Enterprise SP that you created in Configure an Oracle Cloud Integration in Loftware Enterprise SP (required). This field must exactly match the name in Loftware Enterprise SP.
- For Event Name, enter a relevant event name that triggers this integration (optional). This name is passed to Loftware Enterprise SP and can be used in Loftware Enterprise SP business rules for conditional logic. The field name in Loftware Enterprise SP will be lwEventName.
- Click Next when this section is complete.
-
For Configure Data Fields, use the following information. The fields will be explicitly mapped to the OIC integration trigger endpoint, and also mapped to fields on the Loftware Enterprise SP document implicitly (by name).
- Click + to add a data field.
- Enter the name of the field. This is the name used on a Loftware Enterprise SP document or in a Loftware Enterprise SP Business Rule. It does not need to match any field in the OIC integration trigger endpoint, since you explicitly map fields as an OIC configuration step.
-
Click Next when this section is complete.
Note: During Mapping, expand the QueryParameters label to see the data fields you entered for use in the mapping process.
- For Summary, review your entries. Click Next if correct or return to a previous section to make edits.
- Continue configuring the OIC integration. For more information, refer to Oracle Integration Cloud documentation.