brothelul
09fa9c896e
dependency: Upgrade Netty to 4.1.48.Final in sentinel-cluster pom ( #2015 )
před 3 roky
Eric Zhao
fca70646ad
Bump version to 1.8.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 3 roky
Eric Zhao
ae214b5244
Bump version to 1.8.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 3 roky
Eric Zhao
fefd8c4826
Use JDK 1.8 native LongAdder instead and remove legacy LongAdder
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 3 roky
Eric Zhao
be2715d814
Update source/target JDK version to 1.8 and update documents
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 3 roky
小明同学
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>
před 3 roky
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.
před 3 roky
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>
před 4 roky
nickChenyx
cc2d1a69a9
Optimize logging statements using placeholder ( #1736 )
* Optimize logging statements using placeholder to avoid unnecessary concatenation (issue #1735 )
před 4 roky
yunfeiyanggzq
10e6e8dcf6
Add unit tests for cluster concurrent limiting checker
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
před 4 roky
yunfeiyanggzq
6314caab80
Add basic cluster concurrency limiting impl in token server module
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
před 4 roky
yunfeiyanggzq
473cc84262
Add concurrency token request/release operation in TokenService
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
před 4 roky
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>
před 4 roky
Eric Zhao
e58267012d
Bump version to 1.8.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 4 roky
Eric Zhao
d17bf8c7cc
Bump version to 1.8.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 4 roky
cj
dbbed35cc4
Remove unused code in TokenServerHandler#channelActive ( #1667 )
Signed-off-by: cj <power4j@outlook.com>
před 4 roky
ZhiQiang Gu
17c3ff7a44
test: Add unit test for sentinel-cluster-server and polish code ( #1529 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
před 4 roky
ZhiQiang Gu
c7949f5f4e
Fix incorrect protocol description in FlowRequestData writer/decoder ( #1607 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
před 4 roky
ZhiQiang Gu
a1e3715db1
Add unit test for cluster/FlowResponseDataDecoder ( #1514 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
před 4 roky
Eric Zhao
a0196b6b00
Bump version to 1.8.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 4 roky
Eric Zhao
6a7ec708bc
Bump version to 1.7.2
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 4 roky
Eric Zhao
d8f6480e64
doc: Polish README.md of sentinel-cluster-server-envoy-rls module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 4 roky
Jason Joo
b715ceacf0
Fix CI failure in JDK 11 environment ( #1360 )
* Supplement missing javax.annotation-api to sentinel-cluster-server-envoy-rls and sentinel-demo-zuul2-gateway
* Upgrade mockito-core to 2.28.2 (up to date)
před 4 roky
Eric Zhao
eed77cafc2
Polish placeholders in logging content to slf4j convention ( #1342 )
* Polish placeholders in logging content to "{}"
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 4 roky
Eric Zhao
87142ce512
Bump version to 1.7.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 4 roky
Eric Zhao
9c909e3631
Bump version to 1.7.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 4 roky
Eric Zhao
9705f54611
Bump version to 1.7.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
8cdf1de854
Bump version to 1.7.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
9c268bd89a
Add Docker/k8s sample for Sentinel RLS token server and update document
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
ff5c010a51
Fix flowId offset bug in EnvoySentinelRuleConverter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
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>
před 5 roky
Eric Zhao
b0905547ff
Use ServiceLoaderUtil to create SPI ServiceLoader
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
changxing.yu
17365f3d5f
Fix the bug of getting the wrong current flow QPS in ClusterFlowChecker ( #972 )
před 5 roky
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>
před 5 roky
Lin.Liang
e6e27c6faa
Make maxParamByteSize configurable in ParamFlowRequestDataWriter of cluster client module and fix bugs ( #823 )
před 5 roky
Eric Zhao
f8ebbbccf4
Bump version to 1.7.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
3d2c33ef1d
Bump version to 1.6.1 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
346e9b274e
Bump version to 1.6.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
b1345f751f
Bump version to 1.6.0 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
0c3bf96678
Bump version to 1.6.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
48286e0ff8
Bump version to 1.5.1 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Bo Zhang
a3369378ad
Apply Alibaba p3c pmd plugin/rules and fix/ignore all violations of priority 1 ( #574 )
před 5 roky
Eric Zhao
0d4c47b23e
Bump version to 1.5.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
053f7172a3
Bump version to 1.5.0 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
044cdbb1bf
Add occupy mechanism for future buckets of sliding window to support "prioritized requests final pass" ( #568 )
* Rename: MetricsLeapArray -> BucketLeapArray
* Add implementation for `FutureBucketLeapArray`, a kind of `BucketLeapArray` that only reserves for future buckets, which is used for calculating occupied future tokens.
* Add OccupiableBucketLeapArray that combines common BucketLeapArray with FutureBucketLeapArray. The rollingNumberInSecond in StatisticNode now uses OccupiableBucketLeapArray by default.
* Add OccupySupport interface. Node now implements OccupySupport interface.
* Add occupy-related methods in Metric and ArrayMetric.
* Handle prioritized requests in default traffic shaping controller.
* Update default occupyTimeout to 500ms
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
逅弈
59d923ebc1
Add an ApiCommandHandler to list all available commands and description ( #491 )
* Add a ApiCommandHandler which fetch all registered CommandHandlers so that user can get all available CommandHandlers by request /api
* Add a customized CommandHandler demo
před 5 roky
Eric Zhao
094ba3bfba
Carry appName in FetchClusterServerInfo command
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
5b260a9f75
Bump version to 1.5.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
2e0fe23384
Bump version to 1.4.2 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky
Eric Zhao
f7c08df5c1
Fix bug of calculating param size and amount in ParamFlowRequestDataWriter of Sentinel cluster ( #495 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
před 5 roky