@Deprecated
    @PostMapping(value = {"/report"})
    @Secured(resource = Commons.NACOS_CORE_CONTEXT + "/cluster", action = ActionTypes.WRITE, signType = SignType.CONSOLE)
    public RestResult<String> report(@RequestBody Member node) {
        if (!node.check()) {
            return RestResultUtils.failedWithMsg(400, "Node information is illegal");
        }
        LoggerUtils.printIfDebugEnabled(Loggers.CLUSTER, "node state report, receive info : {}", node);
        node.setState(NodeState.UP);
        node.setFailAccessCnt(0);
        memberManager.update(node);
        return RestResultUtils.success(JacksonUtils.toJson(memberManager.getSelf()));
    }
@Test
    void testReport() {
        Member self = new Member();
        Mockito.when(serverMemberManager.update(Mockito.any())).thenReturn(true);
        Mockito.when(serverMemberManager.getSelf()).thenReturn(self);
        Member member = new Member();
        member.setIp("1.1.1.1");
        member.setPort(8848);
        member.setAddress("test");
        RestResult<String> result = nacosClusterController.report(member);
        String expected = JacksonUtils.toJson(self);
        assertEquals(expected, result.getData());
    }