Exemple #1
0
        public async Task RemoveAsync()
        {
            await CheckPolicyAsync();

            await _reRouteRepository.RemoveAsync();

            await _distributedEventBus.PublishAsync(new OcelotConfigChangeCommand("ReRoute", "Clean"));
        }
        public async Task RemoveAsync()
        {
            await CheckPolicyAsync();

            await _reRouteRepository.RemoveAsync();

            await _eventPublisher.PublishAsync(ApiGatewayDomainConsts.Events_OcelotConfigChanged, new OcelotConfigChangeCommand("ReRoute", "Clean"));
        }
Exemple #3
0
        public async Task RemoveAsync()
        {
            await CheckPolicyAsync();

            await _reRouteRepository.RemoveAsync();
        }