use of com.emc.storageos.xtremio.restapi.model.response.XtremIOCGResponse in project coprhd-controller by CoprHD.
the class XtremIOV2Client method getSnapshotSetDetails.
@Override
public XtremIOConsistencyGroup getSnapshotSetDetails(String snapshotSetName, String clusterName) throws Exception {
String uriString = XtremIOConstants.XTREMIO_V2_SNAPSHOT_SET_STR.concat(XtremIOConstants.getInputNameForClusterString(snapshotSetName, clusterName));
ClientResponse response = get(URI.create(uriString));
XtremIOCGResponse cgResponse = getResponseObject(XtremIOCGResponse.class, response);
XtremIOConsistencyGroup cg = cgResponse.getContent();
log.info(cg.toString());
return cg;
}
use of com.emc.storageos.xtremio.restapi.model.response.XtremIOCGResponse in project coprhd-controller by CoprHD.
the class XtremIOV2Client method getConsistencyGroupDetails.
@Override
public XtremIOConsistencyGroup getConsistencyGroupDetails(String cgName, String clusterName) throws Exception {
String uriString = XtremIOConstants.XTREMIO_V2_CONSISTENCY_GROUPS_STR.concat(XtremIOConstants.getInputNameForClusterString(cgName, clusterName));
ClientResponse response = get(URI.create(uriString));
XtremIOCGResponse cgResponse = getResponseObject(XtremIOCGResponse.class, response);
XtremIOConsistencyGroup cg = cgResponse.getContent();
log.info(cg.toString());
return cg;
}
Aggregations