public MpackResponse registerMpack(MpackRequest mpackRequest) throws IOException, ResourceAlreadyExistsException {
    if (versionDefinitions != null) {
      versionDefinitions.clear();
    }
    return mpackManager.registerMpack(mpackRequest);
  }
Calls the registerMpack method from mpackManager to support a POST /mpacks request
@param mpackRequest
@return MpackResponse
@throws IOException
@throws ResourceAlreadyExistsException
ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java