Eric Zhao
b0905547ff
Use ServiceLoaderUtil to create SPI ServiceLoader
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
cdfive
e810ab849e
Fix multiple slash command name issue in sentinel-transport-netty-http module ( #817 )
5 år sedan
Eric Zhao
f8ebbbccf4
Bump version to 1.7.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Eric Zhao
3d2c33ef1d
Bump version to 1.6.1 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Carpenter Lee
18d8b4c8a7
Add CPU usage and system load to metric ( #749 )
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
5 år sedan
Eric Zhao
346e9b274e
Bump version to 1.6.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Eric Zhao
b1345f751f
Bump version to 1.6.0 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Eric Zhao
268c5502ed
Update transport module to carry appName in heartbeat message
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Eric Zhao
030ec23736
Make CommandCenterProvider and HeartBeatSenderProvider choose the instance with highest precedence
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
jason
aaeeea37e5
Feature: Make transport-netty-http/transport-simple-http support posting
5 år sedan
Eric Zhao
0c3bf96678
Bump version to 1.6.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Eric Zhao
48286e0ff8
Bump version to 1.5.1 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Bo Zhang
a3369378ad
Apply Alibaba p3c pmd plugin/rules and fix/ignore all violations of priority 1 ( #574 )
5 år sedan
Eric Zhao
0d4c47b23e
Bump version to 1.5.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Eric Zhao
053f7172a3
Bump version to 1.5.0 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Jason Joo
78c0dd8f86
transport: netty-http revert the default port to 80 of console.server and add unit test ( #567 )
5 år sedan
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>
5 år sedan
Eric Zhao
860e7eb16e
Update javadoc for CommandCenterProvider
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
cdfive
61fede3827
Add a CommandCenterProvider to resolve and cache the CommandCenter instance ( #409 )
5 år sedan
Eric Zhao
ed5ecd8580
Update command handler demo and code refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
逅弈
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
5 år sedan
Eric Zhao
5b260a9f75
Bump version to 1.5.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Eric Zhao
2e0fe23384
Bump version to 1.4.2 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 år sedan
Eric Zhao
d4d85dbc7c
Bump version to 1.4.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
225d81ed93
Bump version to 1.4.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
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>
6 år sedan
cdfive
4fbccd879b
Add some unit test for sentinel-transport-netty-http module ( #321 )
6 år sedan
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>
6 år sedan
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>
6 år sedan
Eric Zhao
9916dad403
Bump version to 1.4.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Carpenter Lee
84934b8679
Catch Throwable rather than Exception when sending heartbeat.
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
6 år sedan
Eric Zhao
c7b5653249
Bump version to 1.4.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
2735954afd
Update cluster related command APIs and some enhancement and fix for cluster module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
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>
6 år sedan
nick.tan
eb29cc929f
Add heartbeat client ip config to resolve ip problem in Docker env ( #261 )
6 år sedan
Carpenter Lee
223b4e47ee
Add verbose log when SimpleHttpCommandCenter chooses port fail
6 år sedan
Eric Zhao
7fe3656e64
Update dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
bffa4ff777
Bump version to 1.4.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
f4b5fae130
Bump version to 1.3.0-GA and update dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
531578ce54
Bump version to 1.3.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
jasonjoo2010
d861a364c9
Fix bug for body reading in HttpServerHandler of sentinel-transport-netty-http ( #185 )
- Do a manual copying from unpooled direct buffer.
6 år sedan
Eric Zhao
7626bf4a49
Code enhancement for #161
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
jasonjoo2010
0916a9bfa2
Enhancements in transport-netty-http and properties related ( #161 )
* sentinel-transport-netty-http will also retry when port specified has been used
* LogBase support variable arguments
* Remove duplicated JVM properties overriding in SentinelConfig
* Add VersionUtil to get version from jar
6 år sedan
李豪
03922dbf6c
Enhancement/normalize metric field ( #170 )
normalize metric fields and methods:
- rename exception to exceptionQps;
- remove ed postfix of all fields and methods about metrics;
6 år sedan
Eric Zhao
94dc7966ae
Bump version to 0.2.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
1063974ceb
Bump version to 0.2.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
9e012d2e20
Refactor version representation and add client version to heartbeat
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
007cd9d291
Some refactor of data source
- Add `close` method in WritableDataSource (to extend AutoCloseable in JDK 1.7 later)
- Separate the writable file data source from original class
- Add a sample to show how to register data sources via Sentinel init mechanism
- Separate a writable data source registry from original handler to make it clear
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
c70d6e92bc
Update command handler for modifying rules
- Refine code about writable datasource
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
b42a930a83
Update documents
- Add Maven Central badge
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan