Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-27084

Add proxy support for odo based explorer

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.21.0.AM1
    • 4.14.0.Final
    • openshift
    • None
    • Sprint #205 Aug 2021
    • 8

      We should add proxy support for the odo based explorer. This requires to set up HTTPS_PROXY env variable when launching odo if proxy is required for the cluster url.
      I would recommand the following changes:

      • OpenShiftClient should be now private to the OdoCli
      • Modify Odo interface so as to remove the OpenShiftClient from the parameters
      • Add a new reset method to Odo interface that will be called when the context is reset or add a new OdoFactory that will be called when context is reset. We will allocate the OpenShiftClient here and compute the HTTP_PROXY env variable if proxy is required for this cluster
      • Modify odo launch calls so as to pass this env var each time odo is launched

            jmaury@redhat.com Jeff MAURY
            jmaury@redhat.com Jeff MAURY
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: