[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-7401) deltacloud client cannot start/stop instances with deltacloud 0.0.8

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Fri Oct 22 17:23:54 EDT 2010


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

Andre Dietisheim edited comment on JBIDE-7401 at 10/22/10 5:23 PM:
-------------------------------------------------------------------

Deltacloud 0.0.8 changed the API here, it now wants a POST request instead of a GET in 0.0.7.
Unfortunately there's not documentation about this. Looking at the web gui you may guess it since the link to stop/start an instance has a class="POST".

My 2 cents to this here:

- IMHO 404 is not the right HTTP status code. it should be 400 (bad request) since we sent a bad request.
- POST is not the right method. It should be PUT since we do not create a new resource but change the state of a resource.

      was (Author: adietish):
    IMHO 404 is not the right error code. it should be 400.
  
> deltacloud client cannot start/stop instances with deltacloud 0.0.8
> -------------------------------------------------------------------
>
>                 Key: JBIDE-7401
>                 URL: https://jira.jboss.org/browse/JBIDE-7401
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: deltacloud
>    Affects Versions: 3.2.0.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.2.0.Beta2
>
>
> The current client cannot start nor stop instances when running against deltacloud 0.0.8. The deltacloud server answers with 404.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list