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

Fred Bricon (JIRA) issues at jboss.org
Mon Jul 20 17:38:02 EDT 2015


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

Fred Bricon commented on JBIDE-19850:
-------------------------------------

Sorry [~adietish], I can't even go this far. After I retrieve a token for https://console.stg.openshift.com, paste it in the box, click next, I get an error: 
{noformat}
com.openshift.restclient.authorization.UnauthorizedException: "You must obtain an API token by visiting https://api.stg.openshift.com/oauth/token/request"
	at com.openshift.internal.restclient.authorization.OpenShiftAuthorizationRedirectStrategy.isRedirected(OpenShiftAuthorizationRedirectStrategy.java:56)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
	at com.openshift.internal.restclient.authorization.AuthorizationClient.getContextUsingCredentials(AuthorizationClient.java:134)
	at com.openshift.internal.restclient.authorization.AuthorizationClient.getContext(AuthorizationClient.java:103)
	at com.openshift.internal.restclient.DefaultClient.getContext(DefaultClient.java:439)
	at org.jboss.tools.openshift.core.connection.Connection.authorize(Connection.java:209)
	at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:199)
	at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPageModel.connect(ConnectionWizardPageModel.java:263)
	at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPage$ConnectJob.doRun(ConnectionWizardPage.java:335)
	at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{noformat}

> 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