getComplianceGateDecision

On this page
Back to index

Summary

[PREVIEW] This API is in preview mode, and therefore subject to change. Sends gate request to compliance and retrieves a decision.
externalApplicationId
Stringrequired
Unique identifier for the application maintained by an external system that will be used to identity the application being deployed by the CD/RO pipeline in Compliance.
flowRuntimeStateId
Stringrequired
The ID of the flow runtime state.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getComplianceGateDecision( externalApplicationId: "test-externalApplicationId", flowRuntimeStateId: "test-flowRuntimeStateId" )