Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement/jetty server #640

Merged
merged 13 commits into from
Feb 27, 2019
Merged

Improvement/jetty server #640

merged 13 commits into from
Feb 27, 2019

Conversation

melowe
Copy link
Contributor

@melowe melowe commented Feb 25, 2019

Use embedded Jetty as Web Server for rest over http, unix domain socket and websockets.

melowe and others added 6 commits February 23, 2019 15:19
supports websockets, unix domain sockets and existing jaxrs over http. 

Added custom connector provider so jaxrs client can also communicate over
unix domain socket, switching between http and or websockets will be 
a configuration detail. 

This initial commit ensures the unix socket transports works as expected
and the existing tests run as before over http.
not started jetty server instance for websocket server and rest server. 

Added work around for jetty's slightly ropy jsr356 support, willDecode 
appear not to be invoked on decoders. Added Response object and codec 
with dispatching logic, maintaining the current codecs as they are 
with the hope that this is fixed in the future.
@codecov-io
Copy link

codecov-io commented Feb 25, 2019

Codecov Report

Merging #640 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #640      +/-   ##
============================================
+ Coverage     99.43%   99.44%   +<.01%     
- Complexity     1899     1915      +16     
============================================
  Files           298      301       +3     
  Lines          5865     5929      +64     
  Branches        277      281       +4     
============================================
+ Hits           5832     5896      +64     
  Misses            5        5              
  Partials         28       28
Impacted Files Coverage Δ Complexity Δ
...essera/enclave/websockets/EnclaveRequestCodec.java 96.55% <ø> (-0.06%) 15 <0> (ø)
.../tessera/enclave/websockets/PublicKeySetCodec.java 100% <100%> (ø) 4 <1> (+1) ⬆️
...sera/enclave/websockets/EnclaveClientEndpoint.java 100% <100%> (ø) 7 <1> (ø) ⬇️
...ava/com/quorum/tessera/enclave/EnclaveFactory.java 100% <100%> (ø) 7 <1> (+1) ⬆️
...ssera/enclave/websockets/EnclaveResponseCodec.java 100% <100%> (ø) 6 <6> (?)
...essera/enclave/websockets/EnclaveResponseType.java 100% <100%> (ø) 1 <1> (?)
...tessera/enclave/websockets/EnclaveRequestType.java 100% <100%> (ø) 4 <2> (+1) ⬆️
...m/quorum/tessera/enclave/websockets/JsonCodec.java 97.87% <100%> (+0.09%) 10 <8> (ø) ⬇️
...a/com/quorum/tessera/config/CommunicationType.java 100% <100%> (ø) 1 <0> (ø) ⬇️
...orum/tessera/enclave/websockets/EnclaveHolder.java 100% <100%> (ø) 3 <2> (-1) ⬇️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b15b93b...430d792. Read the comment docs.

@melowe melowe closed this Feb 27, 2019
@melowe melowe reopened this Feb 27, 2019
@melowe melowe merged commit e950c9b into master Feb 27, 2019
@melowe melowe deleted the improvement/jetty-server branch February 27, 2019 11:54
@prd-fox prd-fox added this to the 0.9 milestone Mar 1, 2019
@Krish1979 Krish1979 added 0.9 enhancement Non-user code enhancements labels Apr 9, 2019
@Krish1979 Krish1979 removed this from the 0.9 milestone Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.9 enhancement Non-user code enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants