[jbosstools-issues] [JBoss JIRA] (JBIDE-20377) [origin_intservice_59]Port forwarding info disappeared after refreshing pods

Jeff Cantrill (JIRA) issues at jboss.org
Fri Jul 24 08:10:03 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092690#comment-13092690 ] 

Jeff Cantrill commented on JBIDE-20377:
---------------------------------------

[~adietish] I feared this would come up.  This is caused by the limitation in the current design where the port forward process is associated with the capability.  If you refresh the pod, then you get a new instance which means you no longer have reference to the process.  I presume the process is still running too but now you have no way stop it at all, even if you exit Eclipse.  Possible solutions:

* Modify the refresh logic such that you update the object after reload.  This is similar to what happened in v2 where significant properties were copied from one object to another
* Add a singleton of some sort for managing the port forward process instances.  This would alleviate needing to update objects.

Opinions?

> [origin_intservice_59]Port forwarding info disappeared after refreshing pods
> ----------------------------------------------------------------------------
>
>                 Key: JBIDE-20377
>                 URL: https://issues.jboss.org/browse/JBIDE-20377
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.0.Beta2, 4.3.0.CR1
>            Reporter: Yue Wang
>              Labels: application_wizard, openshift_v3
>
> Start a port forwarding, you can find port forwarding status 'Started' in 'Application port forwarding' window, then you refresh pod and go to 'Application port forwarding' window again,  port forwarding status disappeared.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list