@RequiresSession
  public List<MpackEntity> findAll() {
    TypedQuery<MpackEntity> query = m_entityManagerProvider.get().createNamedQuery(
            "MpackEntity.findAll", MpackEntity.class);
    return m_daoUtils.selectList(query);
  }
Gets all mpacks stored in the database across all clusters.

@return all mpacks or an empty list if none exist (never {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/MpackDAO.java