Search in sources :

Example 1 with ImageCatalogCreateRetryAction

use of com.sequenceiq.it.cloudbreak.action.v4.imagecatalog.ImageCatalogCreateRetryAction in project cloudbreak by hortonworks.

the class ImageCatalogBasicTest method createImageCatalogWithUrl.

public void createImageCatalogWithUrl(MockedTestContext testContext, String url) {
    String imgCatalogName = resourcePropertyProvider().getName();
    testContext.as().given(ImageCatalogTestDto.class).withUrl(url).withName(imgCatalogName).when(new ImageCatalogCreateRetryAction()).when(imageCatalogTestClient.getV4()).validate();
}
Also used : ImageCatalogTestDto(com.sequenceiq.it.cloudbreak.dto.imagecatalog.ImageCatalogTestDto) ImageCatalogCreateRetryAction(com.sequenceiq.it.cloudbreak.action.v4.imagecatalog.ImageCatalogCreateRetryAction)

Aggregations

ImageCatalogCreateRetryAction (com.sequenceiq.it.cloudbreak.action.v4.imagecatalog.ImageCatalogCreateRetryAction)1 ImageCatalogTestDto (com.sequenceiq.it.cloudbreak.dto.imagecatalog.ImageCatalogTestDto)1