use of com.sequenceiq.cloudbreak.cloud.model.ClouderaManagerProduct in project cloudbreak by hortonworks.
the class KafkaMultiAzConfigProviderTest method templatePreparationObject.
private TemplatePreparationObject templatePreparationObject(StackType stackType, String cdhVersion) {
GeneralClusterConfigs configs = new GeneralClusterConfigs();
configs.setMultiAzEnabled(true);
TemplatePreparationObject.Builder builder = TemplatePreparationObject.Builder.builder().withBlueprintView(blueprintView).withStackType(stackType).withGeneralClusterConfigs(configs);
if (cdhVersion != null) {
List<ClouderaManagerProduct> products = KafkaConfigProviderUtilsTest.products("CDH=" + cdhVersion);
builder.withProductDetails(new ClouderaManagerRepo(), products);
}
return builder.build();
}
Aggregations