[jbosstools-issues] [JBoss JIRA] (JBIDE-21744) cdk-created docker connection can have wrong name if you have multiple cdk server adapters

Martin Malina (JIRA) issues at jboss.org
Tue Mar 8 03:02:00 EST 2016


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

Martin Malina commented on JBIDE-21744:
---------------------------------------

Yesterday in chat I had another idea how to make this better:
{quote}
[07.03.16 19:09:29] Martin Malina: another option would be to rename the connection after server start
[07.03.16 19:09:45] Martin Malina: when cdk is started, you check if the connection is there and create it if not
[07.03.16 19:10:08] Martin Malina: so you could add one more thing - check if the name is the same as server adapter and if not, change it
[07.03.16 19:10:39] Martin Malina: maybe it's currently not possible to change a docker connection's name. but that could be fixed
[07.03.16 19:11:13] Martin Malina: or do you think that could be confusing as well?
we can open a BZ for that and mark the jira for later in the meantime
{quote}


> cdk-created docker connection can have wrong name if you have multiple cdk server adapters
> ------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-21744
>                 URL: https://issues.jboss.org/browse/JBIDE-21744
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.3.1.CR1
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>             Fix For: 4.4.0.Alpha1
>
>
> I noticed that if I have two cdk server adapters, start the first one, stop it, start the second, then docker explorer will only show a connection of the first server name, not the second.
> This is probably because the connection will stay there after the first server start and on second server start, the tooling only checks if the docker host url matches. If it does, it will just reuse it.



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


More information about the jbosstools-issues mailing list