]
Ben Parees commented on JBIDE-20763:
------------------------------------
by "oc's api" you mean the actual cli commands? they are definitely not as
well protected as the api is. I think if you have specific commands you want to be able
to make future assumptions about, we should discuss them on a case by case basis. Clayton
Coleman needs to be included in that conversation.
Provide 'oc' binaries per platform
----------------------------------
Key: JBIDE-20763
URL:
https://issues.jboss.org/browse/JBIDE-20763
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Affects Versions: 4.3.0.CR1
Reporter: Fred Bricon
Instead of forcing the user to search, download and install the 'oc' library
manually before being able to use port forwarding or log streaming, the platform-related
binary could be installed automatically.
Possible implementation:
- define the oc binary URLs in stacks.yaml
- on openshift 3 plugin startup, check if oc binary is set in preferences
- if not set trigger background job to d/l oc binary matching current platform, and
update preferences, else, do nothing.
[~maxandersen] does it correspond to what you had in mind?