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
Carpenter Lee
223b4e47ee
Add verbose log when SimpleHttpCommandCenter chooses port fail
2018-11-29 16:02:27 +08:00
Eric Zhao
7fe3656e64
Update dependencies
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-11-19 14:37:54 +08:00
Eric Zhao
bffa4ff777
Bump version to 1.4.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-30 16:06:32 +08:00
Eric Zhao
f4b5fae130
Bump version to 1.3.0-GA and update dependencies
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-30 15:01:51 +08:00
Eric Zhao
531578ce54
Bump version to 1.3.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-24 15:52:11 +08:00
jasonjoo2010
d861a364c9
Fix bug for body reading in HttpServerHandler of sentinel-transport-netty-http ( #185 )
...
- Do a manual copying from unpooled direct buffer.
2018-10-16 17:44:28 +08:00
Eric Zhao
7626bf4a49
Code enhancement for #161
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-10-16 17:06:36 +08:00
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
2018-10-16 11:23:53 +08:00
李豪
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;
2018-10-11 09:28:43 +08:00
Eric Zhao
94dc7966ae
Bump version to 0.2.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-28 17:18:41 +08:00
Eric Zhao
1063974ceb
Bump version to 0.2.0
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-27 17:59:23 +08:00
Eric Zhao
9e012d2e20
Refactor version representation and add client version to heartbeat
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-25 16:52:28 +08:00
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>
2018-09-04 11:09:42 +08:00
Eric Zhao
c70d6e92bc
Update command handler for modifying rules
...
- Refine code about writable datasource
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-09-04 11:09:42 +08:00
Eric Zhao
b42a930a83
Update documents
...
- Add Maven Central badge
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-08-09 15:42:11 +08:00
Eric Zhao
b212e5f26e
Bump version to 0.2.0-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-08-08 20:45:25 +08:00
Eric Zhao
6bef9a8ee1
Bump version to 0.1.1
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-08-08 19:57:37 +08:00
Eric Zhao
008b82078d
Fix pom.xml error of sentinel-transport
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-08-08 17:19:16 +08:00
Eric Zhao
35c5bad3e4
Fixes #38 : Enhance error handling when parsing bad dashboard addresses
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-08-06 10:40:50 +08:00
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>
2018-08-01 22:07:08 +08:00
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>
2018-07-30 18:10:56 +08:00
Eric Zhao
934816b9ab
Bump version to 0.1.1-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2018-07-27 16:47:14 +08:00
Eric Zhao
c92fea5d46
Welcome to the world, Sentinel
2018-07-27 16:34:30 +08:00