[
https://issues.jboss.org/browse/JBIDE-26117?page=com.atlassian.jira.plugi...
]
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-logi...
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)