Use > Automate Release > Release pipeline > Release gate actions > Create a Consume CMP Service release gate action

Create a Consume CMP Service release gate action

You can create a Consume CMP Service release gate action at any stage in a lifecycle, to fulfill cloud offerings during the promotion of a package.

During the creation of a CMP Service action, the offerings are listed based on the providers configured.

By default, the offerings published in the local instance of Codar are available for fulfillment.

Note The 'Consume CMP Service' release gate action is not supported on machines with Codar 1.80 and CMP Provider 4.80 or below.

Refer to Provider overview for more information.

To create a Consume CMP Service release gate action:

  1. Navigate to Release Automation > Release Pipeline.
  2. Select the design type (topology or sequenced) from the drop-down list in the left pane. (Topology Designs is selected by default).
  3. Select the application and the version for which you want to create a Cloud Service release gate action.
  4. Click the gear icon next to the stage where you want to create the offerings action and click Configure Gate Actions.
  5. Click Add Action > Consume CMP Service.
  6. In the Consume CMP Service dialog box, in General tab, fill in the following fields:

    Field Description
    Display Name Name of the Consume CMP Service action.
    Description Description of the Consume CMP Service action.
    Time Out (in Seconds)

    Specify the time after which the API call must time out if the execution does not happen.

    Subscription Duration (in Seconds) Specify the duration (in terms of seconds) for which the CMP Service is valid.

    In the Success and Failure Configuration area, select the check boxes as applicable:

    Check box Description
    Notify on Success Select this check box for a notification message to be sent if the CMP Service action executes successfully. The notification message is sent to the user who initiated the promotion request.
    Notify on Failure Select this check box to receive a notification email if the CMP Service action fails to execute successfully. The notification message is sent to the user who initiated the promotion request.
    Reject on Failure (Blocking) Select this check box to reject the package if the CMP Service action fails to execute successfully.
    Ignore on Failure Select the check box to mark the specified action optional (non-blocking). The execution will move to the next release gate action even if the action fails to execute successfully.
    You can select more than one check box. However, for the Reject on Failure and the Ignore on Failure options, you can select only one of them at the same time.
  7. Click Next.

  8. In Select Offering tab, fill in the following details:
    1. Offering Provider Instance: Select the required provider instance from the drop-down list, if more than one provider instances are available.
    2. Offerings: Select the required offering, from the list. You can also search for the required offering using the Search button.
  9. Click Next.
  10. In Offering Details tab, based on the selected offering, provide the values for the listed parameters. This tab lists the parameters based on how the offering is created in Cloud Service (CSA offering).
  11. Click Add Action.

The Consume CMP Service action that you added will be listed in the Configure Gate Actions for <lifecycle stage> dialog box.