public DiscoveryUpstreamData mapToDiscoveryUpstreamData(CommonUpstream commonUpstream) {
        return mapToData(CommonUpstreamUtils.buildDefaultDiscoveryUpstreamDTO(commonUpstream.getUpstreamUrl().split(":")[0], Integer.valueOf(commonUpstream.getUpstreamUrl().split(":")[1]), commonUpstream.getProtocol(),commonUpstream.getNamespaceId()));
    }
mapToDiscoveryUpstreamData.
@param commonUpstream commonUpstream
@return DiscoveryUpstreamData
shenyu-admin/src/main/java/org/apache/shenyu/admin/transfer/DiscoveryTransfer.java