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

Add support for https and wss #7937

Merged
merged 10 commits into from
Oct 11, 2023
Merged

Add support for https and wss #7937

merged 10 commits into from
Oct 11, 2023

Conversation

hubertp
Copy link
Contributor

@hubertp hubertp commented Oct 1, 2023

Pull Request Description

Preliminary support for https and wss. During language server startup we will read the application config and search for the https config with necessary env vars set.

The configuration supports two modes of creating ssl-context - via PKCS12 format and certificat+private key.

Fixes #7839.

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.
    • If GUI codebase was changed, the GUI was tested when built using ./run ide build.

@hubertp hubertp marked this pull request as ready for review October 3, 2023 22:45
@hubertp hubertp force-pushed the wip/hubert/7839-https-wss branch 2 times, most recently from 9282cc1 to 1641bcf Compare October 4, 2023 09:35
Copy link
Member

@JaroslavTulach JaroslavTulach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like there is a dedicated test for such a complicated stuff.

build.sbt Outdated Show resolved Hide resolved
docs/language-server/protocol-project-manager.md Outdated Show resolved Hide resolved
docs/language-server/protocol-project-manager.md Outdated Show resolved Hide resolved
hubertp and others added 7 commits October 11, 2023 13:39
Preliminary support for https and wss. During language server startup we
will read the application config and search for the `https` config with
necessary env vars set.

The configuration supports two modes of creating ssl-context - via
PKCS12 format and certificat+private key.

Fixes #7839.
Generic improvements along with actual tests.
Co-authored-by: Dmitry Bushev <bushevdv@gmail.com>
@hubertp hubertp merged commit cfba3c6 into develop Oct 11, 2023
34 checks passed
@hubertp hubertp deleted the wip/hubert/7839-https-wss branch October 11, 2023 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Language Server able to run behind HTTPS and use WSS
3 participants