You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Establish live connection to remote apps running on cloud #262
Dashboard should provide some easy UX for developers to connect apps running on Cloud Foundry, Azure, etc. It would be convenient to debug apps running staging environment, before deploying to production env.
Below tasks to follow:
Allow to connect to remote apps via programmatic API call
probably should tune/expose related commands in vscode-spring-boot extension.
Add entries for remote apps in Dashboard.apps view.
expose some extension API in dashboard, allowing extension of service providers to register the app entries.
Steps to establish live connection for the moment, technically:
add entry of target app to setting boot-java.remote-apps, with manualConnect: true. (Otherwise it always connect on start. See definition, although not documented)
run "Spring Boot: Manage live Spring Boot process connections" command and select manually defined app from the list. (Programmatically you can run command sts/livedata/connect with processKey as args, see here)
UPDATE:
Can directly connect to remote app via command sts/livedata/remoteConnect.
Workflow of the POC:
Start from the entry in corresponding service provider extensions with one click.
Render items in dashboard.apps view (with some more organized structure maybe, showing service/account/... info related to the service).
Establish live connection to visualize live info.
UX Proposal:
Taking the Azure Spring Apps extension for example.
Activity
Eskibear commentedon Jan 4, 2023
Currently we can mimic below workflow, given how to manually connect to remote apps in vscode.
Steps to establish live connection for the moment, technically:
boot-java.remote-apps, withmanualConnect: true. (Otherwise it always connect on start. See definition, although not documented)sts/livedata/connectwithprocessKeyas args, see here)UPDATE:
Can directly connect to remote app via command
sts/livedata/remoteConnect.Workflow of the POC:
UX Proposal:
Taking the Azure Spring Apps extension for example.