Commit Graph

9 Commits

Author SHA1 Message Date
Eric Zhao 275041403d Update resource classification in SentinelWebFluxFilter and improve reactor EntryConfig
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-11 19:31:48 +08:00
Eric Zhao 086a6b0370 Support resource classification in Reactor adapter module and polish SC Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-06 21:00:08 +08:00
Eric Zhao b05502f8c2
Fix hookOnCancel handing logic in SentinelReactorSubscriber (#1089)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-10-23 19:35:14 +08:00
Eric Zhao 0508c92665
Fix the bug that parameters are not carried when exiting entries in SentinelReactorSubscriber 2019-05-10 14:47:18 +08:00
Eric Zhao b02ef82c62 Add constructor for EntryConfig in sentinel-reactor-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-11 17:11:52 +08:00
Eric Zhao fc550343c7 Support passing parameters via SentinelReactorTransformer
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-04 09:36:04 +08:00
Eric Zhao afc77c2b3e Fix the bug that entry in SentinelReactorSubscriber did not carry expected entry type
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-04 09:36:04 +08:00
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>
2019-03-13 22:10:20 +08:00
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>
2019-03-08 09:43:06 +08:00