Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Refactor netty handlers. #26

Merged
merged 1 commit into from
May 10, 2018
Merged

Refactor netty handlers. #26

merged 1 commit into from
May 10, 2018

Conversation

hechaoli
Copy link
Contributor

  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

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
Copy link

Pull Request Test Coverage Report for Build 63

  • 156 of 164 (95.12%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.003%) to 98.89%

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%
Totals Coverage Status
Change from base Build 59: 0.003%
Covered Lines: 1693
Relevant Lines: 1712

💛 - Coveralls

@hechaoli hechaoli merged commit 8351ce2 into vmware-archive:master May 10, 2018
@hechaoli hechaoli added the enhancement New feature or request label Jun 19, 2018
@hechaoli hechaoli added this to the 1.0.1 milestone Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants