[
https://issues.jboss.org/browse/JBIDE-26877?page=com.atlassian.jira.plugi...
]
André Dietisheim commented on JBIDE-26877:
------------------------------------------
The reason is that the url for reporting the openshift version has disappeared/is not
accessible for CRC (Online OpenShift 4?).
The url where the openshift-restclient-java is retrieving the version from is at
*<host>/version/openshift*. Look here:
https://github.com/openshift/openshift-restclient-java/blob/master/src/ma...
In CRC you get the following 404 error:
{code}
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"status": "Failure",
"message": "the server could not find the requested resource",
"reason": "NotFound",
"details": {
},
"code": 404
}
{code}
For OpenShift 3, you get the following JSON back (
employee.openshift.com):
{code}
{
"major": "3",
"minor": "11+",
"gitVersion": "v3.11.43",
"gitCommit": "647ac05cc9",
"gitTreeState": "",
"buildDate": "2018-11-09T15:12:26Z",
"goVersion": "",
"compiler": "",
"platform": ""
}
{code}
Connection, OpenShift 4/CRC: wont show OpenShift master version
---------------------------------------------------------------
Key: JBIDE-26877
URL:
https://issues.jboss.org/browse/JBIDE-26877
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.13.0.AM1
Reporter: André Dietisheim
Priority: Major
Fix For: 4.14.x
Attachments: image-2019-09-27-15-47-36-396.png, properties-crc.png
Here's how OpenShift Master Version looks for CRC (OpenShift 4):
!properties-crc.png!
Here's how OpenShift Master Version is reported for
employee.openshift.com (OpenShift
3.11 currently):
!image-2019-09-27-15-47-36-396.png!
--
This message was sent by Atlassian Jira
(v7.13.8#713008)