Commit Graph

470 Commits

Author SHA1 Message Date
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
Eric Zhao e71d036794 Fix test failure in sentinel-grpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-08-14 20:43:30 +08:00
Eric Zhao 2682bd1aae Improve ConsulDataSource and add README.md for the module
- Change the unit of waitTimeout from ms to s (the previous implementation lay suffer the bug that ms/1000=0 when ms<=1000)
- Improve the error handling when parsing the value
- Add README.md

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-08-14 20:34:34 +08:00
Mr.Z b2ff4b719b Fix the bug of wrong RT and exception tracing in sentinel-grpc-adapter (#291) 2019-08-14 17:04:36 +08:00
tao.zhang ec30e897dc Add Consul DataSource integration module (#979) 2019-08-14 10:38:57 +08:00
changxing.yu 17365f3d5f Fix the bug of getting the wrong current flow QPS in ClusterFlowChecker (#972) 2019-08-12 13:47:15 +08:00
aq0706 56c73698cb Support reading files with customized charset in ConfigUtil (#961) 2019-08-08 15:14:36 +08:00
0704681032 ebcf89024c Remove duplicate "exceptionBelongsTo" check in SentinelResourceAspect (#964) 2019-08-05 13:39:50 +08:00
Eric Zhao a0f13bad38 dashboard: update dependencies in package.json to fix frontend vulnerabilities
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-08-03 15:41:11 +08:00
Lin.Liang 88b5631d1f dashboard: fix AuthorityRuleEntity and ParamFlowRuleEntity fastjson serialize problem (#889)
* Add @JsonIgnore annotation
2019-07-31 23:05:08 +08:00
coco 78f69bbce3 Upgrade fastjson dependency to 1.2.58 (#950) 2019-07-31 13:41:45 +08:00
Eric Zhao 253a992cb8 Update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-30 09:53:45 +08:00
Eric Zhao 37e78e511d
Use the unified context name instead in Web Servlet filter and code improvement (#944)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-29 14:40:59 +08:00
Eric Zhao 103fa307e5 Add Ordered support for Spring Cloud Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-25 15:21:22 +08:00
Eric Zhao fb31bb8d4d Fix the empty value matching bug in GatewayParamParser of API gateway adapter common module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-25 15:21:22 +08:00
Eric Zhao e50be35a9d dashboard: code and frontend style refinement for #927 and #869
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-23 23:16:51 +08:00
田阳 5e85965754 dashboard: fix the problem that dashboard could not correctly display the SystemRule in CPU usage strategy (#927) 2019-07-23 22:21:54 +08:00
Eric Zhao d19df2aadc Polish awesome-sentinel.md and add slides of Dubbo Tech Day (#936)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-22 23:27:25 +08:00
lym-ifae 7dd20dd202 Add support for excluding some URLs in Web Servlet CommonFilter (#914) 2019-07-16 17:54:27 +08:00
Lin.Liang 61c8397e48 Fix temp file problem in log test cases (#908) 2019-07-16 09:41:44 +08:00
Lin.Liang 326dd4434d Fix the compatibility problem of ConfigUtil for Windows environment (#903) 2019-07-10 19:21:13 +08:00
Eric Zhao 4a9543fd1f dashboard: improvements for gateway flow control pages
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-10 10:14:11 +08:00
cdfive 856ff312e9 dashboard: add support for managing gateway flow rules (#699) 2019-07-10 09:37:00 +08:00
cdfive eda7fdc5c8 Add parse method for parse ApiPredicateItem from json string in UpdateGatewayApiDefinitionGroupCommandHandler 2019-07-10 09:37:00 +08:00
cdfive 817a41d996 doc: add a blog link about building front-end development environment of dashboard in awesome-sentinel.md 2019-07-10 09:37:00 +08:00
Eric Zhao 90662a423b Code refinement for Sentinel config classes
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-07-08 23:06:07 +08:00
Lin.Liang ff33de199a Support arbitrary configuration properties file path for Sentinel (#804)
- Support customized log and configuration properties directory
2019-07-08 19:06:54 +08:00
yidadi c14e3296cb Refine the methods and variable name in SlotChainProvider (#871) 2019-06-27 16:50:43 +08:00
Lin.Liang ba146765e3 Reuse connections of the same address in ZooKeeper data-source (#788)
* Fix the problem that too many connections (zkClient) are established
2019-06-27 13:39:56 +08:00
Braavos dca4440d40 Add unit tests for com.alibaba.csp.sentinel.eagleeye.EagleEyeCoreUtils (#854) 2019-06-24 09:28:08 +08:00
Eric Zhao 66b9198fc3 dashboard: update dependencies in package.json to fix vulnerabilities
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-06-19 10:34:22 +08:00