Bo Zhang
a3369378ad
Apply Alibaba p3c pmd plugin/rules and fix/ignore all violations of priority 1 ( #574 )
5 роки тому
逅弈
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 роки тому
Eric Zhao
f7c08df5c1
Fix bug of calculating param size and amount in ParamFlowRequestDataWriter of Sentinel cluster ( #495 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 роки тому
Eric Zhao
6a9d479216
Improvements for cluster token client retry and stop control logic
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 роки тому
Eric Zhao
40368bdcd6
Config and log enhancement for cluster token client
- Refactor token client common config and assign config
- Log enhancement when transport to token server failed
- Add `getState` method to `ClusterTokenClient` interface
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 роки тому
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 роки тому
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 роки тому
Eric Zhao
138c265a34
Polish cluster client module
- Initial work
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
f83ea428ff
Update token client interface and default implementation
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому
Eric Zhao
6caa19ea95
Add default Sentinel cluster transport implementation with Netty
- Add Netty transport client implementation and default cluster token client
- Add config manager for cluster client
- Add codec SPI mechanism for client entity decoder / writer
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 роки тому