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

Rob Stryker (JIRA) issues at jboss.org
Thu Mar 17 15:52:00 EDT 2016


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

Rob Stryker commented on JBIDE-21831:
-------------------------------------

Currently when we create the server, it can't possibly know it's host name. There's just no way for it. All we have is a vagrant file.  While we could scan the VagrantFile and look for the PUBLIC_ADDRESS flag, there's no guarentee it's actually set there. We don't get an accurate host until we run service-manager as of now. 

> 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