Skip to content

Establish live connection to remote apps running on cloud #262

Closed

Description

@Eskibear

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.

Activity

  1. Eskibear commented on Jan 4, 2023

    @Eskibear
    MemberAuthor

    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:

    1. 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)
    2. 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.

    imageimage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions