public static List<CommonUpstream> convertCommonUpstreamList(final List<? extends CommonUpstream> upstreamList) {
        return Optional.ofNullable(upstreamList)
                .orElse(Collections.emptyList())
                .stream()
                .map(upstream -> new CommonUpstream(upstream.getProtocol(),
                        upstream.getUpstreamHost(), upstream.getUpstreamUrl(),
                        upstream.isStatus(), upstream.getTimestamp()))
                .collect(Collectors.toList());
    }
Convert common upstream list list.

@param upstreamList the upstream list
@return the list
shenyu-admin/src/main/java/org/apache/shenyu/admin/utils/CommonUpstreamUtils.java