3 Install and Configure the Recipe

On your Oracle Integration instance, install the recipe to deploy and configure the integration and associated resources.

  1. On the Oracle Integration Home page, in the Get Started section, click Browse store.
  2. Search for this recipe:
    Oracle Primavera Cloud — Oracle Integration | Migrate Project Data
  3. After you find the recipe, click Get on the recipe card.

    A message confirms that the recipe was successfully installed, and the recipe card shows In use.

  4. Click Configure Configure icon on the recipe to configure its resources.

    The project workspace opens, displaying all the resources of the recipe. Configure the following resources before you activate and run the recipe.

Configure the Oracle Primavera Cloud Connections

After installing this recipe, you need to configure the delivered connections.

This recipe delivers the following connections:

  • Oracle Primavera Cloud Connection - This is the source connection.
  • Oracle Primavera Cloud Target Connection - This is the target connection.

Both connections use the REST Adapter to connect to Oracle Primavera Cloud.

Perform the following configuration steps for both connections listed above.

  1. In the Connections section, hover over the connection name and click Edit Edit icon.
  2. In the Properties section, do the following:
    1. From the Connection Type list, select REST API Base URL.
    2. In the Connection URL field, enter the base URL of your Oracle Primavera Cloud REST API instance.

      For example:

      https://primavera.oraclecloud.com/api/restapi/

  3. In the Security section, do the following:
    1. From the Security policy list, select OAuth Custom Two Legged Flow.
    2. In the Access Token Request field, specify the request for fetching the access token.
    3. Expand Optional security, and then in the access_token_usage field, specify how the access token should be passed to access the endpoint.
  4. In the Access Type section, select Public gateway.
  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.

Update Integration Properties

Activate the integration and then update the integration property values to specify the source project ID, source and target workspace IDs, and the email address of the integration user account.

  1. In the Integrations section, find the Migrate Primavera Cloud Project Data integration.
  2. Activate the integration.
    1. Click Actions Actions icon next to the integration, then select Activate.
    2. In the Activate integration panel, select the appropriate tracing level, then click Activate.
  3. Update the integration property values.
    1. Click Actions Actions icon next to the integration, then select Update property values.
    2. In the Update property values panel, do the following:
      1. Click to expand the Source_Project_Code property, then in the New value field, enter the ID of the project that you want to migrate.
      2. Click to expand the Email_Address property, then in the New value field, enter the email address of the user running the integration. Any integration notifications will be sent to this email address.
      3. Click to expand the Target_Workspace property, then in the New value field, enter the ID of the workspace where you want to migrate your project and baseline data.
      4. Click to expand the Source_Workspace property, then in the New value field, enter the ID of the workspace where the source project exists.

      Note:

      See Before You Install the Recipe for information on creating a project and workspace and obtaining the required project and workspace IDs.
    3. Click Submit.

You get a confirmation message that the integration properties have been updated successfully.