Eric Zhao
346e9b274e
Bump version to 1.6.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-25 09:38:59 +08:00
Eric Zhao
b1345f751f
Bump version to 1.6.0 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-24 20:42:32 +08:00
Eric Zhao
7546bcc83b
Add basic demo for Sentinel Zuul adapter
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-24 17:55:40 +08:00
Eric Zhao
1baac7783d
Refactor and improve Sentinel Zuul Adapter
...
- Now the adapter is based-on sentinel-api-gateway-adapter-common and supports both proxyId and customized APIs
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-24 17:55:40 +08:00
Eric Zhao
540428bae0
Support getting and updating gateway rules and API groups via transport command
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-24 09:40:35 +08:00
kexianjun
4819675f84
dashboard: fix typo in SystemController ( #700 )
2019-04-24 09:23:49 +08:00
Eric Zhao
82578e1fdf
Refactor and improve fallback support for @SentinelResource annotation ( #693 )
...
- Refactor the semantics and logic for blockHandler and fallback
- Add `fallbackClass` support for fallback in global classes
- Add `defaultFallback` support
- Update test cases and demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-23 23:17:03 +08:00
Eric Zhao
268c5502ed
Update transport module to carry appName in heartbeat message
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-23 21:06:31 +08:00
Eric Zhao
bb4fde58b8
Add appType property field in SentinelConfig
...
- The `appType` can be retrieved from `csp.sentinel.app.type` field. It's useful to identify the service type (e.g. API gateway).
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-23 21:06:31 +08:00
Eric Zhao
845b258b61
Add demo for Sentinel Spring Cloud Gateway adapter
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-23 14:32:29 +08:00
Eric Zhao
0f875d89f3
Add Sentinel Spring Cloud Gateway adapter module and implementation
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-23 14:32:29 +08:00
Eric Zhao
faceb5f419
Add sentinel-api-gateway-adapter-common module for universal gateway rule and API definition management
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-23 14:32:29 +08:00
Eric Zhao
5f713bd404
Update toString() method of ParamFlowRule
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-22 14:46:38 +08:00
Eric Zhao
c316211faf
Add loadInstanceList support for SpiLoader
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-22 11:13:38 +08:00
Eric Zhao
e9719d32ec
Refactor flow algorithm for parameter flow control and support more traffic shaping mode ( #677 )
...
* support burst count, statistic interval per rule and throttling mode.
* Add fields in ParamFlowRule to support burst count, throttle, statistic interval per rule.
* Deprecate HotParamLeapArray and use token bucket algorithm directly.
2019-04-22 11:06:26 +08:00
yikangfeng
08611fae0f
Add exceptionsToIgnore configuration support in @SentinelResource annotation ( #683 )
2019-04-21 15:57:12 +08:00
zhaixiaoxiang
cb9335126c
test: Fix unstable test cases in OccupiableBucketLeapArrayTest ( #687 )
2019-04-20 22:28:38 +08:00
Eric Zhao
af126b0c8d
dashboard: improve login page and update related document
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-20 22:11:20 +08:00
cdfive
4acb907050
dashboard: Add a simple login page to support basic auth ( #659 )
...
- Add `AuthController` and `SimpleWebAuthServiceImpl`
- Update `AuthFilter`
- Add a simple login page and frontend interceptor to support auth check and session storage
2019-04-20 21:23:03 +08:00
Eric Zhao
7d344dcb95
Improve AbstractTimeBasedTest in sentinel-core
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-20 21:04:20 +08:00
Eric Zhao
030ec23736
Make CommandCenterProvider and HeartBeatSenderProvider choose the instance with highest precedence
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-17 14:47:09 +08:00
Eric Zhao
79211f055c
Add @SpiOrder annotation and update SPI loader for loading SPI with highest precedence
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-17 14:47:09 +08:00
Eric Zhao
df27e3ef9d
Code refactor and refinement for FileInJarReadableDataSource
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-15 17:02:24 +08:00
nick.ding
882a06007d
Add FileInJarReadableDataSource to support reading config file in jar ( #646 )
2019-04-15 12:06:34 +08:00
Jason Joo
359e65932c
dashboard: refinement and support HTTP POST request for update operations in SentinelApiClient ( #620 )
...
* Restructure: SentinelApiClient to support posting and refine it to make it simple
* Enhancement: SentinelVersion parsing logic
* Bug fix: comparison bug of SentinelVersion
2019-04-12 13:49:54 +08:00
jason
73f166e258
Make ClusterNodeTest.testGetOrCreateOriginNodeMultiThread stable
2019-04-12 10:42:08 +08:00
jason
16082a875c
Make WarmUpRateLimiterControllerTest stable
2019-04-12 10:42:08 +08:00
jason
aaeeea37e5
Feature: Make transport-netty-http/transport-simple-http support posting
2019-04-12 10:42:08 +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
Paul Kenneth Kent
4cc25429d3
Add unit tests for com.alibaba.csp.sentinel.util ( #651 )
...
* Add unit test for com.alibaba.csp.sentinel.util.IdUtil
* Add unit tests for com.alibaba.csp.sentinel.util.StringUtil
2019-04-09 09:14:51 +08:00
Eric Zhao
29f22e370b
Fix the NPE bug when passing null args to SphU.entry() and paramIdx is negative ( #642 )
...
- Also rearrangement of some code
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-04 09:40:23 +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
luoxiangnan
4b0960c942
dashboard: fix CountDownLatch wait timeout in MetricFetcher when machine is dead ( #645 )
2019-04-03 11:46:34 +08:00
Eric Zhao
5f20899e34
Update codecov conf file
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-02 11:34:35 +08:00
shxz130
3eb4a37744
doc: add blogs in awesome-sentinel.md ( #626 )
...
add blog address
2019-04-01 09:28:33 +08:00
Eric Zhao
015c87cfe1
Update demo for parameter flow control
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-28 19:37:36 +08:00
Eric Zhao
0c3bf96678
Bump version to 1.6.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-27 18:00:06 +08:00
Eric Zhao
4751b588ea
Update README.md
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-27 17:48:03 +08:00
Eric Zhao
48286e0ff8
Bump version to 1.5.1 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-27 15:23:11 +08:00
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>
2019-03-27 14:20:13 +08:00
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>
2019-03-27 14:20:13 +08:00
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>
2019-03-27 10:55:04 +08:00
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>
2019-03-27 10:54:27 +08:00
Eric Zhao
16d92b8821
dashboard: code rearrangement and javadoc refinement
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-26 14:44:41 +08:00
Eric Zhao
53a4e16144
Fix bug for completing entry with parameters in SentinelResourceAspect
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-26 12:53:39 +08:00
Eric Zhao
1d0b5fae6a
dashboard: use default console log format of Spring Boot
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-26 11:52:16 +08:00
zhousiliang163
12c67d4770
Improve ZookeeperDataSource to deal with bad connection when initializing ( #597 )
2019-03-25 14:32:55 +08:00
Eric Zhao
61c525076f
Improve SentinelResourceAspect and update test cases / document of annotation support
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-25 14:14:31 +08:00
beston123
6e1dfb374c
Add exceptionsToTrace configuration support in @SentinelResource annotation ( #543 )
2019-03-25 13:57:57 +08:00