[
https://issues.jboss.org/browse/JBIDE-23903?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-23903:
------------------------------------------
[~dbocharov] found the fix: It was introduced with [commit
f0ee0e06cbbd316c081248383f593dbc6f8835b1|https://github.com/jbosstools/jb...]
for JBIDE-23490
{code:title=OpenShiftServerUtils}
public static IResource getResource(IServerAttributes server, Connection connection) {
// TODO: implement override project settings with server settings
String uniqueId = getAttribute(ATTR_SERVICE, server);
if (StringUtils.isEmpty(uniqueId)) {
return null;
}
if( connection == null ) {
return null;
}
String projectName = OpenShiftResourceUniqueId.getProjectName(uniqueId);
String kind = OpenShiftResourceUniqueId.getKind(uniqueId);
List<IResource> resources = connection.getResources(kind, projectName);
IResource resource = OpenShiftResourceUniqueId.getByUniqueId(uniqueId, resources);
if (resource != null) {
WatchManager.getInstance().startWatch(resource.getProject(),
connection);
}
return resource;
}
{code}
Server adapter: waits endlessly if you dont unfold the project in the
OpenShift explorer
----------------------------------------------------------------------------------------
Key: JBIDE-23903
URL:
https://issues.jboss.org/browse/JBIDE-23903
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.3.Final
Reporter: Andre Dietisheim
Assignee: Dmitrii Bocharov
Labels: openshift_v3, respin-a, server_adapter
Fix For: 4.4.3.Final
Attachments: failed-to-detect-pod.png, image-2017-02-15-17-38-29-607.png
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)