[jbosstools-issues] [JBoss JIRA] (JBIDE-16720) OpenShift server adapter use case for Data Virtualization

Max Rydahl Andersen (JIRA) issues at jboss.org
Fri Mar 7 02:48:33 EST 2014


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

Max Rydahl Andersen commented on JBIDE-16720:
---------------------------------------------

Just a few upfront question to make sure I got it all right:
A) how/where can I get this DV cartridge so I can see/try this ?
B) is the clone of the project big since it makes you be okey going to the CLI instead of just cloning the repo that should be super-tiny and 
    thus not a big problem compared to also have to explain users to get the CLI running which btw. port forwarding doesn't work all that well on all platforms ?
C) Is it not sufficient to use the portforwarding and tail files you can do from openshift explorer on any app without any clone/server setup ?

In other words using JBDS 7.x you should be able to do this:

1) Deploy DV cartridge via OpenShift web console.
2) Port forward from OpenShift Explorer using Port forwarding submenu on your application
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

That should mean you don't have to leave the IDE nor mess with rhc cli for the connect use case.

That said, I would like to make things smoother but not sure supporting creating an openshift server adapter without having a project is the "right way" since publish etc. on the server requires such directory. If it does not have this project we A) don't have any info on what project it is related to B) the server adapter does not do anything but just be the same as what openshift explorer provides now.

I'm  wondering if it would make sense to somehow be able to mark an existing server instance to be related to an openshift application just to make the openshift actions available on this remote server ? i.e. if the hostname used on our serveradapters matches the servername found in an openshift application we could enable an OpenShift menu on them ? 

WDYT about that idea ? 

About your "Cant deploy our downloadable cartridge from the wizard". I assume you mean you can't create an application using a downloadable cartridge url ? This is being added in next major version of JBoss Tools.  (see JBDS-2865 and JBIDE-15476)

                
> OpenShift server adapter use case for Data Virtualization
> ---------------------------------------------------------
>
>                 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