Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Pre-Requisite:  This tutorial assumes that the GCP On-boarding process has already been completed.

Follow these extra steps in order to allow us to discover API proxies running on GCP Apigee X or Apigee Hybrid.

Step 1: Enable the Apigee API in the project created for Data Theorem

Go to https://console.cloud.google.com/apis/library/apigee.googleapis.com. Ensure that the project created for Data Theorem during the GCP onboarding is currently selected in the project list drop down.

  1.  Click on the

...

  1. “Enable” button near the top of the page.

    • This will allow Data Theorem to access deployed API proxies running within Apigee

...

    • .

Step 2: Create a new Apigee IAM Role

In addition to the permissions granted during GCP onboarding, Data Theorem needs a custom Apigee role to be able to access the deployed APIs and shared flows.

Go to https://console.cloud.google.com/iam-admin/roles/create. Ensure that the project created for Data Theorem is currently selected in the project list drop down..
You will be directed to the “Create role” page.

At the top of the page, click the project selection drop-down list (the down arrow). In the window that appears, click on ALL  above the table, and then select your Organization (building icon) from the list of items.

  1. In the "Title" field, input "DataTheoremApigeeDiscovery"

  2. In the "ID" field

...

  1. , input "DataTheoremApigeeDiscovery"

  2. Leave the “Role launch stage” field as is.

  3. Then click "Add Permissions", in "Filter table"

...

  1. :

    • input apigee.sharedflow*.get

      • then check both apigee.sharedflowrevisions.get and apigee.sharedflows.get

    • reset the filter and input apigee.prox*.get

      • then check apigee.proxies.get and apigee.proxyrevisions.get

    • reset the filter and input apigee.*organizations.get

      • then check apigee.organizations.get and apigee.projectorganizations.get

    • reset the filter and input apigee.canaryevaluations.get and check it

    • Finish by clicking "Add"

  2. Once done, you should see "

...

  1. 7 assigned permissions":

    • apigee.sharedflowrevisions.get

    • apigee.sharedflows.get

    • apigee.proxies.get

    • apigee.proxyrevisions.get

...

    • apigee.organizations.get

    • apigee.projectorganizations.get

    • apigee.canaryevaluations.get

  1. Click “CREATE”

Step 3: Add the role to the "DataTheoremDiscovery" service account

...

  1. Click on “IAM” on the left menu section

  2. Find the "DataTheoremDiscovery" service account (created during the GCP onboarding process) and click

...

  1. the “Edit principal” icon

  2. Select "Add another role"

  3. Type/select "DataTheoremApigeeDiscovery"

  4. Finish by clicking "Save"

Apigee is now successfully onboarded, you should start seeing the Apigee API proxies under the Inventory tab within the Data Theorem portal in the next few hours.