-
Notifications
You must be signed in to change notification settings - Fork 251
feat(lsp): respect IDE user proxy settings / forward trust store #5553
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
Conversation
Qodana Community for JVM7 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at [email protected]
|
...tbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/TrustChainUtil.kt
Fixed
Show fixed
Hide fixed
...tbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/TrustChainUtil.kt
Fixed
Show fixed
Hide fixed
...tbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/TrustChainUtil.kt
Fixed
Show fixed
Hide fixed
...tbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/TrustChainUtil.kt
Fixed
Show fixed
Hide fixed
...ains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt
Fixed
Show fixed
Hide fixed
put( | ||
"HTTPS_PROXY", | ||
URIBuilder("http://${address.hostname}:${address.port}").apply { | ||
val login = HttpConfigurable.getInstance().proxyLogin |
Check failure
Code scanning / QDJVMC
Usage of API marked for removal Error
put( | ||
"HTTPS_PROXY", | ||
URIBuilder("http://${address.hostname}:${address.port}").apply { | ||
val login = HttpConfigurable.getInstance().proxyLogin |
Check failure
Code scanning / QDJVMC
Usage of API marked for removal Error
put( | ||
"HTTPS_PROXY", | ||
URIBuilder("http://${address.hostname}:${address.port}").apply { | ||
val login = HttpConfigurable.getInstance().proxyLogin |
Check failure
Code scanning / QDJVMC
Usage of API marked for removal Error
URIBuilder("http://${address.hostname}:${address.port}").apply { | ||
val login = HttpConfigurable.getInstance().proxyLogin | ||
if (login != null) { | ||
setUserInfo(login, HttpConfigurable.getInstance().plainProxyPassword) |
Check failure
Code scanning / QDJVMC
Usage of API marked for removal Error
URIBuilder("http://${address.hostname}:${address.port}").apply { | ||
val login = HttpConfigurable.getInstance().proxyLogin | ||
if (login != null) { | ||
setUserInfo(login, HttpConfigurable.getInstance().plainProxyPassword) |
Check failure
Code scanning / QDJVMC
Usage of API marked for removal Error
URIBuilder("http://${address.hostname}:${address.port}").apply { | ||
val login = HttpConfigurable.getInstance().proxyLogin | ||
if (login != null) { | ||
setUserInfo(login, HttpConfigurable.getInstance().plainProxyPassword) |
Check failure
Code scanning / QDJVMC
Usage of API marked for removal Error
...ains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt
Fixed
Show fixed
Hide fixed
...tbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/TrustChainUtil.kt
Fixed
Show fixed
Hide fixed
@@ -250,13 +258,49 @@ private class AmazonQServerInstance(private val project: Project, private val cs | |||
init { | |||
// will cause slow service init, but maybe fine for now. will not block UI since fetch/extract will be under background progress | |||
val artifact = runBlocking { ArtifactManager(project, manifestRange = null).fetchArtifact() }.toAbsolutePath() | |||
|
|||
// more slowness |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: slowness added to which process?
@@ -20,6 +20,8 @@ | |||
import com.intellij.openapi.util.Key | |||
import com.intellij.openapi.util.SystemInfo | |||
import com.intellij.util.io.await | |||
import com.intellij.util.net.HttpConfigurable |
Check failure
Code scanning / QDJVMC
Usage of API marked for removal Error
Types of changes
Description
Checklist
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.