@RequiresSession
  public RemoteAmbariClusterEntity findById(Long clusterId) {
    TypedQuery<RemoteAmbariClusterEntity> query = entityManagerProvider.get().
      createNamedQuery("remoteAmbariClusterById", RemoteAmbariClusterEntity.class);
    query.setParameter("clusterId", clusterId);
    return daoUtils.selectSingle(query);
  }
Find Cluster by Id
@param clusterId
@return
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/RemoteAmbariClusterDAO.java