[
https://issues.jboss.org/browse/JBIDE-7864?page=com.atlassian.jira.plugin...
]
Andre Dietisheim edited comment on JBIDE-7864 at 12/22/10 4:23 PM:
-------------------------------------------------------------------
I implemented this by testing if the cloud the command is chosen on has any images.
This issue wants to disallow the user to launch an instance on a cloud-connection that is
not valid, which we achieve with my current implementation.
The only case where we cannot rely on the images that are present in the client is where
deltacloud does not report all images that are available on ec2. We then need to check the
server for a given image-id. The client then has images, but does not have all of them.
"Launch instance" is then availble and the aim is fullfilled.
A case I see where this test may fail, is where an image gets added to the server after we
defined the connection in the client. The image may then only show up upon refresh and
"launch instance" may not be availble although we may be able to launch an
instance out of this new image. IMHO offering "Launch instance" then may be
misleading and not consistent for the user.
Another case is where the server may get available after we defined the connection to it
(first we define a connection to the server and then the server gets available). Similar
to the above you then need to refresh the views to get images and get "Launch
instance" available.
I therefore believe that my test is absolutely sufficient.
was (Author: adietish):
I implemented this by testing if the cloud the command is chosen on has any images.
This issue wants to disallow the user to launch an instance on a cloud-connection that is
not valid, which we achieve with my current implementation.
The only case where we cannot rely on the images that are present in the client is where
deltacloud does not report all images that are available on ec2. We then need to check the
server for a given image-id. The client then has images, but does not have all of them.
"Launch instance" is then availble and the aim is fullfilled.
The only case I see where this test may fail, is where an image gets added to the server
after we defined the connection in the client. The image may then only show up upon
refresh and "launch instance" may not be availble although we may be able to
launch an instance out of this new image. IMHO offering "Launch instance" then
may be misleading and not consistent for the user.
I therefore believe that my test is absolutely sufficient.
Cloud View: launch instance is available on invalid cloud
---------------------------------------------------------
Key: JBIDE-7864
URL:
https://issues.jboss.org/browse/JBIDE-7864
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: deltacloud
Affects Versions: 3.2.0.Beta2
Reporter: Andre Dietisheim
Assignee: Max Andersen
Priority: Minor
Fix For: 3.2.0.CR1
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira