@Transactional
  protected LogicalRequest processAndPersistProvisionClusterTopologyRequest(ProvisionClusterRequest request, ClusterTopology topology, Long logicalRequestId)
    throws InvalidTopologyException, AmbariException {

    if (null != request.getQuickLinksProfileJson()) {
      saveOrUpdateQuickLinksProfile(request.getQuickLinksProfileJson());
    }

    LogicalRequest logicalRequest = processAndPersistTopologyRequest(request, topology, logicalRequestId);

    return logicalRequest;

  }
Creates and persists a {@see PersistedTopologyRequest} and a {@see LogicalRequest} for the provided
provision cluster request and topology.
@param request Provision cluster request to create a logical request for.
@param topology Cluster topology
@param logicalRequestId The Id for the created logical request
@return Logical request created.
ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyManager.java