[jbosstools-issues] [JBoss JIRA] (JBIDE-21831) Change host to localhost when cdk is selected in new server dialog

Martin Malina (JIRA) issues at jboss.org
Thu Mar 17 11:47:01 EDT 2016


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

Martin Malina commented on JBIDE-21831:
---------------------------------------

[~maxandersen], it sounds like an interesting idea. Although I think currently there wouldn't be any use for it. 
But here's one argument against it: If you do this and require this field to be set correctly, you will make it harder for users to create their cdk server. Today if you want to create a cdk server adapter, you only need to know the path to your Vagrantfile. With this, you would also need to know the ip that is used.

> Change host to localhost when cdk is selected in new server dialog
> ------------------------------------------------------------------
>
>                 Key: JBIDE-21831
>                 URL: https://issues.jboss.org/browse/JBIDE-21831
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.3.1.CR1
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>            Priority: Minor
>             Fix For: 4.3.1.CR1, 4.4.0.Alpha1
>
>         Attachments: new-cdk-server.png
>
>
> When you open the new server dialog, select OpenShift 2, it will set host to openshift.redhat.com. When you then select cdk, it will complain that it only works on localhost. So the suggestion is to make it work the same way OpenShift adapters work and ensure that host is always changed to localhost when you select the cdk adapter.
> This was spotted and brought up by [~mlabuda].
> For reference, this is the JIRA where similar thing was discussed for OpenShift: JBIDE-20114



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list