* @param clusterId
* the cluster ID.
* @return the list of CAS profiles in the cluster.
*/
public List<CasProfileInfoRep> getProfiles(URI clusterId) {
CasProfileListRep list = client.get(CasProfileListRep.class, CAS_PROFILES_URL, clusterId);
return ResourceUtils.defaultList(list != null ? list.getCasProfiles() : null);
}