use of org.alien4cloud.tosca.editor.operations.secrets.SetRelationshipPropertyAsSecretOperation in project alien4cloud by alien4cloud.
the class SecretPropertiesStepDefinitions method iDefineThePropertyOfRelationshipFromTheNodeAsSecretWithASecretPathAndISaveTheTopology.
@When("^I define the property \"([^\"]*)\" of relationship \"([^\"]*)\" from the node \"([^\"]*)\" as secret with a secret path \"([^\"]*)\" and I save the topology$")
public void iDefineThePropertyOfRelationshipFromTheNodeAsSecretWithASecretPathAndISaveTheTopology(String propertyName, String relationshipName, String nodeName, String secretPath) throws Throwable {
SetRelationshipPropertyAsSecretOperation operation = new SetRelationshipPropertyAsSecretOperation();
operation.setNodeName(nodeName);
operation.setRelationshipName(relationshipName);
operation.setPropertyName(propertyName);
operation.setSecretPath(secretPath);
EditorStepDefinitions.do_i_execute_the_operation(operation);
EditorStepDefinitions.do_i_save_the_topology();
}
Aggregations