[jbosstools-issues] [JBoss JIRA] (JBIDE-21895) Application wizard: Resource name collisions after deleting and recreating the application

Andre Dietisheim (JIRA) issues at jboss.org
Fri Feb 3 10:35:01 EST 2017


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

Andre Dietisheim edited comment on JBIDE-21895 at 2/3/17 10:34 AM:
-------------------------------------------------------------------

[~psrna] In "oc" (starting with 1.4) you do "oc create service". Something that we dont offer in Eclipse yet. In "oc" versions prior to 1.4 you use a template. Something that we also offer in our tooling. 
In what regard do you believe our tooling is not flawless? The very same would also happen in you would do the very same steps with oc (apply a template, kill the service, re-apply the template). 
The only thing I see as being misleading is that you can get the impression that the item in the explorer is the application and that you can kill the application by killing the item (while what you see and kill is only the service). But you should notice that this can't be true since the wizard informed you of all resources that were created when you applied the template in the first place.

So to improve the situation:
* I added the resource kind in the properties view which should allow you to see that the item that you want to delete in the explorer actually is the service: JBIDE-23841
* I could also think of the application wizard to look ahead and tell you of resource conflicts that will occur if you apply the template that you have selected

What would you change in the tooling?


was (Author: adietish):
[~psrna] In "oc" (starting with 1.4) you do "oc create service". Something that we dont offer in Eclipse yet. In "oc" versions prior to 1.4 you use a template. Something that we also offer in our tooling. 
In what regard do you believe our tooling is not flawless? The very same would also happen in you would do the very same steps with oc (apply a template, kill the service, re-apply the template). 
The only thing I see as being misleading is that you can get the impression that the item in the explorer is the application and that you can kill the application by killing the item (while what you see and kill is only the service). But you should notice that this can't be true since the wizard informed you of all resources that were created when you applied the template in the first place.
So what would you change in the tooling?

> Application wizard: Resource name collisions after deleting and recreating the application
> ------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-21895
>                 URL: https://issues.jboss.org/browse/JBIDE-21895
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.1.CR1
>            Reporter: Pavol Srna
>              Labels: application_wizard, openshift_v3
>             Fix For: 4.4.3.Final
>
>         Attachments: 1st-child-of-project.png, Screen Shot 2016-03-17 at 16.19.05.png, Screenshot 2017-02-02 18.22.34.png, Screenshot 2017-02-02 18.22.43.png
>
>
> 1) Create e.g. node application in a openshift project
> 2) Right click from project explorer -> Delete the application
> 3) repeat step 1)
> Result:
> !Screen Shot 2016-03-17 at 16.19.05.png!



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


More information about the jbosstools-issues mailing list