[jbosstools-issues] [JBoss JIRA] (JBIDE-24491) CDK Server adapter: allow users to look up the address of the docker registry

Martin Malina (JIRA) issues at jboss.org
Thu Oct 5 03:17:01 EDT 2017


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

Martin Malina commented on JBIDE-24491:
---------------------------------------

I agree that at the very least we need better explanation - a tooltip or something like that that would say that "minishift openshift registry" is called to retrieve this information. Is there something like a question mark icon that when you hover over will display some text. I was looking at different pages in Preferences and couldn't find anything similar there. Rob, do you think something like that would be possible? Or how else could we explain this to the user?

Also, the error should be better. It should say that the command "minishift openshift registry" failed and to check that the cdk server adapter is set up correctly and is running. Especially because an error will happen in 2 out of 3 situations:
a) cdk server adapter is not set up at all - error occurs
b) cdk server adapter is set up, but cdk/minishift is stopped - error occurs
c) cdk server adapter is set up and cdk/minishift is running - it works

It turns out that b) actually does produce a reasonable error, I didn't know. But currently it says that minishift docker-env failed. That's not really the command used, right? That one will display the DOCKER vars, such as DOCKER_HOST. But not the registry. c) works. So we to alter b) and improve a).

> CDK Server adapter: allow users to look up the address of the docker registry
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-24491
>                 URL: https://issues.jboss.org/browse/JBIDE-24491
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: cdk
>    Affects Versions: 4.4.4.Final
>            Reporter: Andre Dietisheim
>            Assignee: Rob Stryker
>             Fix For: 4.5.1.AM3
>
>
> if you want to push a docker image to the docker registry within OpenShift you need the address of the docker registry.
> When launching the cdk in Eclipse our tooling creates the OpenShift connection for the tooling filling out that address.
> Users that didnt launch the cdk via the server adapter or had their connection already defined when launching it, would have to look the address up manually. One does this on the command line via {code}./minishift openshift registry{code}
> It would be nice if the server adapter would offer a way to look it up so that the user does not have to go the command line.
> I dont know yet how to look it up for the OpenShift online variant though.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list