use of com.sequenceiq.cloudbreak.api.model.SecurityRuleRequest in project cloudbreak by hortonworks.
the class SecurityRuleRequestToSecurityRuleConverterTest method createRequest.
private SecurityRuleRequest createRequest(String ports) {
SecurityRuleRequest request = new SecurityRuleRequest();
request.setPorts(ports);
request.setModifiable(true);
request.setProtocol("tcp");
request.setSubnet("0.0.0.0/0");
return request;
}
Aggregations