use of alien4cloud.rest.application.model.UpdateDeploymentTopologyRequest in project alien4cloud by alien4cloud.
the class DeploymentTopologyStepDefinitions method iSetTheInputsPropertyAsASecretWithTheFollowingParameters.
@When("^I set the inputs property \"([^\"]*)\" as a secret with the following parameters$")
public void iSetTheInputsPropertyAsASecretWithTheFollowingParameters(String propertyName, Map<String, String> parameters) throws Throwable {
FunctionPropertyValue functionPropertyValue = new FunctionPropertyValue();
functionPropertyValue.setFunction(parameters.get("functionName"));
functionPropertyValue.setParameters(Arrays.asList(parameters.get("secretPath")));
UpdateDeploymentTopologyRequest request = new UpdateDeploymentTopologyRequest();
request.setInputProperties(parseAndReplaceProperties(ImmutableMap.of(propertyName, functionPropertyValue)));
executeUpdateDeploymentTopologyCall(request);
}
use of alien4cloud.rest.application.model.UpdateDeploymentTopologyRequest in project alien4cloud by alien4cloud.
the class DeploymentTopologyStepDefinitions method I_set_the_following_inputs_properties.
@When("^I set the following inputs properties$")
public void I_set_the_following_inputs_properties(Map<String, Object> inputProperties) throws Throwable {
UpdateDeploymentTopologyRequest request = new UpdateDeploymentTopologyRequest();
request.setInputProperties(parseAndReplaceProperties(inputProperties));
executeUpdateDeploymentTopologyCall(request);
}
use of alien4cloud.rest.application.model.UpdateDeploymentTopologyRequest in project alien4cloud by alien4cloud.
the class DeploymentTopologyStepDefinitions method I_set_the_following_orchestrator_properties.
@When("^I set the following orchestrator properties$")
public void I_set_the_following_orchestrator_properties(Map<String, String> orchestratorProperties) throws Throwable {
UpdateDeploymentTopologyRequest request = new UpdateDeploymentTopologyRequest();
request.setProviderDeploymentProperties(orchestratorProperties);
executeUpdateDeploymentTopologyCall(request);
}
Aggregations