-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
kind/questionQuestions that haven't been identified as being feature requests or bugs.Questions that haven't been identified as being feature requests or bugs.
Description
Description
In Workspace.Next we have an ability to launch a server (API) in a sidecar container and then access it from another container. For example Theia. This is the case we have with Language servers in Workspace.Next. Even though we can start a LS as a sidecar it is not obvious how Theia LSP client would connect to this LS.
So we should find a way how to address that in Workspace Next.
Options:
- Expose LS port as Che Workspace Server and let a client (e.g. Theia) access Che Workspace API to get links (Thanks Sergii for suggesting this option).
- Provide an idea how we will do a service discovery in Workspace.Next, so Feature author can hardcode some predictable link to a sidecar in his plugin.
Example: I configure Java support in Theia by adding JDT.LS as a sidecar and Java assist plugin in Theia. Java assist plugin in Theia may expect to access JDT.LS socket by address feature-java-jdtls:3610 or fetch an environment variable with some known name which would contain link to that socket.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/questionQuestions that haven't been identified as being feature requests or bugs.Questions that haven't been identified as being feature requests or bugs.