* @param clusterId
* the cluster ID.
* @return the list of CAS pools within the cluster.
*/
public List<CasPoolInfoRep> getPools(URI clusterId) {
CasPoolListRep list = client.get(CasPoolListRep.class, CAS_POOLS_URL, clusterId);
return ResourceUtils.defaultList(list != null ? list.getCasPools() : null);
}