]
Jeff MAURY updated JBIDE-27084:
-------------------------------
Fix Version/s: 4.16.0.AM1
(was: 4.15.0.Final)
Add proxy support for odo based explorer
----------------------------------------
Key: JBIDE-27084
URL:
https://issues.redhat.com/browse/JBIDE-27084
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: openshift
Affects Versions: 4.14.0.Final
Reporter: Jeff MAURY
Priority: Major
Fix For: 4.16.0.AM1
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