use of org.alien4cloud.tosca.editor.operations.secrets.SetNodeCapabilityPropertyAsSecretOperation in project alien4cloud by alien4cloud.
the class SecretPropertiesStepDefinitions method iDefineThePropertyOfCapabilityOfTheNodeAsSecretWithASecretPath.
@When("^I define the property \"([^\"]*)\" of capability \"([^\"]*)\" of the node \"([^\"]*)\" as secret with a secret path \"([^\"]*)\"$")
public void iDefineThePropertyOfCapabilityOfTheNodeAsSecretWithASecretPath(String propertyName, String capabilityName, String nodeName, String secretPath) throws Throwable {
SetNodeCapabilityPropertyAsSecretOperation operation = new SetNodeCapabilityPropertyAsSecretOperation();
operation.setNodeName(nodeName);
operation.setPropertyName(propertyName);
operation.setSecretPath(secretPath);
operation.setCapabilityName(capabilityName);
EditorStepDefinitions.do_i_execute_the_operation(operation);
}
Aggregations