Uploaded image for project: 'Web Terminal for OpenShift'
  1. Web Terminal for OpenShift
  2. WTO-149

Simplify implementation for exec component

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Major Major
    • 1.7.0
    • 1.5.0
    • machine-exec
    • None
    • False
    • None
    • False

      The currently-used machine-exec component is left-over from an earlier iteration of the Web Terminal Operator, where it was expected that the Operator itself would provide the terminal UI (i.e. the CloudShell UI)

      As OpenShift requirements limit the implementation to using OpenShift Console terminal functionality for connecting to Web Terminals, much of the functionality in the exec component is unused. This makes the component both more complex and harder to maintain that it needs to be.

      The exec component should be rewritten to provide the minimal functionality required for establishing a Web Terminal session. Criteria: the exec component should

      • Expose the existing /exec/init endpoint for proxying a user's OpenShift token
      • Expose the existing /activity/tick endpoint for tracking terminal inactivity
      • Shut down the terminal workspace if the inactivity timeout is reached
      • Support detecting the tooling container in the workspace, and provision user configuration to allow the user's login to be propagated to the terminal session
      • Support readiness/health endpoints to confirm availablity

              amisevsk Angel Misevski (Inactive)
              amisevsk Angel Misevski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: