Commit Graph

787 Commits

Author SHA1 Message Date
Guilherme Amaral 00a560bd00
test: Improve exception checking in SentinelAnnotationQuarkusAdapterTest (#2116) 2021-04-09 09:36:16 +08:00
drgnchan 2f90a87cab
feat: Fix typo in FlowRuleManager and improve code with Map.computeIfAbsent in MetricTimerListener (#2110) 2021-04-07 13:43:27 +08:00
drgnchan 5ac112efaa
dashboard: Remove unused code in dashboard MetricFetcher (#2104) 2021-04-01 09:46:08 +08:00
Eric Zhao 744be07a57 dashboard: Improve param validation in MachineRegistryController
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-03-23 10:46:01 +08:00
cdfive a79ef35847
example: Add separate demo for slot/slot chain SPI (#2085) 2021-03-19 17:24:43 +08:00
liqiangz 3e438b3dba
Support Redis cluster mode in Redis data-source extension (#1751) 2021-03-09 09:59:33 +08:00
brothelul 217cccd704
Add GitHub Actions CI workflow (#1992) 2021-03-09 09:47:53 +08:00
wxq 069f6182ab
dashboard: Improve support for customizing auth-related implementations (#2059)
* refactor(dashboard): use AuthConfiguration to manage the bean of auth
* refactor(dashboard): change AuthorizationInterceptor to an interface
* refactor(dashboard): change LoginAuthenticationFilter to an interface
* refactor(dashboard): use AuthProperties to manage auth config
* test(dashboard): use NoAuthConfigurationTest to create no auth configuration for testing
2021-03-08 18:32:22 +08:00
Yan Haonan 4aaf8e9093
Remove unused HotParameterLeapArray in param flow control module (#2070) 2021-03-08 10:52:25 +08:00
Yanming Zhou df871b0350
Simplify enums: reuse enum name and remove unnecessary code (#2032) 2021-03-04 11:56:02 +08:00
张春阳 3755d53498
doc: Fix incorrect comment of rollingCounterInSecond in StatisticNode (#2064) 2021-03-03 14:12:57 +08:00
wxq 16990a8595
doc: Add Sentinel website in README.md (#2054) 2021-02-27 13:37:10 +08:00
wxq d67d842da4
dashboard: Use delimiter '@' only in maven-resources-plugin config of dashboard pom (#2046)
`${user.home}` should be resolve in dashboard runtime, not in maven package goal
2021-02-25 09:23:04 +08:00
brothelul 09fa9c896e
dependency: Upgrade Netty to 4.1.48.Final in sentinel-cluster pom (#2015) 2021-02-23 19:05:29 +08:00
shenbaoyong 8025ef5934
Add sentinel-transport-spring-mvc module (#1957) 2021-02-23 17:11:37 +08:00
Slideee 77caaffd31
dependency: Bump spring-core version to 5.1.18.RELEASE in sentinel-zuul2-adapter pom (#2028) 2021-02-17 09:47:27 +08:00
ss-superman dfce6ebba4
Remove redundant code in SentinelResourceAspect (#2016) 2021-02-07 15:24:19 +08:00
Eric Zhao fca70646ad Bump version to 1.8.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 16:45:40 +08:00
Eric Zhao ae214b5244 Bump version to 1.8.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 15:30:44 +08:00
Eric Zhao 33570dad40 Polish SpiLoader and SentinelConfig
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 14:36:11 +08:00
Eric Zhao fefd8c4826 Use JDK 1.8 native LongAdder instead and remove legacy LongAdder
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 10:21:40 +08:00
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