* @param clusterId the container cluster identifier
* @return the container cluster status response
*/
@RequestMapping(value = "/{clusterId}", method = RequestMethod.GET)
public HttpEntity<ContainerClusterResource> clusterInfo(@PathVariable("clusterId") String clusterId) {
ContainerCluster cluster = delegate.getClusters().get(clusterId);
if (cluster == null) {
throw new NoSuchClusterException("No such cluster: " + clusterId);
}
ContainerClusterResource response = new ContainerClusterResource(cluster);
return new ResponseEntity<ContainerClusterResource>(response, HttpStatus.OK);