use of org.alien4cloud.tosca.variable.model.Variable in project alien4cloud by alien4cloud.
the class VariableExpressionService method getScopeVariableExpressionDTO.
private ScopeVariableExpressionDTO getScopeVariableExpressionDTO(String varName, String scopeId, String scopeName, Map<String, Object> variables) {
ScopeVariableExpressionDTO dto = new ScopeVariableExpressionDTO();
dto.setScopeId(scopeId);
dto.setScopeName(scopeName);
dto.setVariable(new Variable(varName, YamlParserUtil.dump(variables.get(varName))));
return dto;
}
Aggregations