Eric Zhao
e4769293dc
Move CommandCenterLog to sentinel-transport-common and polish related code ( #1341 )
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-03-16 22:30:29 +08:00
Eric Zhao
22df09b427
Polish code of transport command centers and heartbeat senders
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2020-03-14 20:13:21 +08:00
Jason Joo
05e3caf618
Fix the parsing issue in large post request for sentinel-transport-simple-http ( #1255 )
2020-03-13 11:15:45 +08:00
Lin.Liang
72bfe870cb
Improve the logs when the heartbeat response indicates failure ( #1303 )
2020-03-04 23:38:53 +08:00
Jason Joo
cd1d9be0ea
refactor: Migrate the console server's specifying logic into sentinel-transport-common ( #926 )
2020-02-24 22:45:59 +08:00
mantuliu
f3b1b126c8
Improve singleton logic in SendMetricCommandHandler ( #1294 )
2020-02-19 19:38:24 +08:00
Eric Zhao
87142ce512
Bump version to 1.7.2-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-25 11:19:07 +08:00
Eric Zhao
9c909e3631
Bump version to 1.7.1
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-24 20:05:23 +08:00
Eric Zhao
f6badb0622
Improve logs in HttpEventTask of sentinel-transport-simple-http module
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-23 19:11:28 +08:00
zhenxianyimeng
50f3080add
Fix content-type parsing bug in transport module and support UTF-8 encoding in SentinelApiClient ( #1207 )
...
* Fix content-type parsing bug in `sentinel-transport-simple-http` module
* Change the charset of UrlEncodedFormEntity to UTF-8 in SentinelApiClient of the dashboard to support non-ASCII characters
2019-12-19 20:50:20 +08:00
Eric Zhao
9d02e84674
Improve logic for configuring the heartbeat API path in TransportConfig
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-12-10 10:54:41 +08:00
nick.tan
9beb655b42
Support configuration for the heartbeat API path in transport module ( #515 )
2019-12-10 10:25:00 +08:00
Eric Zhao
9705f54611
Bump version to 1.7.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-12 11:08:14 +08:00
Eric Zhao
8cdf1de854
Bump version to 1.7.0
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-11-11 21:12:58 +08:00
Eric Zhao
b0905547ff
Use ServiceLoaderUtil to create SPI ServiceLoader
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-10-23 19:20:53 +08:00
cdfive
e810ab849e
Fix multiple slash command name issue in sentinel-transport-netty-http module ( #817 )
2019-06-12 09:36:25 +08:00
Eric Zhao
f8ebbbccf4
Bump version to 1.7.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-05-25 15:07:19 +08:00
Eric Zhao
3d2c33ef1d
Bump version to 1.6.1 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-05-23 09:49:15 +08:00
Carpenter Lee
18d8b4c8a7
Add CPU usage and system load to metric ( #749 )
...
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
2019-05-10 14:20:00 +08:00
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
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
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
jason
aaeeea37e5
Feature: Make transport-netty-http/transport-simple-http support posting
2019-04-12 10:42:08 +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
48286e0ff8
Bump version to 1.5.1 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-27 15:23:11 +08:00
Bo Zhang
a3369378ad
Apply Alibaba p3c pmd plugin/rules and fix/ignore all violations of priority 1 ( #574 )
2019-03-15 09:24:39 +08:00
Eric Zhao
0d4c47b23e
Bump version to 1.5.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 16:50:53 +08:00
Eric Zhao
053f7172a3
Bump version to 1.5.0 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 15:33:57 +08:00
Jason Joo
78c0dd8f86
transport: netty-http revert the default port to 80 of console.server and add unit test ( #567 )
2019-03-14 10:25:01 +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
860e7eb16e
Update javadoc for CommandCenterProvider
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-11 20:49:29 +08:00
cdfive
61fede3827
Add a CommandCenterProvider to resolve and cache the CommandCenter instance ( #409 )
2019-03-04 17:34:41 +08:00
Eric Zhao
ed5ecd8580
Update command handler demo and code refinement
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-01 13:56:55 +08:00
逅弈
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
2019-03-01 13:39:50 +08:00
Eric Zhao
5b260a9f75
Bump version to 1.5.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-02-21 19:41:50 +08:00
Eric Zhao
2e0fe23384
Bump version to 1.4.2 (release)
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-02-20 14:15:33 +08:00
Eric Zhao
d4d85dbc7c
Bump version to 1.4.2-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 19:08:07 +08:00
Eric Zhao
225d81ed93
Bump version to 1.4.1
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:59:50 +08:00
Eric Zhao
25e96a8cd3
Improve cluster state manager
...
- Support stop cluster mode (`NOT-STARTED` mode)
- Fix bug when updating cluster state via command API (should modify via state property)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-01-04 14:09:29 +08:00
cdfive
4fbccd879b
Add some unit test for sentinel-transport-netty-http module ( #321 )
2018-12-26 16:08:04 +08:00
Eric Zhao
d3bbe290c2
Refinement for heartbeat logic in sentinel-transport related module ( #312 )
...
- Code refinement for heartbeat component in transport related module
- Add remove support of `SentinelConfig`
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-24 18:03:31 +08:00
Eric Zhao
d88ffcd697
Small improvements for `sentinel-transport`
...
- Modify the init order of command center init func to -1 (prioritized than before)
- Add CommandConstants for common use
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-18 21:13:07 +08:00
Eric Zhao
9916dad403
Bump version to 1.4.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-17 10:23:19 +08:00
Carpenter Lee
84934b8679
Catch Throwable rather than Exception when sending heartbeat.
...
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
2018-12-15 09:05:28 +08:00
Eric Zhao
c7b5653249
Bump version to 1.4.0
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 14:59:27 +08:00
Eric Zhao
465b44b7e7
Merge branch 'master' into feature/cluster-flow-control
2018-12-14 10:58:20 +08:00
Eric Zhao
2735954afd
Update cluster related command APIs and some enhancement and fix for cluster module
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:54:30 +08:00
Eric Zhao
a5819e092d
Add HTTP command for modifying global state and client config
...
- Add several command handlers
- Update cluster state manager
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-12-14 10:54:30 +08:00
nick.tan
eb29cc929f
Add heartbeat client ip config to resolve ip problem in Docker env ( #261 )
2018-12-03 09:48:15 +08:00