Promoting Assets Using Promotion Management API

The promotion management capabilities allows for moving assets from lower to higher environments. For details, see Asset Promotion.

webMethods 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 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 webMethods API Gateway assets from one stage to the other using webMethods 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 webMethods API Gateway instance or repositories to a target webMethods API Gateway instance. For example, you might want to deploy assets you have developed on an webMethods API Gateway instance in a development environment (the source) to an webMethods 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 webMethods API Gateway environment.
  2. Develop APIs.
  3. Test the APIs.

For details about various webMethods API Gateway-specific scripts and their usage, see https://github.com/SoftwareAG/webmethods-api-gateway-devops.