vmware-archive / ovsdb-client-library

An OVSDB client for interacting with an OVSDB server.
Other
12 stars 6 forks source link

Refactor netty handlers. #26

Closed hechaoli closed 6 years ago

hechaoli commented 6 years ago
  1. Rename OvsdbClientHanlder to OvsdbConnectionHandler. It is now only responsible for notify connections. Also merge HeartbeatHandler to this handler.
  2. Add JsonRpcHandler that handles the inbound JSON-RPC messages.
  3. Add OvsdbClientImpl that can be constructed from a Netty channel.

Signed-off-by: Hechao Li hechaol@outlook.com

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 63


Changes Missing Coverage Covered Lines Changed/Added Lines %
ovsdb-client/src/main/java/com/vmware/ovsdb/netty/JsonRpcHandler.java 26 30 86.67%
ovsdb-client/src/main/java/com/vmware/ovsdb/service/impl/OvsdbClientImpl.java 73 77 94.81%
<!-- Total: 156 164 95.12% -->
Totals Coverage Status
Change from base Build 59: 0.003%
Covered Lines: 1693
Relevant Lines: 1712

💛 - Coveralls