Specifying a gateway type for your Product

Product definitions must specify which type of gateway the Product uses.

Before you begin

IBM® API Connect supports two gateway types: DataPower® Gateway (v5 compatible) and DataPower API Gateway.

DataPower Gateway (v5 compatible) has been available with IBM API Connect for a number of years. The DataPower API Gateway is a new gateway that has been designed with APIs in mind, and with the same security focus as DataPower Gateway (v5 compatible).

For more information on how to choose which gateway type to use, see API Connect gateway types.

About this task

You can specify the gateway type for a Product.

Products can use only one type of gateway, and the APIs in the Product must use the same type of gateway. See Specifying a gateway type for an API definition.

Procedure

  1. Determine the gateway type that is configured for the APIs in your Product. The Product gateway type must match the APIs gateway type.

    To review the APIs for your Product, see Referencing the APIs for your Product.

  2. Edit the Product definition file (YAML source) to add the gateway type you want to use:
    • DataPower Gateway (v5 compatible):
      gateways: 
                   datapower-gateway
    • DataPower API Gateway
      gateways: 
                   datapower-api-gateway
  3. Ensure that the policies, including policy versions, in the APIs in your Product are supported by the gateway type. Review the list of policies on the execute page. If necessary, review the individual policy pages to determine the supported version number.