From d170af16393a30c15437bde5141c10a720f66b4b Mon Sep 17 00:00:00 2001 From: Ming Deng <mindeng@ebay.com> Date: Thu, 17 Oct 2019 20:24:58 +0800 Subject: [PATCH] fix reveiw: rename the file --- ...r_only_log_impl.go => rejected_execution_handler_only_log.go} | 0 ..._impl_test.go => rejected_execution_handler_only_log_test.go} | 0 ..._window_strategy_impl.go => tps_limit_fix_window_strategy.go} | 0 ...rategy_impl_test.go => tps_limit_fix_window_strategy_test.go} | 0 ...dow_strategy_impl.go => tps_limit_sliding_window_strategy.go} | 0 ...gy_impl_test.go => tps_limit_sliding_window_strategy_test.go} | 0 ...tegy_impl.go => tps_limit_thread_safe_fix_window_strategy.go} | 0 ...test.go => tps_limit_thread_safe_fix_window_strategy_test.go} | 0 ...iter_method_service_impl.go => tps_limiter_method_service.go} | 0 ...d_service_impl_test.go => tps_limiter_method_service_test.go} | 0 filter/impl/tps_limit_filter.go | 1 + 11 files changed, 1 insertion(+) rename filter/impl/tps/{rejected_execution_handler_only_log_impl.go => rejected_execution_handler_only_log.go} (100%) rename filter/impl/tps/{rejected_execution_handler_only_log_impl_test.go => rejected_execution_handler_only_log_test.go} (100%) rename filter/impl/tps/{tps_limit_fix_window_strategy_impl.go => tps_limit_fix_window_strategy.go} (100%) rename filter/impl/tps/{tps_limit_fix_window_strategy_impl_test.go => tps_limit_fix_window_strategy_test.go} (100%) rename filter/impl/tps/{tps_limit_sliding_window_strategy_impl.go => tps_limit_sliding_window_strategy.go} (100%) rename filter/impl/tps/{tps_limit_sliding_window_strategy_impl_test.go => tps_limit_sliding_window_strategy_test.go} (100%) rename filter/impl/tps/{tps_limit_thread_safe_fix_window_strategy_impl.go => tps_limit_thread_safe_fix_window_strategy.go} (100%) rename filter/impl/tps/{tps_limit_thread_safe_fix_window_strategy_impl_test.go => tps_limit_thread_safe_fix_window_strategy_test.go} (100%) rename filter/impl/tps/{tps_limiter_method_service_impl.go => tps_limiter_method_service.go} (100%) rename filter/impl/tps/{tps_limiter_method_service_impl_test.go => tps_limiter_method_service_test.go} (100%) diff --git a/filter/impl/tps/rejected_execution_handler_only_log_impl.go b/filter/impl/tps/rejected_execution_handler_only_log.go similarity index 100% rename from filter/impl/tps/rejected_execution_handler_only_log_impl.go rename to filter/impl/tps/rejected_execution_handler_only_log.go diff --git a/filter/impl/tps/rejected_execution_handler_only_log_impl_test.go b/filter/impl/tps/rejected_execution_handler_only_log_test.go similarity index 100% rename from filter/impl/tps/rejected_execution_handler_only_log_impl_test.go rename to filter/impl/tps/rejected_execution_handler_only_log_test.go diff --git a/filter/impl/tps/tps_limit_fix_window_strategy_impl.go b/filter/impl/tps/tps_limit_fix_window_strategy.go similarity index 100% rename from filter/impl/tps/tps_limit_fix_window_strategy_impl.go rename to filter/impl/tps/tps_limit_fix_window_strategy.go diff --git a/filter/impl/tps/tps_limit_fix_window_strategy_impl_test.go b/filter/impl/tps/tps_limit_fix_window_strategy_test.go similarity index 100% rename from filter/impl/tps/tps_limit_fix_window_strategy_impl_test.go rename to filter/impl/tps/tps_limit_fix_window_strategy_test.go diff --git a/filter/impl/tps/tps_limit_sliding_window_strategy_impl.go b/filter/impl/tps/tps_limit_sliding_window_strategy.go similarity index 100% rename from filter/impl/tps/tps_limit_sliding_window_strategy_impl.go rename to filter/impl/tps/tps_limit_sliding_window_strategy.go diff --git a/filter/impl/tps/tps_limit_sliding_window_strategy_impl_test.go b/filter/impl/tps/tps_limit_sliding_window_strategy_test.go similarity index 100% rename from filter/impl/tps/tps_limit_sliding_window_strategy_impl_test.go rename to filter/impl/tps/tps_limit_sliding_window_strategy_test.go diff --git a/filter/impl/tps/tps_limit_thread_safe_fix_window_strategy_impl.go b/filter/impl/tps/tps_limit_thread_safe_fix_window_strategy.go similarity index 100% rename from filter/impl/tps/tps_limit_thread_safe_fix_window_strategy_impl.go rename to filter/impl/tps/tps_limit_thread_safe_fix_window_strategy.go diff --git a/filter/impl/tps/tps_limit_thread_safe_fix_window_strategy_impl_test.go b/filter/impl/tps/tps_limit_thread_safe_fix_window_strategy_test.go similarity index 100% rename from filter/impl/tps/tps_limit_thread_safe_fix_window_strategy_impl_test.go rename to filter/impl/tps/tps_limit_thread_safe_fix_window_strategy_test.go diff --git a/filter/impl/tps/tps_limiter_method_service_impl.go b/filter/impl/tps/tps_limiter_method_service.go similarity index 100% rename from filter/impl/tps/tps_limiter_method_service_impl.go rename to filter/impl/tps/tps_limiter_method_service.go diff --git a/filter/impl/tps/tps_limiter_method_service_impl_test.go b/filter/impl/tps/tps_limiter_method_service_test.go similarity index 100% rename from filter/impl/tps/tps_limiter_method_service_impl_test.go rename to filter/impl/tps/tps_limiter_method_service_test.go diff --git a/filter/impl/tps_limit_filter.go b/filter/impl/tps_limit_filter.go index fc3a5a8a3..11f969e86 100644 --- a/filter/impl/tps_limit_filter.go +++ b/filter/impl/tps_limit_filter.go @@ -21,6 +21,7 @@ import ( "github.com/apache/dubbo-go/common/constant" "github.com/apache/dubbo-go/common/extension" "github.com/apache/dubbo-go/filter" + _ "github.com/apache/dubbo-go/filter/impl/tps" "github.com/apache/dubbo-go/protocol" ) -- GitLab