Eric Zhao
be2715d814
Update source/target JDK version to 1.8 and update documents
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 10:21:40 +08:00
叶枫
a1eed7032f
Remove unused code ( #1991 )
...
Remove unused code in DefaultBlockExceptionHandler#handle
2021-02-04 10:13:16 +08:00
Peine
fe59485fa9
Improve RocketMQ integration example ( #1757 )
...
- The demo was unable to run and stop because of missing namesrv configuration, and now fixed.
2021-02-03 09:46:56 +08:00
小明同学
bf83f058c8
dependency: Upgrade snakeyaml to 1.26 in sentinel-cluster-server-envoy-rls module ( #2003 )
...
Signed-off-by: LIU Ming <hit_oak_tree@126.com>
2021-02-03 09:26:06 +08:00
小明同学
bc4c21e48d
dependency: Upgrade fastjson to 1.2.75 ( #2006 )
...
Signed-off-by: LIU Ming <hit_oak_tree@126.com>
2021-02-02 20:24:06 +08:00
samuelxw
1f4614c0d4
Improve MetricFetcher under concurrent conditions ( #1918 )
2021-01-28 22:56:27 +08:00
brothelul
b7546c8111
dashboard: authFilterExcludeUrls supports matching path pattern like /xx/** ( #1971 )
2021-01-27 11:32:26 +08:00
cdfive
62efb78d4e
Refactor SpiLoader and enhance SPI mechanism ( #1383 )
...
* Add `@Spi` annotation as the general annotation for SPI definition.
* Add isDefault in @Spi, add loadDefaultInstance and improve loadFirstInstanceOrDefault method, improve test cases
* Add SpiLoaderException class for thrown when something goes wrong while loading Provider
* Rearrange packages of base SPI mechanism
NOTE: this PR contains breaking changes regarding API.
2021-01-27 09:45:56 +08:00
brothelul
a343873c81
Support setting flush interval of the metric log via SentinelConfig property ( #1919 )
2020-12-31 16:28:44 +08:00
zhangkai253
63aeb49c45
dashboard: Fix issue of memory leak in real-time monitoring page ( #1905 )
...
* Fix issue of memory leak in metric.js
2020-12-28 14:04:40 +08:00
Yu Chenglong
38d97b59bd
doc: Fix typo in README.md ( #1926 )
2020-12-21 19:46:17 +08:00
brothelul
b2502326cd
doc: Fix incorrect comment in FlowRuleComparator ( #1915 )
2020-12-18 14:54:54 +08:00
brothelul
70b457bdc8
Fix potential NPE bug when updating ParamFlowRule before the resource has been requested once ( #1901 )
2020-12-18 11:20:38 +08:00
polarbear567
82826fa886
Support both HTTP and HTTPS protocol heart beating to dashboard ( #1896 )
...
Apply to both simple-http and netty-http modules.
2020-12-16 09:34:40 +08:00
zhangxn
6719ceef65
Add Motan RPC adapter implementation ( #1825 )
2020-12-05 13:56:36 +08:00
zcai2
6f7d4d09e2
test: Fix potential flaky test cases in TracerTest ( #1859 )
2020-11-27 09:52:14 +08:00
Lynx
7920243dec
dashboard: Add statIntervalMs field in DegradeRule dialog ( #1781 )
2020-11-23 13:45:56 +08:00
Brent
699532efe3
[feat #1839 ]: Make dashboard support deploying under subpath ( #1851 )
2020-11-23 10:48:44 +08:00
odidev
8c4f251922
CI: Polish dependencies for ARM64 and add ARM64 job to Travis CI ( #1765 )
...
1. Added ARM64 architecture in .travis.yml
2. Updated 'embedded-consul' version to 2.2.0, 'consul-api' version to 1.4.5 for ARM64 support.
3. Updated grpc.version for 'io.grpc:protoc-gen-grpc-java' to 1.30.2, for ARM64 support.
Signed-off-by: odidev <odidev@puresoftware.com>
2020-11-09 14:40:58 +08:00
Lynx
6f2f844726
Fix the problem that requests will never be blocked when slowRatioThreshold = 100% ( #1779 )
2020-11-05 20:35:09 +08:00
王振广
9936b4da60
Improve default block fallback logic in Dubbo 2.6.x adapter to avoid serialization problem ( #1794 )
...
- convert BlockException to a simple RuntimeException (with necessary message)
2020-10-30 22:15:24 +08:00
Jason Joo
d510eb6cd3
test: Fix overrunning test `FlowRuleManagerTest.testLoadAndGetRules` ( #1823 )
...
Signed-off-by: Jason Joo <hblzxsj@163.com>
2020-10-29 14:22:36 +08:00
Weihua
c00f946813
Fix potential concurrency issue when updating flow rules ( #1783 )
2020-10-09 09:54:02 +08:00
Luke
55a8294ab0
Polish document and name of parameter ( #1738 )
...
- doc: Fix a typo in description of booting options for sentinel-dashboard
- Fix mismatched name of parameter to its comment for VersionUtils.parseVersion()
2020-09-17 21:06:24 +08:00
nickChenyx
cc2d1a69a9
Optimize logging statements using placeholder ( #1736 )
...
* Optimize logging statements using placeholder to avoid unnecessary concatenation (issue #1735 )
2020-09-17 20:42:01 +08:00
HelloCoCooo
7192bcfb5b
Fix the dependency conflict issue
2020-09-17 16:07:48 +08:00
Luke
398e5aa874
doc: Fix content in README.md of sentinel-dashboard ( #1737 )
2020-09-16 20:42:38 +08:00
yunfeiyanggzq
10e6e8dcf6
Add unit tests for cluster concurrent limiting checker
...
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
2020-09-16 11:42:59 +08:00
yunfeiyanggzq
6314caab80
Add basic cluster concurrency limiting impl in token server module
...
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
2020-09-16 11:41:18 +08:00
yunfeiyanggzq
473cc84262
Add concurrency token request/release operation in TokenService
...
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
2020-09-16 11:40:14 +08:00
yunfeiyanggzq
75f138821d
Add attributes of cluster concurrency limiting in ClusterFlowConfig
...
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
2020-09-16 11:38:58 +08:00
cj
34fc435ce5
Make NettyTransportClient.getCurrentId() thread safe ( #1707 )
...
Fix issue #1705 .
- Use CAS to make it thread safe and limited in the declared range.
Signed-off-by: cj <power4j@outlook.com>
2020-09-14 23:23:00 +08:00
dani3lWong
b7b54034cc
Fix NPE bug when updating gateway flow rules before the route/API has been requested once ( #1729 )
2020-09-14 10:03:58 +08:00
M4Y
b50ce662bd
Solve the URI fetching bug in sentinel-zuul-adapter #1109 ( #1605 )
...
Use `getRequestURI` instead of `getServletPath` to get URI of current request(Both in prefix and regex matching).
2020-09-14 01:46:07 +08:00
M4Y
10aa39f822
doc: Fix typo in code comments ( #1721 )
2020-09-10 22:59:45 +08:00
mikawudi
d5eb5f473f
Pre-calculate intervalInSecond in LeapArray to reduce redundant calculation ( #1700 )
2020-08-27 19:47:35 +08:00
ZhiQiang Gu
b91305a903
Fix typo in CircuitBreakingIntegrationTest ( #1688 )
...
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
2020-08-21 15:10:53 +08:00
Eric Zhao
e58267012d
Bump version to 1.8.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-21 14:36:49 +08:00
Eric Zhao
5e26ccc2c9
Update README.md
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-20 19:50:54 +08:00
Eric Zhao
d17bf8c7cc
Bump version to 1.8.0
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-20 19:47:20 +08:00
Jason Joo
656e3de2f9
Improve compatibility for dispatched servlet request in Spring Web adapter ( #1681 )
2020-08-20 11:25:03 +08:00
Eric Zhao
5905874dd8
Fix NPE bug and improve default fallback in Dubbo 2.7.x adapter
...
- Fix NPE bug in consumer filter (when non-biz error occurred)
- Improve default fallback in Dubbo 2.7.x adapter: convert the BlockException to a simple RuntimeException (with necessary message)
- Polish code and comments
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-20 10:22:07 +08:00
Eric Zhao
125996d4d1
Add RuntimeException converting method in BlockException and polish logic for validation
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-20 10:22:07 +08:00
liqiangz
113afab380
adapter: Add test cases for Spring WebFlux HandlerFunction ( #1678 )
2020-08-20 10:09:43 +08:00
cdfive
a1ce97677c
webmvc-adapter: improve to avoid ErrorEntryFreeException ( #1533 )
...
If entry already exists in request just skip creation.
2020-08-19 23:55:11 +08:00
Eric Zhao
bcbc19c772
Polish code and README.md of sentinel-datasource-eureka
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-19 10:46:43 +08:00
M4Y
197b7db440
Support customized origin parser in Apache Dubbo 2.7.x adapter and unify config ( #1617 )
...
* Support customized origin parser in Apache Dubbo 2.7.x adapter
* Unify Dubbo callback registry (for fallback and origin parser) into DubboAdapterGlobalConfig
* Polish default fallback implementation (wrap exception with RpcResult rather than directly throw it out)
2020-08-19 10:31:40 +08:00
Eric Zhao
a88288715a
Refactor extended MetricExtension interface (matching events in Sentinel)
...
- Unify the extended interface as a few event handlers: onPass, onBlocked, onComplete and onError
- Polish related code
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-19 10:23:20 +08:00
Eric Zhao
58ff01e39b
Polish Dubbo 2.6.x adapter and unify callback registry into DubboAdapterGlobalConfig ( #1572 )
...
* Unify Dubbo callback registry (for fallback and origin parser) into DubboAdapterGlobalConfig
* Polish default fallback implementation (wrap exception with RpcResult rather than directly throw it out)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-19 10:09:24 +08:00
Eric Zhao
5334f51d21
dashboard: Refactor degrade service/controller and adapt to new features
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-08-18 20:34:03 +08:00