[jbosstools-issues] [JBoss JIRA] (JBIDE-16720) Allow easier access to openshift operations from jboss servers

Andre Dietisheim (JIRA) issues at jboss.org
Mon Mar 10 15:37:10 EDT 2014


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

Andre Dietisheim commented on JBIDE-16720:
------------------------------------------

Not fully sure if the following is correct:

{quote}
Unfortunately there is currently no obvious distinction for a user between #1 and #2.
{quote}

In openshift-java-client you can ask an ItandaloneCartrdige#isDownloadable which will return *true* in case the cartridge has a valid url (which is not the case for built-ins). 

https://github.com/openshift/openshift-java-client/blob/master/src/main/java/com/openshift/client/cartridge/ICartridge.java#L59
https://github.com/openshift/openshift-java-client/blob/master/src/main/java/com/openshift/internal/client/cartridge/BaseCartridge.java#L73
{code}
@Override
public boolean isDownloadable() {
	return url != null;
}
{code}

What do I miss?
                
> Allow easier access to openshift operations from jboss servers
> --------------------------------------------------------------
>
>                 Key: JBIDE-16720
>                 URL: https://issues.jboss.org/browse/JBIDE-16720
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift, server
>    Affects Versions: 4.1.1.Final
>            Reporter: Mark Drilling
>
> We currently have a couple issues with connecting to an OpenShift Data Virtualization instance from the tooling.  I'm aware that issues are being addressed for future release, others I'm not sure.  This is intended to help guide your development to accommodate this use case.
> Our expected usage with Data Virtualization is a bit different than some others.  With DV we expect to deploy via a DV cartridge to OpenShift, then connect to the OpenShift DV instance as a remote server.  We typically would not deploy using git push.
> Currently, we connect to an OpenShift DV instance like this:
> 1) Deploy DV cartridge via OpenShift web console.
> 2) Port forward from command line using rhc port-forward
> 3) Set up EAP server instance in the tooling, mark as externally managed and start it.  From there we can connect to the DV instance and continue with modeling and deployments in Teiid Designer perspective
> The issues we observed:
> 1) Creation of the OpenShift 'server' forces a git repo to be copied locally.  We'd like to simply create the 'OpenShift server' without cloning the repo.
> 2) Can't deploy our downloadable cartridge from the wizard.  I believe OpenShift is now (or will soon) allow downloadable carts to be registered, so this problem should be solved as the cart will show up in the cartridge list.
> Our current method of connecting is ok for now, but a simpler usage of the OpenShift server adapter would allow us to more easily manage the instance (e.g. port-forward without going to the command line, viewing logs, etc.)

--
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