[jbosstools-issues] [JBoss JIRA] (JBIDE-26117) Connection Wizard: Parse Login command (that was copied to clipboard by the web-ui)

Ondrej Dockal (Jira) issues at jboss.org
Wed Feb 13 16:52:00 EST 2019


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

Ondrej Dockal commented on JBIDE-26117:
---------------------------------------

First test case: Credentials automatically passed into new connection wizard
1. Logged into openshift web console
2. Copy login command into clipboard
3. Open devstudio -> Open OS explorer
4. Click New connection (as I did not have any)
5. Assert: wizard is opened and login copied from clipborad
6. Assert: Connection is created
Actual result: PASS

Second test case: Use paste login command button in wizard
1. Logged into openshift web console
2. Copy login command into clipboard
3. Open devstudio -> Open OS explorer
4. Click New connection (as I did not have any)
5. Wizard is opened and login command copied from clipborad - pass
6. Remove all credentials, have empty wizard
7. Click paste login comm. button
8. Assert: Credentials are pasted
Actual result: Failed, button does not work, if I switch between oauth and basic authentication, token gets filled in, but not a server. Button seems not to be working correctly, although, I managed to actually use the button correctly and paste an information there, but cannot repeat it... 

> Connection Wizard: Parse Login command (that was copied to clipboard by the web-ui)
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-26117
>                 URL: https://issues.jboss.org/browse/JBIDE-26117
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.6.0.Final
>            Reporter: Josef Kopriva
>            Assignee: Josef Kopriva
>            Priority: Major
>              Labels: connection_wizard
>             Fix For: 4.11.0.AM1
>
>
> The OpenShift web-ui provides a menu entry that creates the oc login command in your local clipboard: https://stackoverflow.com/questions/49548380/cannot-find-openshift-3-login-details-for-eclipse-with-jboss-tools/49553529#49553529
> Currently, Eclipse users would have to paste it to some notepad and use the info in it to manually create a connection. The tooling could facilitate this by parsing the clipboard and creating a connection:
> The Eclipse 
> There could be a button for parsing login command in clipboard.
> Steps:
> 1. User logins in web browser in OpenShift Console.
> 2. User clicks on "Copy Login Command"
> 3. In OpenShift tooling there could be button for parse login command from clipboard.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jbosstools-issues mailing list