[jbosstools-issues] [JBoss JIRA] (JBIDE-13158) Embed cartridges: cannot embed cartridges when using connection to (default) server while connection is not default

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue Nov 27 10:09:21 EST 2012


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

Andre Dietisheim commented on JBIDE-13158:
------------------------------------------

Looking through the code and discussing to max I found out that the lookup is not even required. The lookup is remaining code from the times when we were using the legacy client. The embed cartridges wizard is requiring a connection to create the jenkins application when you embed the jenkins client. Back in the times with the legacy client the only one that could create an applciation was the connection (called user back then). With the new client we can use the domain to do create applications. Thus given that you launch the wizard selecting an application, you can get its domain (IApplication#getDomain) and create the jenkins application (IDomain#createApplication). There's no need to get the connection any more.
                
> Embed cartridges: cannot embed cartridges when using connection to (default) server while connection is not default
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13158
>                 URL: https://issues.jboss.org/browse/JBIDE-13158
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.0.0.CR1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 4.0.0.CR1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list