public void prepareForHTTPUrlRecognition(final MetadataQueryService metadataQueryService,
                                             int syncPeriodHttpUriRecognitionPattern,
                                             int trainingPeriodHttpUriRecognitionPattern,
                                             int maxEndpointCandidatePerSvr) {
        this.maxHttpUrisNumberPerService = maxEndpointCandidatePerSvr;
        this.httpUrlRecognitionConfig = new HTTPUrlRecognitionConfig(
            metadataQueryService, syncPeriodHttpUriRecognitionPattern, trainingPeriodHttpUriRecognitionPattern,
            maxEndpointCandidatePerSvr
        );
    }
Format the endpoint name according to the API patterns.

@param serviceName  service name
@param endpointName endpoint name to be formatted.
@return Tuple2 The result of endpoint name formatting.
The first element is the formatted name or original name when not formatted.
The second element is a boolean represented the endpoint name is formatted or not.
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java