Skip to content

Conversation

LokeshDogga13
Copy link
Contributor

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

  • Added Manifest fetcher to manage LSP manifest.

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@LokeshDogga13 LokeshDogga13 requested a review from a team as a code owner February 18, 2025 21:30
@LokeshDogga13 LokeshDogga13 changed the title LSP Manifest changes Added LSP Manifest manager related changes Feb 18, 2025
@LokeshDogga13 LokeshDogga13 changed the title Added LSP Manifest manager related changes feat(amazonq): Added LSP Manifest manager related changes Feb 18, 2025
@LokeshDogga13 LokeshDogga13 reopened this Feb 18, 2025
import java.nio.file.Paths


class ManifestFetcher {
Copy link
Contributor

Choose a reason for hiding this comment

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

can we replace the existing implementation with this?

Copy link

github-actions bot commented Feb 18, 2025

Qodana Community for JVM

2 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 2

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@LokeshDogga13 LokeshDogga13 requested a review from a team as a code owner February 18, 2025 23:13
}

// Secondary constructor with no parameters
constructor() : this(ManifestFetcher(), ArtifactHelper(), null)

Check warning

Code scanning / QDJVMC

Unused symbol Warning

Constructor is never used
private val logger = getLogger<ArtifactManager>()
}

fun fetchArtifact() {

Check warning

Code scanning / QDJVMC

Unused symbol Warning

Function "fetchArtifact" is never used

fun getCurrentArchitecture() = when {
CpuArch.CURRENT == CpuArch.X86_64 -> "x64"
else -> "arm64"
Copy link
Contributor

Choose a reason for hiding this comment

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

should also handle unknown case

@LokeshDogga13 LokeshDogga13 merged commit 179aea2 into feature/q-lsp Feb 26, 2025
15 of 18 checks passed
@LokeshDogga13 LokeshDogga13 deleted the lodogga/initialChanges branch February 26, 2025 21:45
rli added a commit that referenced this pull request Mar 7, 2025
…verride via config (#5449)

download implemented in #5387
override UI implemented in #5429

Additionally, use zipfs for extracting zip files to respect original posix attributes on systems where that is relevant
leigaol pushed a commit to leigaol/aws-toolkit-jetbrains that referenced this pull request Mar 20, 2025
* Added Manifest Fetcher

* Addressing code review comments

* Added unit test cases

* Fixing lint issues

* Addressing code review comments

* Addressing code review comments

* Fixing lint issues

* Addressing code review comments

* Fixing detektMain lint issues

* Added unit test cases

* Updating code according to spec.

* detekt

* Fixing typo

* Artifact changes

* Fixing validation function

* Addressing code review comments

* Fixing Detekt
leigaol pushed a commit to leigaol/aws-toolkit-jetbrains that referenced this pull request Mar 20, 2025
…verride via config (aws#5449)

download implemented in aws#5387
override UI implemented in aws#5429

Additionally, use zipfs for extracting zip files to respect original posix attributes on systems where that is relevant
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