public List<Module> getModules(Long mpackId) {
    return mpackManager.getModules(mpackId);
  }
Gets the module information for given mpack.
@param mpackId
@return List of Modules.
ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java