Configure the Unifier Connection

Connecting with Primavera Unifier through Oracle Integration requires two connections. The first connection obtains the endpoint, and the second one sends the OAuth token, custom headers, and endpoint details to Unifier. Both connections use the REST adapter in Oracle Integration to make API requests.

Follow the steps in each section below to connect with Unifier.

Connection 1 - Using REST Adapter

  1. In the Connections section, click Actions... on the connection, and then select Edit.
  2. In the Properties section, complete the following fields:
    • Connection Type: Select REST API Base URL.
    • Connection URL: Enter the URL of your Unifier instance.
  3. In the Security section, enter the following details:
    Field Information to Enter
    Security Policy Select Basic Authentication.
    User Name Enter your Unifier or integration account username.
    Password Enter your Unifier or integration account password.
  4. (Optional) In the Access type section, click Connectivity agent.
  5. (Optional) Click the Associate agent group button, and select an available agent group.
    You must create an agent group and install the on-premises connectivity agent before you can create an integration in which messages are exchanged between Oracle Integration and your locally-installed application resources residing in an on-premises network or a private cloud. See Manage the Agent Group and the On-Premises Connectivity Agent topic for more information.
  6. Click Save. If prompted, click Save again.
  7. Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.
    A message confirms if your test is successful.
  8. To return to the project workspace, click Go back Back icon.

Connection 2 - Using REST Adapter

  1. In the Connections section, click Actions...on the connection, and then select Edit.
  2. In the Properties section, complete the following fields:
    1. Connection Type: Select REST API Base URL.
    2. Connection URL: Enter your Unifier instance URL.
  3. In the Security section, enter the following details:
    Field Information to Enter
    Security Policy Select OAuth Two Legged Custom Flow.
    Access Token Enter the access token request in the following format:

    -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Basic<Base64-Encoded-value-of-user-password>" -d 'grant_type=client_credentials' <https://<SERVER_URL>/ws/rest/service/v2/auth/token>

    Note: Replace the <Base64-Encoded-value-of-user-password> and <https://<SERVER_URL>/ws/rest/service/v2/auth/token> values as needed.

    Password Enter your Unifier or integration account password.
  4. (Optional) In the Access type section, click Connectivity agent.
  5. (Optional) Click the Associate agent group button, and select an available agent group.
    You must create an agent group and install the on-premises connectivity agent before you can create an integration in which messages are exchanged between Oracle Integration and your locally-installed application resources residing in an on-premises network or a private cloud. See Manage the Agent Group and the On-Premises Connectivity Agent topic for more information.
  6. Click Save. If prompted, click Save again.
  7. Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.
    A message confirms if your test is successful.
  8. To return to the project workspace, click Go back Back icon.