You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Ramesh A (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/03/22 14:36:22 UTC

[jira] [Issue Comment Edited] (DTACLOUD-28) Driver switching does not reset features properly

    [ https://issues.apache.org/jira/browse/DTACLOUD-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235573#comment-13235573 ] 

Ramesh A edited comment on DTACLOUD-28 at 3/22/12 1:35 PM:
-----------------------------------------------------------

Verified and working fine.  Now Deltacloud API shows appropriate results per request.  Verified both on curl and web-ui.  Hence closing this issue.


Web-UI urls:
=========
http://localhost:3001/api;driver=mock?format=xml
http://localhost:3001/api;driver=ec2?format=xml
http://localhost:3001/api;driver=mock?format=xml 

Curl Commands:
=============
curl -X GET -H 'Accept: application/xml' "http://localhost:3001/api;driver=mock"
curl -X GET -H 'Accept: application/xml' "http://localhost:3001/api;driver=ec2"
curl -X GET -H 'Accept: application/xml' "http://localhost:3001/api;driver=mock"
                
      was (Author: rananda):
    Verified and working fine.  Now Deltacloud API shows appropriate results per request.  Verified both on curl and web-ui.  Hence closing this issue.


Web-UI urls:
=========
http://localhost:3001/api;driver=mock?format=xml
http://localhost:3001/api;driver=ec2?format=xml
http://localhost:3001/api;driver=mock?format=xml 

Curl Commands:
=============
curl -X GET -H 'Accept: application/xml' 'http://localhost:3001/api;driver=mock'
curl -X GET -H 'Accept: application/xml' 'http://localhost:3001/api;driver=ec2'
curl -X GET -H 'Accept: application/xml' 'http://localhost:3001/api;driver=mock'
                  
> Driver switching does not reset features properly
> -------------------------------------------------
>
>                 Key: DTACLOUD-28
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-28
>             Project: DeltaCloud
>          Issue Type: Bug
>            Reporter: David Lutterkort
>            Assignee: Michal Fojtik
>
> When switching drivers, the features for the new driver are added to the ones for the old driver, instead of replacing them.
> This is easiest to see by requesting the following pages:
> http://localhost:3001/api;driver=mock/?format=xml
> http://localhost:3001/api;driver=ec2/?format=xml
> http://localhost:3001/api;driver=mock/?format=xml
> After the second request to the mock driver, the server claims that the mock driver supports the feature user_data for instances. Not true.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira