Manage Stages, Promotions, and Rollbacks
API Gateway supports staging and promotion of assets. In a typical enterprise-level, solutions are separated according to the different stages of Software Development Lifecycle (SDLC) such as development, quality assurance (QA), and production stages. As each organization builds APIs for easy consumption and monetization, continuous integration (CI) and continuous delivery (CD) is an integral part of the solution. CI is a development practice that requires developers to integrate code into a shared repository several times a day, and CD is a software engineering approach in which teams produce software in short cycles, ensuring that the software can be reliably released at any time.
API Gateway provides the staging and promotion feature to automate the CI and CD practices. Modifications made to the APIs, policies, and other assets can be efficiently delivered to the application developers with speed and agility.
Staging and promotion allows you to:
![*](chapterTOC_bullet.png)
Promote all the run time assets across different stages. The supported assets are:
![*](chapterTOC_bullet.png)
APIs
![*](chapterTOC_bullet.png)
Global policies
![*](chapterTOC_bullet.png)
Policy templates
![*](chapterTOC_bullet.png)
Applications
![*](chapterTOC_bullet.png)
Aliases
![*](chapterTOC_bullet.png)
Packages
![*](chapterTOC_bullet.png)
Plans
![*](chapterTOC_bullet.png)
Administrative configurations - Load balancer, Extended settings, API fault, Keystore and Truststore settings, and Custom Assertions.
To promote any of the administrative configuration, must make sure that the corresponding administrative settings are already configured in API Gateway.
![*](chapterTOC_bullet.png)
Threat protection rules
![*](chapterTOC_bullet.png)
Select and promote a subset of assets from one stage to another stage. For example, you can promote a single API and its dependencies from one stage to another.
![*](chapterTOC_bullet.png)
Optionally select the asset's dependencies during the promotion.
![*](chapterTOC_bullet.png)
Create stage-specific aliases.
When promoting an alias from source stage to target stage, API Gateway checks if the target stage already has an alias. If so, then API Gateway replaces the existing alias in target stage with the alias that is promoted from source stage.
Note:
Stage-specific alias is supported only for simple alias and endpoint alias.
![*](chapterTOC_bullet.png)
Roll back assets in case of incomplete information.
![*](chapterTOC_bullet.png)
Repromote assets, if there are any recent changes, to the already promoted stages.