Skip to content

Conversation

@Iduranga-Uwanpriya
Copy link

Description

This PR adds UI components for remote deployment parameters, resolving the limitation where deployment must be done manually via command line.

Changes Made

  • Modified src/debugger/debugHelper.ts:

    • Added input prompts for serverUrl, username, and password
    • Added option to save settings to workspace configuration
    • Enhanced success/error messaging for deployment process
  • Modified package.json:

    • Added MI.deployment.serverUrl configuration property
    • Added MI.deployment.username configuration property

Problem Solved

Previously, users had to manually enter deployment parameters via command line:

mvn deploy -Dmaven.deploy.skip=true -Dmaven.car.deploy.skip=false \
  "-DserverUrl=http://localhost:8290" \
  "-Doperation=deploy" \
  "-Dusername=testuser" \
  "-Dpassword=testpassword"

Now, users are prompted with a UI to enter these values when using the remote deployment feature.

Testing

  • Users can trigger remote deployment through the extension
  • UI prompts appear for serverUrl, username, and password
  • Settings can be saved to workspace for future use
  • Deployment command is properly constructed with user-provided parameters

Related Issue

Fixes the limitation described in version 2.4.0 where remote project deployment parameters are not available through the MI VS Code extension UI component.

Screenshots/Demo

(If you can test and take screenshots, add them here)

Checklist

  • Code follows the project's coding standards
  • Changes are focused on a single feature
  • Commit messages are clear and descriptive
  • Tested locally (pending due to workspace dependency setup)

- Added input prompts for serverUrl, username, and password in executeRemoteDeployTask
- Added configuration properties in package.json for saving deployment settings
- Users can now deploy remotely through UI prompts instead of manual command line
- Fixes issue where remote deployment parameters were not available through VS Code extension UI

Resolves: Remote project deployment limitation in v2.4.0
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.

1 participant