Software AG Products 10.7 | Integrate Software AG Products Using Digital Event Services | API Gateway Configuration Guide | 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 detail about the promotion management API, see the REST APIs section in the webMethods API Gateway User's Guide.
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.