@Around(CLIENT_INTERFACE_REMOVE_CONFIG_RPC)
    Object removeConfigAroundRpc(ProceedingJoinPoint pjp, ConfigRemoveRequest request, RequestMeta meta)
            throws Throwable {
        final ConfigChangePointCutTypes configChangePointCutType = ConfigChangePointCutTypes.REMOVE_BY_RPC;
        final List<ConfigChangePluginService> pluginServices = getPluginServices(
                configChangePointCutType);
        // didn't enabled or add relative plugin
        if (pluginServices.isEmpty()) {
            return pjp.proceed();
        }
        ConfigChangeRequest configChangeRequest = new ConfigChangeRequest(configChangePointCutType);
        configChangeRequest.setArg("dataId", request.getDataId());
        configChangeRequest.setArg("group", request.getGroup());
        configChangeRequest.setArg("tenant", request.getTenant());
        configChangeRequest.setArg("appName", request.getHeader("appName"));
        configChangeRequest.setArg("srcIp", meta.getClientIp());
        configChangeRequest.setArg("requestIpApp", request.getHeader("requestIpApp"));
        configChangeRequest.setArg("srcUser", request.getHeader("src_user"));
        configChangeRequest.setArg("use", request.getHeader("use"));
        return configChangeServiceHandle(pjp, pluginServices, configChangeRequest);
    }
@Test
    void testRemoveConfigAroundRpc() throws Throwable {
        Mockito.when(configChangePluginService.executeType()).thenReturn(ConfigChangeExecuteTypes.EXECUTE_BEFORE_TYPE);
        ProceedingJoinPoint proceedingJoinPoint = Mockito.mock(ProceedingJoinPoint.class);
        ConfigRemoveRequest request = new ConfigRemoveRequest();
        RequestMeta requestMeta = new RequestMeta();
        ConfigPublishResponse configPublishResponse = ConfigPublishResponse.buildSuccessResponse();
        Mockito.when(proceedingJoinPoint.proceed(any())).thenReturn(configPublishResponse);
        //execute
        Object o = configChangeAspect.removeConfigAroundRpc(proceedingJoinPoint, request, requestMeta);
        //expect
        Mockito.verify(configChangePluginService, Mockito.times(1))
                .execute(any(ConfigChangeRequest.class), any(ConfigChangeResponse.class));
        assertEquals(configPublishResponse, o);
    }