Commit Graph

500 Commits

Author SHA1 Message Date
Eric Zhao 9705f54611 Bump version to 1.7.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-12 11:08:14 +08:00
Eric Zhao d45ceb06dc Update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-12 10:20:46 +08:00
Eric Zhao 8cdf1de854 Bump version to 1.7.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-11 21:12:58 +08:00
Eric Zhao 275041403d Update resource classification in SentinelWebFluxFilter and improve reactor EntryConfig
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-11 19:31:48 +08:00
Eric Zhao 9c268bd89a Add Docker/k8s sample for Sentinel RLS token server and update document
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-11 18:37:55 +08:00
tao.zhang 73188b46b7 Fix the bug that the Zuul adapter does not exit the entry with parameters (#1148) 2019-11-08 22:27:59 +08:00
Eric Zhao ff5c010a51 Fix flowId offset bug in EnvoySentinelRuleConverter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-07 12:46:33 +08:00
Eric Zhao b66680be87
Add Sentinel Envoy RLS server implementation (#1139)
* Add the sentinel-cluster-server-envoy-rls module, a Envoy RLS server implementation using Sentinel token server.

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-06 21:48:38 +08:00
Eric Zhao d38d5484ef Remove redundant entry in Web servlet CommonFilter and update entry classification
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-06 21:00:08 +08:00
Eric Zhao 800f6b9d65 Update adapter modules to update corresponding resource classification
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-06 21:00:08 +08:00
Eric Zhao 086a6b0370 Support resource classification in Reactor adapter module and polish SC Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-06 21:00:08 +08:00
Eric Zhao 6bb2de8750 Support classification for Sentinel resources
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-06 21:00:08 +08:00
Eric Zhao 9d514d5036 Improve CommonFilter and WebServletConfig in Sentinel Web Servlet adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-06 15:28:37 +08:00
于玉桔 b6c2979cee Update doc for the `HTTP_METHOD_SPECIFY` property item (#1091) 2019-11-06 15:20:43 +08:00
李火亮 7c2c137f6f Improve empty parentId handling logic in FetchJsonTreeCommandHandler (#1140)
- Treat as root node when parentId is empty string in FetchJsonTreeCommandHandler
2019-11-06 13:25:24 +08:00
于玉桔 a451d4bbac Support customized block page HTTP status in sentinel-web-servlet-adapter (#1112)
* Return canonical status 429 in the default block handler of sentinel-web-servlet-adapter.
* Add a `csp.sentinel.web.servlet.block.page.http.status` property to support customized block status configuration.
2019-11-06 10:42:50 +08:00
Eric Zhao cf5b955f12 Improve AssertUtil for collection checking
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-05 17:51:56 +08:00
ballenwen f6dff5a859 Fix typo in the README.md of sentinel-annotation-aspectj (#1136) 2019-11-02 01:16:37 +08:00
Eric Zhao fc6ad47438 Update awesome-sentinel.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-10-31 10:16:38 +08:00
dependabot[bot] 3b5823987c Bump netty-all version in sentinel-demo-dubbo to fix vulnerability (#1130)
Bumps [netty-all](https://github.com/netty/netty) from 4.1.31.Final to 4.1.42.Final.

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-31 09:48:17 +08:00
format 6cf0945b86 Upgrade nacos-client to 1.1.4 in sentinel-datasource-nacos module (#1129) 2019-10-31 09:31:29 +08:00
Eric Zhao 74a40aa285
Improve Node and Metric interface to support conditional metric retrieval (#1115)
* Add detailsOnCondition method in Metric interface to filter MetricNode within the time condition.
* Add rawMetricsInMin method in Node interface, which will retrieve and generate metric items from the min-level sliding window on condition.
* Add test cases for detailsOnCondition.

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-10-25 16:03:07 +08:00
于玉桔 f0e3348caf Add init parameter to support unifying web context name in Sentinel Web CommonFilter (#1111) 2019-10-24 23:24:00 +08:00
Eric Zhao b05502f8c2
Fix hookOnCancel handing logic in SentinelReactorSubscriber (#1089)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-10-23 19:35:14 +08:00
Eric Zhao b0905547ff Use ServiceLoaderUtil to create SPI ServiceLoader
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-10-23 19:20:53 +08:00
Eric Zhao 8d5654f727 Add ServiceLoaderUtil to improve SPI classloader mechanism and update SpiLoader
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-10-23 19:20:53 +08:00
wangyb dbf1f97dde Fix the cluster rule checking logic in FlowRuleUtil#checkClusterField() (#1105) 2019-10-22 20:28:21 +08:00
Neptune b1c8c43bbe Upgrade Apollo client version to 1.5.0 in sentinel-datasource-apollo module (#1098) 2019-10-21 10:00:06 +08:00
Eric Zhao 826447bc82
Fix the bug that resource name displayed in ClusterNode-related command APIs for SphU.entry(method) is incorrect (#1078)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-10-11 15:15:07 +08:00
Eric Zhao 94026399bf Improve code and document of sentinel-datasource-etcd module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-10-10 11:42:24 +08:00
Lin.Liang aeae6cfe37 Add Etcd data-source extension (#1018) 2019-10-10 11:19:27 +08:00
于玉桔 cdd8d6ff6c Support URL exclusion using UrlCleaner in Spring WebFlux adapter (#1049) 2019-10-08 14:14:35 +08:00
jingnan c505ca8aa5 Support registering writable data-source for GatewayFlowRule and customized ApiDefinition (#1057) 2019-09-23 12:37:58 +08:00
windWheel 4e55a6a749 Optimize the slot order in DefaultSlotChainBuilder (#1056) 2019-09-23 09:45:22 +08:00
Neptune 582f32c35b Update Apollo client dependency to 1.4.0 in sentinel-datasource-apollo module (#1061) 2019-09-21 22:25:49 +08:00
于玉桔 c33ed81e5b doc: update UrlCleaner description in sentinel-web-servlet README.md (#1051) 2019-09-20 18:45:24 +08:00
tao.zhang 77932701b6 Add volatile for the stop flag of watcher in ConsulDataSource (#1054) 2019-09-20 15:30:03 +08:00
Eric Zhao 8b40981fca
Improve SystemRuleManager and refactor checking logic of maxCpuUsage strategy (#1050)
- The BBR period for maxCpuUsage strategy is deprecated. Now Sentinel will just check the CPU usage value, which could avert surge of CPU usage quickly
- Improve SystemRuleManager and SystemStatusListener
- Add some test cases

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-09-19 16:36:12 +08:00
Eric Zhao 9ff6e47bb0
Add concrete exception message in AsyncEntry#cleanCurrentEntryInLocal (#1047)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-09-19 09:38:07 +08:00
Roshi 4d9a5ef7f9 Update fastjson version to 1.2.60 (#1045) 2019-09-16 10:35:37 +08:00
Eric Zhao 6f5ede80ae dashboard: fix vulnerability of bypassing AuthFilter ACL control
- credit to anonymous reporter :)

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-09-11 22:29:01 +08:00
于玉桔 4c0e35fddd dashboard: Add version info in the left top of dashboard 2019-08-29 20:34:15 +08:00
huangxfchn 4916ec35ee Improve annotation aspect to support throwing original exception in fallback and blockHandler (#986)
- extract the original exception from InvocationTargetException
2019-08-28 22:42:02 +08:00
于玉桔 1253471078 Code refinement for JDK-picked classes (#1014) 2019-08-26 22:34:28 +08:00
于玉桔 820ff9233a dashboard: Support configuration for disabling login (#997) 2019-08-26 10:54:27 +08:00
cookiejoo 6d0bffbed2 doc: Update awesome-sentinel.md (#1009)
- Add a blog post of dashboard integration with Apollo
2019-08-22 13:59:17 +08:00
Eric Zhao 976ddf8c48 Refine the document and javadoc for Spring Cloud Config data-source module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-08-20 10:04:58 +08:00
Lin.Liang 30158bcac0 Add Spring Cloud Config data source extension (#899) 2019-08-20 09:39:27 +08:00
chenledong c8df7e7456 Improve RT statistic and exception tracing in Sentinel gRPC adapter (#995) 2019-08-16 17:40:11 +08:00
Lin.Liang 39293c118b Support adding prefix to Dubbo service resource name in Sentinel Dubbo Adapter (#859) 2019-08-14 23:02:52 +08:00