[jbosstools-issues] [JBoss JIRA] (JBIDE-19850) As a user I want to easily set up port forwarding for my application

Jeff Cantrill (JIRA) issues at jboss.org
Thu Jul 23 08:45:06 EDT 2015


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

Jeff Cantrill commented on JBIDE-19850:
---------------------------------------

Depending upon where your service is defined, there could be several thinks here with locally.  Contrary to my previous comment, I presume you can use 'user' insead of token since you are attempting locally.  You could also 'oc login' and then that would resolve the user issue all together.  Since you are using the 'all-in-one' server, I would also suggest modifying the local bind port.

{code}
oc login https://localhost:8443 --username=test-admin --password=
oc port-forward --insecure-skip-tls-verify=true --server=https://localhost:8443 --user=test-admin -n openshift -p hello-openshift 8888:8080
{code}

I also just read an email from OpenShift dev where it was noted the timeout was modified in v1.0.3 to 60min from 5min.  Could we be running into this issue too?

> As a user I want to easily set up port forwarding for my application
> --------------------------------------------------------------------
>
>                 Key: JBIDE-19850
>                 URL: https://issues.jboss.org/browse/JBIDE-19850
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Jeff Cantrill
>            Priority: Blocker
>              Labels: openshift_v3, port_forwarding_wizard, respin-a
>             Fix For: 4.3.0.Beta2
>
>         Attachments: hello_world_template.json
>
>
> As a user I want to be able to easily set up port forwarding to my application
> Test by:
> # Start OpenShift
> # Create app from attached template
> # Right Click on "Hello-world Pod" > Forward Ports
> # Check find open ports
> # Start Port forwarding
> # In a terminal "curl localhost:<assigned local port>"
> # Expect "Hello OpenShift"



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


More information about the jbosstools-issues mailing list