use of com.sequenceiq.it.cloudbreak.dto.ImageSettingsTestDto in project cloudbreak by hortonworks.
the class StackTestDtoBase method withImageSettings.
public StackTestDtoBase<T> withImageSettings(String key) {
ImageSettingsTestDto imageSettingsEntity = getTestContext().get(key);
getRequest().setImage(imageSettingsEntity.getRequest());
return this;
}
use of com.sequenceiq.it.cloudbreak.dto.ImageSettingsTestDto in project cloudbreak by hortonworks.
the class SdxCustomTestDto method valid.
@Override
public SdxCustomTestDto valid() {
ImageSettingsTestDto imageSettingsTestDto = getCloudProvider().imageSettings(getTestContext().init(ImageSettingsTestDto.class));
ImageSettingsV4Request imageSettingsV4Request = imageSettingsTestDto.getRequest();
ImageCatalogTestDto imageCatalogTestDto = getTestContext().get(ImageCatalogTestDto.class);
withName(getResourcePropertyProvider().getName(getCloudPlatform())).withEnvironmentName(getTestContext().get(EnvironmentTestDto.class).getRequest().getName()).withClusterShape(getCloudProvider().getClusterShape()).withTags(getCloudProvider().getTags()).withImageCatalogNameAndImageId(imageCatalogTestDto.getName(), imageSettingsV4Request.getId());
return getCloudProvider().sdxCustom(this);
}
Aggregations