public CommonUpstream mapToCommonUpstream(DiscoveryUpstreamData discoveryUpstreamData) {
        return Optional.ofNullable(discoveryUpstreamData).map(data -> {
            String url = data.getUrl();
            return new CommonUpstream(data.getProtocol(), url.split(":")[0], url, false, data.getDateCreated().getTime());
        }).orElse(null);
    }
mapToCommonUpstream.

@param discoveryUpstreamData discoveryUpstreamData
@return CommonUpstream
shenyu-admin/src/main/java/org/apache/shenyu/admin/transfer/DiscoveryTransfer.java