Search in sources :

Example 1 with DistroXRepairNodesV1Request

use of com.sequenceiq.distrox.api.v1.distrox.model.DistroXRepairNodesV1Request in project cloudbreak by hortonworks.

the class DistroXRepairInstancesAction method createRepairRequest.

private DistroXRepairV1Request createRepairRequest(List<String> instanceIds) {
    DistroXRepairV1Request distroXRepairV1Request = new DistroXRepairV1Request();
    DistroXRepairNodesV1Request nodes = new DistroXRepairNodesV1Request();
    nodes.setIds(instanceIds);
    distroXRepairV1Request.setNodes(nodes);
    return distroXRepairV1Request;
}
Also used : DistroXRepairV1Request(com.sequenceiq.distrox.api.v1.distrox.model.DistroXRepairV1Request) DistroXRepairNodesV1Request(com.sequenceiq.distrox.api.v1.distrox.model.DistroXRepairNodesV1Request)

Aggregations

DistroXRepairNodesV1Request (com.sequenceiq.distrox.api.v1.distrox.model.DistroXRepairNodesV1Request)1 DistroXRepairV1Request (com.sequenceiq.distrox.api.v1.distrox.model.DistroXRepairV1Request)1