Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 502584

Summary: [lsp] Consume socket.io for language server communication
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: ClientAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 13.0   
Target Milestone: 13.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 499117    

Description Michael Rennie CLA 2016-09-29 10:54:38 EDT
Socket.io provides a bunch of nice features we should be using, like:

1. heartbeat - to make sure if the socket closes or becomes unresponsive we can restart it
2. secure - there is an option when creating the connection {secure: true} that will force wss vs ws (we should be doing this)
3. simple server-side coding
4. message parsing, packing / unpacking built right in
Comment 1 Michael Rennie CLA 2016-09-29 11:02:52 EDT
The latest version is 1.4.8, and the CQ is here:

https://dev.eclipse.org/ipzilla/show_bug.cgi?id=12026
Comment 2 Michael Rennie CLA 2016-12-05 10:50:08 EST
The CQ has been approved, and we are consuming the new version in the LSP branch, as well as in the node.js server (package.json)

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=3b44b7d9ed297d1544e133ff5fd07e94c8ea030c

I'll leave this open until we get a build to test and verify.
Comment 3 Michael Rennie CLA 2016-12-05 10:59:04 EST
The new branch name is: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/log/?h=java-lsp

we had to abandon the other branch due to a build problem when branch names have '/' chars in them.
Comment 4 Michael Rennie CLA 2016-12-05 13:48:10 EST
Build is working fine. Closing fixed.