Eric Zhao
5f20899e34
Update codecov conf file
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
shxz130
3eb4a37744
doc: add blogs in awesome-sentinel.md ( #626 )
add blog address
il y a 5 ans
Eric Zhao
015c87cfe1
Update demo for parameter flow control
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
0c3bf96678
Bump version to 1.6.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
4751b588ea
Update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
48286e0ff8
Bump version to 1.5.1 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
f59b134b3c
Add demo module for integration with Apache Dubbo 2.7.x and above version
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
0389974d2d
Add adapter module for Apache Dubbo 2.7.x and above
- copied legacy code and adapts to new package
- also update document for legacy Dubbo adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
d5204bb6a4
Ensure Error caught in InitExecutor and do not exit when error occurs in LogBase ( #613 )
to avoid affecting normal logic of users
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
7f29773a34
Update Dubbo version to 2.6.x in sentinel-dubbo-adapter and demo ( #617 )
because Dubbo 2.5.x will be deprecated soon
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
16d92b8821
dashboard: code rearrangement and javadoc refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
53a4e16144
Fix bug for completing entry with parameters in SentinelResourceAspect
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
1d0b5fae6a
dashboard: use default console log format of Spring Boot
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
zhousiliang163
12c67d4770
Improve ZookeeperDataSource to deal with bad connection when initializing ( #597 )
il y a 5 ans
Eric Zhao
61c525076f
Improve SentinelResourceAspect and update test cases / document of annotation support
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
beston123
6e1dfb374c
Add exceptionsToTrace configuration support in @SentinelResource annotation ( #543 )
il y a 5 ans
Eric Zhao
468327bdcd
Remove useless global NodeBuilder in Env class
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Carpenter Lee
7feaf709fc
Fix deadlock bug in Env static initialization ( #610 )
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
il y a 5 ans
Eric Zhao
f60394c651
Add test cases for sentinel-annotation-aspectj ( #581 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
lawrence wu
9051a6be96
Improve field naming in ApolloDataSource ( #593 )
il y a 5 ans
Eric Zhao
409d63347c
Update README.md and assets
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
cda4f7e13b
Update test dependency in pom.xml
il y a 5 ans
cdfive
6d1e7bcb7a
Add some unit test for sentinel-dubbo-adapter module ( #569 )
il y a 5 ans
Eric Zhao
21d436cae0
Fix pmd configuration in pom.xml
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Bo Zhang
a3369378ad
Apply Alibaba p3c pmd plugin/rules and fix/ignore all violations of priority 1 ( #574 )
il y a 5 ans
Eric Zhao
0d4c47b23e
Bump version to 1.5.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
053f7172a3
Bump version to 1.5.0 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
18cd27100a
dashboard: update frontend npm dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
1741da0bab
Automatically de-duplicate rules when loading rules ( #571 )
* De-duplicate rules automatically when loading rules
* Update rule managers
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
ae774dba61
dashboard: update machine list page
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Jason Joo
78c0dd8f86
transport: netty-http revert the default port to 80 of console.server and add unit test ( #567 )
il y a 5 ans
Eric Zhao
1a482b1d9f
doc: Update README for new adapter modules
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
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>
il y a 5 ans
Carpenter Lee
3c52bbc3c8
dashboard: Add interface of authentication/authorization and provide a default stub implementation ( #503 )
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
il y a 5 ans
Eric Zhao
4b1ccd93e2
Refactor Node interface: change return type of `xxxQps` method from long to double ( #564 )
- Update test cases (use assertEquals(e, a, delta) instead)
- Also add `totalPass` method in Node interface
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Carpenter Lee
63d7c9d207
Revert "Add more overload methods in SphO and SphO" to avoid ambiguous method call
This reverts commit 35371c1
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
il y a 5 ans
Carpenter Lee
35371c1a3c
Add more overload methods in SphO and SphO
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
il y a 5 ans
Eric Zhao
860e7eb16e
Update javadoc for CommandCenterProvider
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
efcd877714
Add integration test for SentinelWebFluxFilter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
0b8f1c5838
Add basic demo for Sentinel Spring WebFlux adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
d481014d8a
Add adapter module and implementation for Spring WebFlux
- The implementation leverages Sentinel Reactor Adapter. Two main components: SentinelWebFluxFilter and SentinelBlockExceptionHandler
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Carpenter Lee
341b6426f0
Record total inbound traffic data in metric file ( #555 )
- Regard the total inbound as a "virtual node" with the name `__total_inbound_traffic__`
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
il y a 5 ans
Eric Zhao
4073053b3a
Update javadoc for core classes
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Neptune
7367da6936
Upgrade apollo-client to 1.3.0 and add support for removing listener in sentinel-datasource-apollo ( #562 )
- Add to unsubscribe config change event
il y a 5 ans
Jason Joo
c7f3fd874c
dashboard: fix a request mapping issue of removing machines api ( #559 )
il y a 5 ans
Eric Zhao
775484ba61
Add try-with-resources support for Entry class ( #550 )
- `Entry` class now implements `AutoCloseable` so it supports try-with-resources (`close` method adapts to `exit`)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Eric Zhao
e857b5cef7
Reactive: add Sentinel Reactor adapter module ( #545 )
* Add reactive adapter implementation for Project Reactor (Mono/Flux) including a reactor transformer and an experimental `ReactorSphU`
* Add an `InheritableBaseSubscriber` that derives from the original BaseSubscriber of reactor-core
* Add basic test cases for reactor adapter
* Add Sentinel context enter support for EntryConfig in reactor transformer
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
il y a 5 ans
Carpenter Lee
b8e295a138
Convert negative paramIdx of ParamFlowRule in ParamFlowSlot
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
il y a 5 ans
yikangfeng
9ec1985755
Fix SimpleDateFormat concurrent issue in CspFormatter of sentinel-core ( #548 )
il y a 5 ans
Carpenter Lee
5279895581
Add highestCpuUsage in system rule.
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
il y a 5 ans