Promoting Assets
Pre-requisites:
You must have the Manage promotions functional privilege assigned to perform this task.
Promoting assets from one (source) stage to another (target) stage includes the following high-level steps:
1. Select assets for promotion: During this step, you search for assets by using a keyword and by performing a type search that sorts and filters the results.
Search using a keyword: You can search for all assets whose string attributes (asset name, description, and so on) contain a certain keyword (character string).
Search using a Type: You can search for assets on the basis of types.
You may use the Search by type filter to restrict the types on which the search is conducted. In the Search by type panel, API Gateway shows you a list of supported asset types.
2. Optionally select assets' dependencies for promotion: During this step, you specify whether the dependencies (for example, a list of applications that are registered for an API, subscriptions for a package, and so on) of the selected assets will be included for the promotion.
3. Select the stages to promote: During this step, you specify one or more target stages to which you want to promote the selected assets and their dependencies.
4. Configure the promotion details: During this step, you provide the promotion-specific information.
To promote assets
1. In API Gateway, click the Menu options icon.
2. Select Promotion management.
3. Select Promotions.
The Search page appears.
4. Click Promote.
5. In the Search by keyword text box, type the keyword to search for assets. You can use one or more wildcards to specify the keywords.
API Gateway returns the assets that match the specified keyword.
6. In the Search by type drop-down list, select the required type(s). Select the All check box to search across all asset types.
API Gateway returns the assets that match the selected type(s). The number of search results is displayed in the results area, for example, Showing 10 results. If no results are found, the results area is displays a blank page.
7. Optional. Select the Include admin configurations check box if you want to include administrative configurations in the promotion.
API Gateway displays the administrative configurations that are supported for promotion. The available options are:
Load balancer Extended settings API fault Custom assertions Keystore/Truststore Important: Before you configure API Gateway to promote an administrative configuration, make sure that the corresponding administrative settings are already configured in API Gateway. For example, to include the Load balancer configuration in the asset promotion set, the required Load balancer URLs should be configured.
8. Select the assets and the administrative configurations that you want to promote.
9. Click Next.
The Assets and dependencies page appears.
10. Select the referenced assets that you want to promote.
11. Click Next.
The Stages page appears.
12. Select the target stages to that you want to promote the assets, dependencies, and administrative configurations.
13. Click Next.
The Promote page appears.
14. Provide the following information:
Field | Description |
Name | Mandatory. Name of the promotion. |
Description | Description of the promotion. |
Note: The Overwrite assets if exists on selected stages option allows you to overwrite assets that exist on the target stages. If you do not want to overwrite assets in the target stages, clear this check box.
15. Click Promote.
The selected assets, dependencies, and administrative configurations are promoted to the selected stages.
The Stage-specific promotion status page displays the status of the asset promotion in each of the selected stages. The available values are:
Success
Failure
The page also displays the reason if the promotion fails.