use of com.sequenceiq.sdx.api.model.SdxInternalClusterRequest in project cloudbreak by hortonworks.
the class YcloudHybridCloudTest method validateRequestParameters.
private SdxInternalTestDto validateRequestParameters(TestContext tc, SdxInternalTestDto dto, SdxClient client) {
assertNotNull(dto);
SdxInternalClusterRequest sdxRequest = dto.getRequest();
assertNotNull(sdxRequest);
StackV4Request stackRequest = sdxRequest.getStackV4Request();
assertNotNull(stackRequest);
ClusterV4Request clusterRequest = stackRequest.getCluster();
assertNotNull(clusterRequest);
ClouderaManagerV4Request cmRequest = clusterRequest.getCm();
assertNotNull(cmRequest);
validateInstanceGroups(stackRequest.getInstanceGroups());
validateRepository(cmRequest.getRepository());
validateProducts(cmRequest.getProducts());
return dto;
}
Aggregations