diff --git a/sc-f-gateway-filter/.idea/workspace.xml b/sc-f-gateway-filter/.idea/workspace.xml
index fbea55d7e..2f2184355 100644
--- a/sc-f-gateway-filter/.idea/workspace.xml
+++ b/sc-f-gateway-filter/.idea/workspace.xml
@@ -12,11 +12,14 @@
-
-
+
+
-
-
+
+
+
+
+
@@ -24,29 +27,30 @@
-
-
+
+
-
-
+
+
-
+
-
+
+
-
+
-
-
+
+
@@ -54,11 +58,11 @@
-
-
+
+
-
-
+
+
@@ -66,58 +70,112 @@
-
-
+
+
-
-
-
-
-
+
+
-
-
+
+
-
-
-
-
-
-
+
+
-
-
+
+
-
+
-
-
-
-
-
+
+
+
+
+ JAVA
+ org.springframework.cloud.gateway.filter.factory.AbstractNameValueGatewayFilterFactory
+
+ java.lang.FunctionalInterface
+ org.springframework.cloud.gateway.support.AbstractConfigurable
+ org.springframework.cloud.gateway.support.Configurable
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+ org.springframework.cloud.gateway.support.ShortcutConfigurable
+ org.springframework.cloud.gateway.filter.factory.AbstractChangeRequestUriGatewayFilterFactory
+ org.springframework.cloud.gateway.filter.factory.AbstractNameValueGatewayFilterFactory
+ org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ All
+ private
-
-
+
+
-
-
-
-
-
-
+
+
@@ -184,10 +242,9 @@
-
-
-
-
+
+
+
@@ -195,6 +252,8 @@
+
+
@@ -235,12 +294,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
@@ -248,7 +350,7 @@
-
+
@@ -339,14 +441,16 @@
+
-
+
+
@@ -356,13 +460,13 @@
-
+
-
+
@@ -370,18 +474,18 @@
-
-
+
-
+
+
@@ -391,83 +495,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -608,20 +635,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -657,20 +670,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -689,85 +688,346 @@
-
+
-
-
-
-
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
+
-
-
+
+
+
+
+
+ JAVA
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+
+ java.lang.FunctionalInterface
+ org.springframework.cloud.gateway.support.Configurable
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+ org.springframework.cloud.gateway.support.ShortcutConfigurable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+ org.springframework.cloud.gateway.support.ShortcutConfigurable
+
+
+ All
+ private
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ JAVA
+ org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
+
+ java.lang.FunctionalInterface
+ org.springframework.cloud.gateway.support.AbstractConfigurable
+ org.springframework.cloud.gateway.support.Configurable
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+ org.springframework.cloud.gateway.support.ShortcutConfigurable
+ org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
+
+
+ All
+ private
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ JAVA
+ org.springframework.cloud.gateway.filter.factory.AbstractNameValueGatewayFilterFactory
+
+ java.lang.FunctionalInterface
+ org.springframework.cloud.gateway.support.AbstractConfigurable
+ org.springframework.cloud.gateway.support.Configurable
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+ org.springframework.cloud.gateway.support.ShortcutConfigurable
+ org.springframework.cloud.gateway.filter.factory.AbstractChangeRequestUriGatewayFilterFactory
+ org.springframework.cloud.gateway.filter.factory.AbstractNameValueGatewayFilterFactory
+ org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ All
+ private
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sc-f-gateway-filter/src/main/java/org/springframework/cloud/gateway/filter/factory/AbstractChangeRequestUriGatewayFilterFactory.java b/sc-f-gateway-filter/src/main/java/org/springframework/cloud/gateway/filter/factory/AbstractChangeRequestUriGatewayFilterFactory.java
new file mode 100644
index 000000000..74928f567
--- /dev/null
+++ b/sc-f-gateway-filter/src/main/java/org/springframework/cloud/gateway/filter/factory/AbstractChangeRequestUriGatewayFilterFactory.java
@@ -0,0 +1,10 @@
+package org.springframework.cloud.gateway.filter.factory;
+
+/**
+ * Email miles02@163.com
+ *
+ * @author fangzhipeng
+ * create 2018-12-04
+ **/
+public abstract class AbstractChangeRequestUriGatewayFilterFactory extends AbstractGatewayFilterFactory {
+}
diff --git a/sc-f-gateway-first-sight/.idea/workspace.xml b/sc-f-gateway-first-sight/.idea/workspace.xml
index 39ef40452..bbdc60092 100644
--- a/sc-f-gateway-first-sight/.idea/workspace.xml
+++ b/sc-f-gateway-first-sight/.idea/workspace.xml
@@ -162,7 +162,7 @@
-
+
@@ -179,7 +179,7 @@
-
+
@@ -271,15 +271,15 @@
+
-
+
-
@@ -295,7 +295,7 @@
-
+
@@ -305,12 +305,12 @@
+
+
-
-
diff --git a/sc-f-gateway-limiter/.idea/.name b/sc-f-gateway-limiter/.idea/.name
new file mode 100644
index 000000000..f473eeb9d
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/.name
@@ -0,0 +1 @@
+gs-gateway
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/compiler.xml b/sc-f-gateway-limiter/.idea/compiler.xml
new file mode 100644
index 000000000..c21be9212
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/compiler.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/encodings.xml b/sc-f-gateway-limiter/.idea/encodings.xml
new file mode 100644
index 000000000..b26911bd0
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/encodings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml
new file mode 100644
index 000000000..6fec8f434
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml
new file mode 100644
index 000000000..9eb8596a3
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_classmate_1_3_4.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_classmate_1_3_4.xml
new file mode 100644
index 000000000..33c30b4c8
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_classmate_1_3_4.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml
new file mode 100644
index 000000000..06441f49e
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_9_6.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_9_6.xml
new file mode 100644
index 000000000..eebe10dd7
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_9_6.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml
new file mode 100644
index 000000000..51087da7b
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml
new file mode 100644
index 000000000..fa50d9593
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_6.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_6.xml
new file mode 100644
index 000000000..7e20e35f6
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_6.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_6.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_6.xml
new file mode 100644
index 000000000..345adf838
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_6.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml
new file mode 100644
index 000000000..f19f6eb36
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
new file mode 100644
index 000000000..b8581a6f5
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_lettuce_lettuce_core_5_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_lettuce_lettuce_core_5_0_5_RELEASE.xml
new file mode 100644
index 000000000..80b9d18f9
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_lettuce_lettuce_core_5_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_buffer_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_buffer_4_1_29_Final.xml
new file mode 100644
index 000000000..111bef965
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_buffer_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_codec_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_codec_4_1_29_Final.xml
new file mode 100644
index 000000000..c60c2d07c
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_codec_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_codec_http_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_codec_http_4_1_29_Final.xml
new file mode 100644
index 000000000..4f0c553b2
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_codec_http_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_codec_socks_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_codec_socks_4_1_29_Final.xml
new file mode 100644
index 000000000..cbb606342
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_codec_socks_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_common_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_common_4_1_29_Final.xml
new file mode 100644
index 000000000..8b624c534
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_common_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_handler_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_handler_4_1_29_Final.xml
new file mode 100644
index 000000000..e5d265df2
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_handler_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_handler_proxy_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_handler_proxy_4_1_29_Final.xml
new file mode 100644
index 000000000..e30b80e5a
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_handler_proxy_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_resolver_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_resolver_4_1_29_Final.xml
new file mode 100644
index 000000000..9a62ab2c2
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_resolver_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_transport_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_transport_4_1_29_Final.xml
new file mode 100644
index 000000000..c30cd9cdc
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_transport_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_transport_native_epoll_linux_x86_64_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_transport_native_epoll_linux_x86_64_4_1_29_Final.xml
new file mode 100644
index 000000000..ceec5fc12
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_transport_native_epoll_linux_x86_64_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_transport_native_unix_common_4_1_29_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_transport_native_unix_common_4_1_29_Final.xml
new file mode 100644
index 000000000..796f2dc4e
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_netty_netty_transport_native_unix_common_4_1_29_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_projectreactor_addons_reactor_extra_3_1_7_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_projectreactor_addons_reactor_extra_3_1_7_RELEASE.xml
new file mode 100644
index 000000000..51a2404c3
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_projectreactor_addons_reactor_extra_3_1_7_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_projectreactor_ipc_reactor_netty_0_7_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_projectreactor_ipc_reactor_netty_0_7_9_RELEASE.xml
new file mode 100644
index 000000000..8e5adb9fb
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_projectreactor_ipc_reactor_netty_0_7_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml
new file mode 100644
index 000000000..2087ee6ac
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__io_projectreactor_reactor_core_3_1_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__javax_annotation_javax_annotation_api_1_3_2.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__javax_annotation_javax_annotation_api_1_3_2.xml
new file mode 100644
index 000000000..e74f3ab28
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__javax_annotation_javax_annotation_api_1_3_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__javax_validation_validation_api_2_0_1_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__javax_validation_validation_api_2_0_1_Final.xml
new file mode 100644
index 000000000..6978c0b24
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__javax_validation_validation_api_2_0_1_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__junit_junit_4_12.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__junit_junit_4_12.xml
new file mode 100644
index 000000000..d41104174
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__junit_junit_4_12.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_7_11.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_7_11.xml
new file mode 100644
index 000000000..ee623f18c
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_7_11.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml
new file mode 100644
index 000000000..a72c9a38e
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml
new file mode 100644
index 000000000..b3d385838
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml
new file mode 100644
index 000000000..108302355
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml
new file mode 100644
index 000000000..cbe5ca7e3
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml
new file mode 100644
index 000000000..1407c5828
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_assertj_assertj_core_3_9_1.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_assertj_assertj_core_3_9_1.xml
new file mode 100644
index 000000000..40adaaa0d
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_assertj_assertj_core_3_9_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_bouncycastle_bcpkix_jdk15on_1_56.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_bouncycastle_bcpkix_jdk15on_1_56.xml
new file mode 100644
index 000000000..99a177426
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_bouncycastle_bcpkix_jdk15on_1_56.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_56.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_56.xml
new file mode 100644
index 000000000..4e0490fa7
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_56.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 000000000..f58bbc112
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml
new file mode 100644
index 000000000..78dbe458d
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_12_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_12_Final.xml
new file mode 100644
index 000000000..c0194310e
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_12_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml
new file mode 100644
index 000000000..5f7dd01e2
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_mockito_mockito_core_2_15_0.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_mockito_mockito_core_2_15_0.xml
new file mode 100644
index 000000000..a742a6ddf
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_mockito_mockito_core_2_15_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml
new file mode 100644
index 000000000..af41e3b61
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml
new file mode 100644
index 000000000..0bf8cf2b2
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml
new file mode 100644
index 000000000..457c7b787
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml
new file mode 100644
index 000000000..c4c54d6d5
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml
new file mode 100644
index 000000000..6073e5338
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml
new file mode 100644
index 000000000..20e816363
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..694ace04b
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..487c520a3
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..dc4632406
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..e4f308902
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_reactive_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_reactive_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..65ca214d7
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_reactive_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..7e50280a2
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..af6c53d3c
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_reactor_netty_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_reactor_netty_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..7297cc3ba
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_reactor_netty_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..0262995c6
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_webflux_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_webflux_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..d36ab83cf
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_webflux_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..f2c363d01
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_0_5_RELEASE.xml
new file mode 100644
index 000000000..4c7f1e340
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_commons_2_0_0_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_commons_2_0_0_RELEASE.xml
new file mode 100644
index 000000000..669b5e910
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_commons_2_0_0_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_context_2_0_0_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_context_2_0_0_RELEASE.xml
new file mode 100644
index 000000000..cf20ce28f
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_context_2_0_0_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_gateway_core_2_0_0_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_gateway_core_2_0_0_RELEASE.xml
new file mode 100644
index 000000000..49f555a57
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_gateway_core_2_0_0_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_2_0_0_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_2_0_0_RELEASE.xml
new file mode 100644
index 000000000..6387de3b8
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_2_0_0_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_gateway_2_0_0_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_gateway_2_0_0_RELEASE.xml
new file mode 100644
index 000000000..249529788
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_gateway_2_0_0_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_0_10_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_0_10_RELEASE.xml
new file mode 100644
index 000000000..a63401909
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_0_10_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_data_spring_data_keyvalue_2_0_10_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_data_spring_data_keyvalue_2_0_10_RELEASE.xml
new file mode 100644
index 000000000..f277e854e
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_data_spring_data_keyvalue_2_0_10_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_data_spring_data_redis_2_0_10_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_data_spring_data_redis_2_0_10_RELEASE.xml
new file mode 100644
index 000000000..9646d8440
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_data_spring_data_redis_2_0_10_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_security_spring_security_crypto_5_0_8_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_security_spring_security_crypto_5_0_8_RELEASE.xml
new file mode 100644
index 000000000..91a44b854
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_security_spring_security_crypto_5_0_8_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_security_spring_security_rsa_1_0_5_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_security_spring_security_rsa_1_0_5_RELEASE.xml
new file mode 100644
index 000000000..82e92cd30
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_security_spring_security_rsa_1_0_5_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_aop_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_aop_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..d72ff5a29
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_aop_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_beans_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_beans_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..f606e1f06
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_beans_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_context_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_context_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..1444af1bb
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_context_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_context_support_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_context_support_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..5df566447
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_context_support_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_core_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_core_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..15a89a5ac
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_core_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_expression_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_expression_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..b5c312e91
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_expression_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_jcl_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_jcl_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..847069e24
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_jcl_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_oxm_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_oxm_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..d466a05de
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_oxm_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_test_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_test_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..22def7023
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_test_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_tx_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_tx_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..79735e2d2
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_tx_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_web_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_web_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..6700b1236
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_web_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_webflux_5_0_9_RELEASE.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_webflux_5_0_9_RELEASE.xml
new file mode 100644
index 000000000..33c26ae03
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_springframework_spring_webflux_5_0_9_RELEASE.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_synchronoss_cloud_nio_multipart_parser_1_1_0.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_synchronoss_cloud_nio_multipart_parser_1_1_0.xml
new file mode 100644
index 000000000..1a8ebe7da
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_synchronoss_cloud_nio_multipart_parser_1_1_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_synchronoss_cloud_nio_stream_storage_1_1_3.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_synchronoss_cloud_nio_stream_storage_1_1_3.xml
new file mode 100644
index 000000000..3897687eb
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_synchronoss_cloud_nio_stream_storage_1_1_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_5_1.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_5_1.xml
new file mode 100644
index 000000000..474c910ce
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_5_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/libraries/Maven__org_yaml_snakeyaml_1_19.xml b/sc-f-gateway-limiter/.idea/libraries/Maven__org_yaml_snakeyaml_1_19.xml
new file mode 100644
index 000000000..33ccf19e2
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/libraries/Maven__org_yaml_snakeyaml_1_19.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/misc.xml b/sc-f-gateway-limiter/.idea/misc.xml
new file mode 100644
index 000000000..d30d09e20
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/misc.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/modules.xml b/sc-f-gateway-limiter/.idea/modules.xml
new file mode 100644
index 000000000..66305b3ef
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/modules.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/uiDesigner.xml b/sc-f-gateway-limiter/.idea/uiDesigner.xml
new file mode 100644
index 000000000..e96534fb2
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/uiDesigner.xml
@@ -0,0 +1,124 @@
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.idea/workspace.xml b/sc-f-gateway-limiter/.idea/workspace.xml
new file mode 100644
index 000000000..cf19a07b9
--- /dev/null
+++ b/sc-f-gateway-limiter/.idea/workspace.xml
@@ -0,0 +1,1076 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ after_route
+ Before
+ redisRequestRateLimiterScript
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ DEFINITION_ORDER
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1540967257062
+
+
+ 1540967257062
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ JAVA
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+
+ java.lang.FunctionalInterface
+ org.springframework.cloud.gateway.support.Configurable
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+ org.springframework.cloud.gateway.support.ShortcutConfigurable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+ org.springframework.cloud.gateway.support.ShortcutConfigurable
+
+
+ All
+ private
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ JAVA
+ org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
+
+ java.lang.FunctionalInterface
+ org.springframework.cloud.gateway.support.AbstractConfigurable
+ org.springframework.cloud.gateway.support.Configurable
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+ org.springframework.cloud.gateway.support.ShortcutConfigurable
+ org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
+
+
+ All
+ private
+
+
+
+
+
+
+
+
+
+
+
+
+
+ JAVA
+ org.springframework.cloud.gateway.filter.factory.AbstractNameValueGatewayFilterFactory
+
+ java.lang.FunctionalInterface
+ org.springframework.cloud.gateway.support.AbstractConfigurable
+ org.springframework.cloud.gateway.support.Configurable
+ org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
+ org.springframework.cloud.gateway.support.ShortcutConfigurable
+ org.springframework.cloud.gateway.filter.factory.AbstractChangeRequestUriGatewayFilterFactory
+ org.springframework.cloud.gateway.filter.factory.AbstractNameValueGatewayFilterFactory
+ org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ All
+ private
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Spring
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.8
+
+
+
+
+
+
+
+
+
+
+
+ sc-f-gateway-filter
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.8
+
+
+
+
+
+
+
+
+
+
+
+ Maven: ch.qos.logback:logback-classic:1.2.3
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/.mvn/wrapper/maven-wrapper.jar b/sc-f-gateway-limiter/.mvn/wrapper/maven-wrapper.jar
new file mode 100644
index 000000000..5fd4d5023
Binary files /dev/null and b/sc-f-gateway-limiter/.mvn/wrapper/maven-wrapper.jar differ
diff --git a/sc-f-gateway-limiter/.mvn/wrapper/maven-wrapper.properties b/sc-f-gateway-limiter/.mvn/wrapper/maven-wrapper.properties
new file mode 100644
index 000000000..c954cec91
--- /dev/null
+++ b/sc-f-gateway-limiter/.mvn/wrapper/maven-wrapper.properties
@@ -0,0 +1 @@
+distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip
diff --git a/sc-f-gateway-limiter/pom.xml b/sc-f-gateway-limiter/pom.xml
new file mode 100644
index 000000000..f30a00665
--- /dev/null
+++ b/sc-f-gateway-limiter/pom.xml
@@ -0,0 +1,70 @@
+
+
+ 4.0.0
+
+ com.forezp
+ sc-f-gateway-filter
+ 0.1.0
+
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.0.5.RELEASE
+
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-dependencies
+ Finchley.RELEASE
+ pom
+ import
+
+
+
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-gateway
+
+
+
+ org.springframework.boot
+ spring-boot-starter-data-redis-reactive
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+ 1.8
+
+
+
+
+ spring-milestones
+ Spring Milestones
+ https://repo.spring.io/libs-milestone
+
+ false
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
diff --git a/sc-f-gateway-limiter/sc-f-gateway-filter.iml b/sc-f-gateway-limiter/sc-f-gateway-filter.iml
new file mode 100644
index 000000000..d5ad85a58
--- /dev/null
+++ b/sc-f-gateway-limiter/sc-f-gateway-filter.iml
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/src/main/java/gateway/Application.java b/sc-f-gateway-limiter/src/main/java/gateway/Application.java
new file mode 100644
index 000000000..d6f2a9f6a
--- /dev/null
+++ b/sc-f-gateway-limiter/src/main/java/gateway/Application.java
@@ -0,0 +1,34 @@
+package gateway;
+
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.gateway.filter.ratelimit.KeyResolver;
+import org.springframework.context.annotation.Bean;
+import org.springframework.web.bind.annotation.RestController;
+import reactor.core.publisher.Mono;
+
+@SpringBootApplication
+@RestController
+public class Application {
+
+ public static void main(String[] args) {
+ SpringApplication.run( Application.class, args );
+ }
+
+ @Bean
+ public HostAddrKeyResolver hostAddrKeyResolver() {
+ return new HostAddrKeyResolver();
+ }
+
+ @Bean
+ public UriKeyResolver uriKeyResolver() {
+ return new UriKeyResolver();
+ }
+
+ @Bean
+ KeyResolver userKeyResolver() {
+ return exchange -> Mono.just(exchange.getRequest().getQueryParams().getFirst("user"));
+ }
+}
+
diff --git a/sc-f-gateway-limiter/src/main/java/gateway/HostAddrKeyResolver.java b/sc-f-gateway-limiter/src/main/java/gateway/HostAddrKeyResolver.java
new file mode 100644
index 000000000..c757f815e
--- /dev/null
+++ b/sc-f-gateway-limiter/src/main/java/gateway/HostAddrKeyResolver.java
@@ -0,0 +1,20 @@
+package gateway;
+
+import org.springframework.cloud.gateway.filter.ratelimit.KeyResolver;
+import org.springframework.web.server.ServerWebExchange;
+import reactor.core.publisher.Mono;
+
+/**
+ * Email miles02@163.com
+ *
+ * @author fangzhipeng
+ * create 2018-12-05
+ **/
+public class HostAddrKeyResolver implements KeyResolver {
+
+ @Override
+ public Mono resolve(ServerWebExchange exchange) {
+ return Mono.just(exchange.getRequest().getRemoteAddress().getAddress().getHostAddress());
+ }
+
+}
diff --git a/sc-f-gateway-limiter/src/main/java/gateway/UriKeyResolver.java b/sc-f-gateway-limiter/src/main/java/gateway/UriKeyResolver.java
new file mode 100644
index 000000000..b84e21bc2
--- /dev/null
+++ b/sc-f-gateway-limiter/src/main/java/gateway/UriKeyResolver.java
@@ -0,0 +1,20 @@
+package gateway;
+
+import org.springframework.cloud.gateway.filter.ratelimit.KeyResolver;
+import org.springframework.web.server.ServerWebExchange;
+import reactor.core.publisher.Mono;
+
+/**
+ * Email miles02@163.com
+ *
+ * @author fangzhipeng
+ * create 2018-12-05
+ **/
+public class UriKeyResolver implements KeyResolver {
+
+ @Override
+ public Mono resolve(ServerWebExchange exchange) {
+ return Mono.just(exchange.getRequest().getURI().getPath());
+ }
+
+}
diff --git a/sc-f-gateway-limiter/src/main/resources/application.yml b/sc-f-gateway-limiter/src/main/resources/application.yml
new file mode 100644
index 000000000..3b536b2c4
--- /dev/null
+++ b/sc-f-gateway-limiter/src/main/resources/application.yml
@@ -0,0 +1,25 @@
+server:
+ port: 8081
+spring:
+ cloud:
+ gateway:
+ routes:
+ - id: limit_route
+ uri: http://httpbin.org:80/get
+ predicates:
+ - After=2017-01-20T17:42:47.789-07:00[America/Denver]
+ filters:
+ - name: RequestRateLimiter
+ args:
+ key-resolver: '#{@hostAddrKeyResolver}'
+ redis-rate-limiter.replenishRate: 1
+ redis-rate-limiter.burstCapacity: 1
+ application:
+ name: gateway-limiter
+ redis:
+ host: localhost
+ port: 6379
+ database: 0
+
+
+
diff --git a/sc-f-gateway-limiter/src/test/java/gateway/ApplicationTest.java b/sc-f-gateway-limiter/src/test/java/gateway/ApplicationTest.java
new file mode 100644
index 000000000..a8b701337
--- /dev/null
+++ b/sc-f-gateway-limiter/src/test/java/gateway/ApplicationTest.java
@@ -0,0 +1,57 @@
+//package gateway;
+//
+//import org.junit.Test;
+//import org.junit.runner.RunWith;
+//
+//import org.springframework.beans.factory.annotation.Autowired;
+//import org.springframework.boot.test.context.SpringBootTest;
+//import org.springframework.cloud.contract.wiremock.AutoConfigureWireMock;
+//import org.springframework.test.context.junit4.SpringRunner;
+//import org.springframework.test.web.reactive.server.WebTestClient;
+//
+//import static com.github.tomakehurst.wiremock.client.WireMock.*;
+//import static org.assertj.core.api.Assertions.*;
+//
+///**
+// * @author Ryan Baxter
+// */
+//// tag::code[]
+//@RunWith(SpringRunner.class)
+//@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
+// properties = {"httpbin=http://localhost:${wiremock.server.port}"})
+//@AutoConfigureWireMock(port = 0)
+//public class ApplicationTest {
+//
+// @Autowired
+// private WebTestClient webClient;
+//
+// @Test
+// public void contextLoads() throws Exception {
+// //Stubs
+// stubFor(get(urlEqualTo("/get"))
+// .willReturn(aResponse()
+// .withBody("{\"headers\":{\"Hello\":\"World\"}}")
+// .withHeader("Content-Type", "application/json")));
+// stubFor(get(urlEqualTo("/delay/3"))
+// .willReturn(aResponse()
+// .withBody("no fallback")
+// .withFixedDelay(3000)));
+//
+// webClient
+// .get().uri("/get")
+// .exchange()
+// .expectStatus().isOk()
+// .expectBody()
+// .jsonPath("$.headers.Hello").isEqualTo("World");
+//
+// webClient
+// .get().uri("/delay/3")
+// .header("Host", "www.hystrix.com")
+// .exchange()
+// .expectStatus().isOk()
+// .expectBody()
+// .consumeWith(
+// response -> assertThat(response.getResponseBody()).isEqualTo("fallback".getBytes()));
+// }
+//}
+//// end::code[]
\ No newline at end of file
diff --git a/sc-f-gateway-limiter/target/classes/application.yml b/sc-f-gateway-limiter/target/classes/application.yml
new file mode 100644
index 000000000..3b536b2c4
--- /dev/null
+++ b/sc-f-gateway-limiter/target/classes/application.yml
@@ -0,0 +1,25 @@
+server:
+ port: 8081
+spring:
+ cloud:
+ gateway:
+ routes:
+ - id: limit_route
+ uri: http://httpbin.org:80/get
+ predicates:
+ - After=2017-01-20T17:42:47.789-07:00[America/Denver]
+ filters:
+ - name: RequestRateLimiter
+ args:
+ key-resolver: '#{@hostAddrKeyResolver}'
+ redis-rate-limiter.replenishRate: 1
+ redis-rate-limiter.burstCapacity: 1
+ application:
+ name: gateway-limiter
+ redis:
+ host: localhost
+ port: 6379
+ database: 0
+
+
+
diff --git a/sc-f-gateway-limiter/target/classes/gateway/Application.class b/sc-f-gateway-limiter/target/classes/gateway/Application.class
new file mode 100644
index 000000000..08584493c
Binary files /dev/null and b/sc-f-gateway-limiter/target/classes/gateway/Application.class differ
diff --git a/sc-f-gateway-limiter/target/classes/gateway/HostAddrKeyResolver.class b/sc-f-gateway-limiter/target/classes/gateway/HostAddrKeyResolver.class
new file mode 100644
index 000000000..c086a3427
Binary files /dev/null and b/sc-f-gateway-limiter/target/classes/gateway/HostAddrKeyResolver.class differ
diff --git a/sc-f-gateway-limiter/target/classes/gateway/UriKeyResolver.class b/sc-f-gateway-limiter/target/classes/gateway/UriKeyResolver.class
new file mode 100644
index 000000000..84d074ba4
Binary files /dev/null and b/sc-f-gateway-limiter/target/classes/gateway/UriKeyResolver.class differ