Bo Zhang
a3369378ad
Apply Alibaba p3c pmd plugin/rules and fix/ignore all violations of priority 1 ( #574 )
5 years ago
Eric Zhao
0d4c47b23e
Bump version to 1.5.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
053f7172a3
Bump version to 1.5.0 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Jason Joo
78c0dd8f86
transport: netty-http revert the default port to 80 of console.server and add unit test ( #567 )
5 years ago
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 years ago
Eric Zhao
860e7eb16e
Update javadoc for CommandCenterProvider
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
cdfive
61fede3827
Add a CommandCenterProvider to resolve and cache the CommandCenter instance ( #409 )
5 years ago
Eric Zhao
ed5ecd8580
Update command handler demo and code refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
逅弈
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 years ago
Eric Zhao
5b260a9f75
Bump version to 1.5.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
2e0fe23384
Bump version to 1.4.2 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
d4d85dbc7c
Bump version to 1.4.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
225d81ed93
Bump version to 1.4.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
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 years ago
cdfive
4fbccd879b
Add some unit test for sentinel-transport-netty-http module ( #321 )
6 years ago
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 years ago
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 years ago
Eric Zhao
9916dad403
Bump version to 1.4.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Carpenter Lee
84934b8679
Catch Throwable rather than Exception when sending heartbeat.
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
6 years ago
Eric Zhao
c7b5653249
Bump version to 1.4.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
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 years ago
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 years ago
nick.tan
eb29cc929f
Add heartbeat client ip config to resolve ip problem in Docker env ( #261 )
6 years ago
Carpenter Lee
223b4e47ee
Add verbose log when SimpleHttpCommandCenter chooses port fail
6 years ago
Eric Zhao
7fe3656e64
Update dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
bffa4ff777
Bump version to 1.4.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
f4b5fae130
Bump version to 1.3.0-GA and update dependencies
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
531578ce54
Bump version to 1.3.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
jasonjoo2010
d861a364c9
Fix bug for body reading in HttpServerHandler of sentinel-transport-netty-http ( #185 )
- Do a manual copying from unpooled direct buffer.
6 years ago
Eric Zhao
7626bf4a49
Code enhancement for #161
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
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 years ago
李豪
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 years ago
Eric Zhao
94dc7966ae
Bump version to 0.2.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
1063974ceb
Bump version to 0.2.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
9e012d2e20
Refactor version representation and add client version to heartbeat
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
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 years ago
Eric Zhao
c70d6e92bc
Update command handler for modifying rules
- Refine code about writable datasource
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
b42a930a83
Update documents
- Add Maven Central badge
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
b212e5f26e
Bump version to 0.2.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
6bef9a8ee1
Bump version to 0.1.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
008b82078d
Fix pom.xml error of sentinel-transport
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
35c5bad3e4
Fixes #38 : Enhance error handling when parsing bad dashboard addresses
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
1c9f1606ca
Fixes #20 : Fix runtime port and heartbeat sending logic
- Sentinel should not send heartbeat to dashboard until the runtime port has been settled down
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
47d9070a4a
Fixes #9 : Use named thread factory for identification ( #10 )
* Use named thread factory with all thread pools for identification
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
934816b9ab
Bump version to 0.1.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 years ago
Eric Zhao
c92fea5d46
Welcome to the world, Sentinel
6 years ago