This page applies to Apigee and Apigee hybrid.
The API-specific supply chain feature provides a visual graph within the API details view, to help you identify, visualize, and manage resource dependencies across your APIs. This graph illustrates the upstream and downstream relationships, clarifying how consumers invoke suppliers for a specific operation.
View the supply chain graph
To view the dependency graph for a specific API:
In the Google Cloud console, go to API hub > APIs.
Go to API hub- From the API list, select the API for which you want to view the supply chain graph.
- In the API details view, select the Supply chain tab.
- To generate and view the graph, you must select a specific operation (for example, the "get products" operation of a specific API version).
When you select an operation, the graph populates with the upstream and downstream dependencies for that specific resource. The dependencies graph is visible only if dependencies exist for the selected operation.
Explore the supply chain graph
The supply chain graph offers several interactive features to help you visualize dependencies effectively:
- View dependency details: Click on any of the edges (connecting lines) in the graph to view additional details about that specific dependency.
- Expand and collapse nodes: You can expand or collapse nodes in both upstream and downstream directions to simplify complex views or drill down into deeper dependency chains.
For more information about the supply chain graph, see API supply chain graph view.
Create a dependency
In addition to viewing existing relationships, you can manually define new dependencies directly from the supply chain view:
In the Google Cloud console, go to API hub > APIs.
Go to API hub- From the list of APIs, select the API for which you want to create the dependency.
- Select the Supply chain tab.
- In the Supply chain tab, select an operation from the operations list.
- Click Create dependency.
- Enter a description for the dependency. (Optional)
- Select the Resource type for the operation.
- Enter the Consumer or Supplier details. You must specify the exact operations and versions.
- Click Create dependency.
The new dependency immediately appears in the supply chain graph, keeping your dependency mapping up to date.
Edit a dependency
To edit the description of an existing dependency:
In the Google Cloud console, go to API hub > APIs.
Go to API hub- Select the API for which you want to edit the dependency.
- Select the Supply chain tab.
- In the Supply chain tab, select an operation from the operations list.
- From the graph, select the dependency you want to edit.
- In the Dependency pane, update the description.
- Click Save.
Delete a dependency
To delete an existing dependency:
In the Google Cloud console, go to API hub > APIs.
Go to API hub- Select the API for which you want to delete the dependency.
- Select the Supply chain tab.
- In the Supply chain tab, select an operation from the operations list.
- From the graph, select the dependency you want to delete.
- Click (Delete dependency) to delete the dependency.