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

refactor: remove deprecations and update them to current API #484

Merged
merged 14 commits into from
Apr 3, 2024

Conversation

bastiandoetsch
Copy link
Collaborator

@bastiandoetsch bastiandoetsch commented Mar 6, 2024

Description

Provide description of this PR and changes, if linked Jira ticket doesn't cover it in full.

Checklist

  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • README.md updated, if user-facing

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

@bastiandoetsch bastiandoetsch marked this pull request as ready for review April 3, 2024 10:01
@bastiandoetsch bastiandoetsch requested a review from a team as a code owner April 3, 2024 10:01
@@ -47,7 +48,7 @@ class SnykCliAuthenticationService(val project: Project) {
downloadCliIfNeeded()
if (getCliFile().exists()) executeAuthCommand()
if (isAuthenticated) executeGetConfigApiCommand()

LanguageServerWrapper.getInstance().updateConfiguration()
Copy link
Contributor

Choose a reason for hiding this comment

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

Question: Was this something we should have added before and you just noticed?

Copy link
Collaborator Author

@bastiandoetsch bastiandoetsch Apr 3, 2024

Choose a reason for hiding this comment

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

Yeah. I noticed, that the token was not updated in Language Server after authentication. So I added it.

@bastiandoetsch bastiandoetsch enabled auto-merge (squash) April 3, 2024 12:03
@bastiandoetsch bastiandoetsch disabled auto-merge April 3, 2024 12:03
@bastiandoetsch bastiandoetsch enabled auto-merge April 3, 2024 12:04
Copy link
Contributor

@teodora-sandu teodora-sandu left a comment

Choose a reason for hiding this comment

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

I've tested the Settings panel (changing the ignore settings and severities) and also had a look at Code Security and Code Quality issues. I haven't been able to test the other types of issues because of the bug we have with disabling/enabling other types of scanning from the Settings panel but I think it should be okay

@bastiandoetsch bastiandoetsch merged commit fa6d6e0 into master Apr 3, 2024
9 checks passed
@bastiandoetsch bastiandoetsch deleted the fix/IDE-152_deprecations branch April 3, 2024 14:14
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.

2 participants