Software AG Products 10.7 | Configuring API Gateway | API Gateway Staging and Promotion | Promoting Assets Using Promotion Management API
 
Promoting Assets Using Promotion Management API
The promotion management capabilities allows for moving assets from lower to higher environments. For details, see Staging and Promotion
API Gateway enables continuous integration (CI) and continuous delivery (CD) practices to be used for development, deployment, and promotion of the APIs, applications, other related assets, and for supporting the use of DevOps tooling. There are different ways in which API Gateway enables continuous integration (CI) and continuous delivery (CD).
The promotion management REST APIs allow for automation for CI/CD. For more information about the promotion management API, see Promotion Management.
DevOps Use Case using Promotion Management APIs
This example explains a sample DevOps use case using the promotion management APIs. You can promote API Gateway assets from one stage to the other using API Gateway specific scripts provided in GitHub. You can use the continuous integration tools like Jenkins and Azure to deploy user-created assets that reside on source API Gateway instance or repositories to a target API Gateway instance. For example, you might want to deploy assets you have developed on an API Gateway instance in a development environment (the source) to an API Gateway instance in a test or production environment (the target).
The high level steps to achieve this are as follows and are depicted in the illustration:
1. Create a stage-specific API Gateway environment.
2. Develop APIs.
3. Test the APIs.
For details about various API Gateway-specific scripts and their usage, see https://github.com/SoftwareAG/webmethods-api-gateway-devops.