Configure the Primavera Cloud Connection

Connecting with Oracle Primavera Cloud through Oracle Integration requires two connections. The first connection uses the Oracle Primavera Cloud Adapter to retrieve data from Primavera Cloud. The second connection uses the REST adapter in Oracle Integration to send additional requests, such as retrieving baseline data.

Follow the steps in each section below to connect with Primavera Cloud.

Connection 1 - Using Primavera Cloud Adapter

  1. In the Connections section, click Actions... on the connection, then select Edit.
  2. In the Properties section, in the Connection URL field, enter your Primavera Cloud instance URL.
  3. In the Security section, enter the following details:
    Field Information to Enter
    User Name Enter your Primavera Cloud or integration account username.
    Password Enter your Primavera Cloud or integration account password.
  4. Click Save. If prompted, click Save again.
  5. 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.
  6. 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, then select Edit.
  2. In the Properties section, complete the following fields:
    • Connection Type: Select REST API Base URL.
    • Connection URL: Enter your Primavera Cloud instance URL.
  3. In the Security section, enter the following details:
    Field Information to Enter
    Security Policy Select OAuth Custom Two Legged Flow .
    Access Token Request Enter the access token request in the following format:

    X POST "https://<SERVER_URL>/primediscovery/apitoken/request?scope=http://<SERVER_URL>/api" -H "Authorization: Basic <Base64-Encoded-value-of-user-password>.

  4. In the Optional Security section, in the access_token_usage field, enter the token type and token header details in the following format:
    -H Authorization: Bearer ${access_token} -H x-prime-tenant:idcs-05d4abeffe8047c9968e6ca8cb965d33 -H x-prime-identity-app:lab3_primaveracloudwtssapp_DEV_CORP_APPID -H x-prime-tenant-code:idcs-84951720917c4e4dab88ed1db398f926
  5. Click Save. If prompted, click Save again.
  6. 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.
  7. To return to the project workspace, click Go back Back icon.