于玉桔
4c0e35fddd
dashboard: Add version info in the left top of dashboard
5 years ago
huangxfchn
4916ec35ee
Improve annotation aspect to support throwing original exception in fallback and blockHandler ( #986 )
- extract the original exception from InvocationTargetException
5 years ago
于玉桔
1253471078
Code refinement for JDK-picked classes ( #1014 )
5 years ago
于玉桔
820ff9233a
dashboard: Support configuration for disabling login ( #997 )
5 years ago
cookiejoo
6d0bffbed2
doc: Update awesome-sentinel.md ( #1009 )
- Add a blog post of dashboard integration with Apollo
5 years ago
Eric Zhao
976ddf8c48
Refine the document and javadoc for Spring Cloud Config data-source module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Lin.Liang
30158bcac0
Add Spring Cloud Config data source extension ( #899 )
5 years ago
chenledong
c8df7e7456
Improve RT statistic and exception tracing in Sentinel gRPC adapter ( #995 )
5 years ago
Lin.Liang
39293c118b
Support adding prefix to Dubbo service resource name in Sentinel Dubbo Adapter ( #859 )
5 years ago
Eric Zhao
e71d036794
Fix test failure in sentinel-grpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
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>
5 years ago
Mr.Z
b2ff4b719b
Fix the bug of wrong RT and exception tracing in sentinel-grpc-adapter ( #291 )
5 years ago
tao.zhang
ec30e897dc
Add Consul DataSource integration module ( #979 )
5 years ago
changxing.yu
17365f3d5f
Fix the bug of getting the wrong current flow QPS in ClusterFlowChecker ( #972 )
5 years ago
aq0706
56c73698cb
Support reading files with customized charset in ConfigUtil ( #961 )
5 years ago
0704681032
ebcf89024c
Remove duplicate "exceptionBelongsTo" check in SentinelResourceAspect ( #964 )
5 years ago
Eric Zhao
a0f13bad38
dashboard: update dependencies in package.json to fix frontend vulnerabilities
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Lin.Liang
88b5631d1f
dashboard: fix AuthorityRuleEntity and ParamFlowRuleEntity fastjson serialize problem ( #889 )
* Add @JsonIgnore annotation
5 years ago
coco
78f69bbce3
Upgrade fastjson dependency to 1.2.58 ( #950 )
5 years ago
Eric Zhao
253a992cb8
Update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
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>
5 years ago
Eric Zhao
103fa307e5
Add Ordered support for Spring Cloud Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
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>
5 years ago
Eric Zhao
e50be35a9d
dashboard: code and frontend style refinement for #927 and #869
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
田阳
5e85965754
dashboard: fix the problem that dashboard could not correctly display the SystemRule in CPU usage strategy ( #927 )
5 years ago
Eric Zhao
d19df2aadc
Polish awesome-sentinel.md and add slides of Dubbo Tech Day ( #936 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
lym-ifae
7dd20dd202
Add support for excluding some URLs in Web Servlet CommonFilter ( #914 )
5 years ago
Lin.Liang
61c8397e48
Fix temp file problem in log test cases ( #908 )
5 years ago
Lin.Liang
326dd4434d
Fix the compatibility problem of ConfigUtil for Windows environment ( #903 )
5 years ago
Eric Zhao
4a9543fd1f
dashboard: improvements for gateway flow control pages
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
cdfive
856ff312e9
dashboard: add support for managing gateway flow rules ( #699 )
5 years ago
cdfive
eda7fdc5c8
Add parse method for parse ApiPredicateItem from json string in UpdateGatewayApiDefinitionGroupCommandHandler
5 years ago
cdfive
817a41d996
doc: add a blog link about building front-end development environment of dashboard in awesome-sentinel.md
5 years ago
Eric Zhao
90662a423b
Code refinement for Sentinel config classes
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Lin.Liang
ff33de199a
Support arbitrary configuration properties file path for Sentinel ( #804 )
- Support customized log and configuration properties directory
5 years ago
yidadi
c14e3296cb
Refine the methods and variable name in SlotChainProvider ( #871 )
5 years ago
Lin.Liang
ba146765e3
Reuse connections of the same address in ZooKeeper data-source ( #788 )
* Fix the problem that too many connections (zkClient) are established
5 years ago
Braavos
dca4440d40
Add unit tests for com.alibaba.csp.sentinel.eagleeye.EagleEyeCoreUtils ( #854 )
5 years ago
Eric Zhao
66b9198fc3
dashboard: update dependencies in package.json to fix vulnerabilities
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
58a83b42aa
Update ZooKeeper client in data-source module to 3.4.14 to fix vulnerability
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
cdfive
8661d9abc1
Add support for logging into console for common logs ( #836 )
* Add a ConsoleHandler to support logging into stdout and stderr.
* Add a `csp.sentinel.log.output.type` property to configure for output type of record logs (only a temporary design)
* Add millisecond to the format of CspFormatter
5 years ago
Eric Zhao
7997cf65fc
Fix the numeric overflow bug of ping response data in the cluster module ( #844 )
- Change type of cluster ping data response from byte to int. This change is compatible with old versions
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
56e463e1fe
Add support for request item pattern matching in API gateway flow control ( #842 )
- Update the `GatewayParamParser` to support matching the request item.
- Update the internal logic of converting gateway rules to parameter flow rules. The unified mismatched parameters (`SentinelGatewayConstants.GATEWAY_NOT_MATCH_PARAM`) will be configured as an exception item with a large threshold (indicating always pass).
- Add a `GatewayRegexCache` to cache the compiled regex for performance.
- Constant rename: separate URL matching strategy from parameter matching strategy
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
d59beaec66
Fix the bug that numeric overflow might occur when refilling tokens in ParamFlowChecker ( #838 )
- use AtomicLong to replace AtomicInteger
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
eb7508ca80
Improve the edit dialog for FlowRule and ParamFlowRule in Sentinel dashboard ( #845 )
* dashboard: update edit dialog for FlowRule and ParamFlowRule
- Add duration configuration support for ParamFlowRule
- Some other enhancements
* Code polish: move implementation of toRule() to AbstractRuleEntity
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
00f116e344
Refine the DegradeRule and add validating logic for the two new attributes
- improvement of #789
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Jason Joo
254ccbbdc5
doc: Update README.md with the new metric log writing format ( #840 )
5 years ago
Eric Zhao
08676c4f6e
Support parsing cookie as request items in gateway flow control ( #814 )
- Add `getCookieValue` method in RequestItemParser interface and update GatewayParamParser
- Add cookie parsing logic for Spring Cloud Gateway and Zuul
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Lin.Liang
2eecd3ac6a
Make the value of RT_MAX_EXCEED_N in DegradeRule configurable ( #789 )
- Add two attributes in DegradeRule: rtSlowRequestAmount and minRequestAmount
5 years ago
Lin.Liang
e6e27c6faa
Make maxParamByteSize configurable in ParamFlowRequestDataWriter of cluster client module and fix bugs ( #823 )
5 years ago