use of com.sequenceiq.distrox.api.v1.distrox.model.cluster.cm.repository.ClouderaManagerRepositoryV1Request in project cloudbreak by hortonworks.
the class DistroXTemplateTestDto method withCluster.
private DistroXTemplateTestDto withCluster(ClusterV4Request clusterV4Request) {
DistroXClusterV1Request cluster = new DistroXClusterV1Request();
cluster.setBlueprintName(clusterV4Request.getBlueprintName());
ClouderaManagerV1Request cm = new ClouderaManagerV1Request();
ClouderaManagerRepositoryV1Request repository = new ClouderaManagerRepositoryV1Request();
cm.setRepository(repository);
cluster.setCm(cm);
cluster.setUserName(clusterV4Request.getUserName());
cluster.setPassword(clusterV4Request.getPassword());
getRequest().setCluster(cluster);
return this;
}
use of com.sequenceiq.distrox.api.v1.distrox.model.cluster.cm.repository.ClouderaManagerRepositoryV1Request in project cloudbreak by hortonworks.
the class ClouderaManagerRepositoryV1ToClouderaManagerRepositoryV4Converter method convert.
public ClouderaManagerRepositoryV1Request convert(ClouderaManagerRepositoryV4Request source) {
ClouderaManagerRepositoryV1Request response = new ClouderaManagerRepositoryV1Request();
response.setBaseUrl(source.getBaseUrl());
response.setVersion(source.getVersion());
response.setGpgKeyUrl(source.getGpgKeyUrl());
return response;
}
use of com.sequenceiq.distrox.api.v1.distrox.model.cluster.cm.repository.ClouderaManagerRepositoryV1Request in project cloudbreak by hortonworks.
the class DistroXClusterToClusterConverterTest method createClouderaManagerRepositoryV1Request.
private ClouderaManagerRepositoryV1Request createClouderaManagerRepositoryV1Request() {
ClouderaManagerRepositoryV1Request r = new ClouderaManagerRepositoryV1Request();
r.setBaseUrl("someBaeUrl");
r.setGpgKeyUrl("someGpgKeyUrl");
r.setVersion("someVersion");
return r;
}
Aggregations