use of com.sequenceiq.cloudbreak.template.model.BlueprintStackInfo in project cloudbreak by hortonworks.
the class BlueprintViewProvider method getBlueprintView.
public BlueprintView getBlueprintView(@Nonnull Blueprint blueprint) {
String blueprintText = blueprint.getBlueprintText();
BlueprintStackInfo blueprintStackInfo = stackInfoService.blueprintStackInfo(blueprintText);
BlueprintTextProcessor processor = blueprintTextProcessorFactory.createBlueprintTextProcessor(blueprintText);
return new BlueprintView(blueprintText, blueprintStackInfo.getVersion(), blueprintStackInfo.getType(), processor);
}
Aggregations