public DiscoveryHandlerVO mapToVo(DiscoveryHandlerDO discoveryDO) {
        return Optional.ofNullable(discoveryDO).map(data -> {
            DiscoveryHandlerVO vo = new DiscoveryHandlerVO();
            vo.setId(data.getId());
            vo.setDiscoveryId(data.getDiscoveryId());
            vo.setHandler(data.getHandler());
            vo.setListenerNode(data.getListenerNode());
            vo.setProps(data.getProps());
            return vo;
        }).orElse(null);
    }
mapToVo.

@param discoveryUpstreamDO discoveryUpstreamDO
@return DiscoveryUpstreamVO
shenyu-admin/src/main/java/org/apache/shenyu/admin/transfer/DiscoveryTransfer.java