cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-2576) AWS API not returning values in CFSimpleXML Object format
Date Mon, 20 May 2013 09:37:16 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Likitha Shetty resolved CLOUDSTACK-2576.
----------------------------------------

    Resolution: Fixed
    
> AWS API not returning values in CFSimpleXML Object format
> ---------------------------------------------------------
>
>                 Key: CLOUDSTACK-2576
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2576
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: AWSAPI
>    Affects Versions: 4.1.0
>            Reporter: Likitha Shetty
>            Assignee: Likitha Shetty
>             Fix For: 4.2.0
>
>
> Response body of Query API response for AWS PHP SDK is CFSimpleXML whereas response body
of CS AWSAPI response is not. 
> Sample - 
> Response body returned by CS AWSAPI 
> <?xml version='1.0' encoding='UTF-8'?><DescribeAvailabilityZonesResponse><requestId>c7ea6e63-5e35-43fb-ab8a-99bcfbd043c4</requestId><availabilityZoneInfo><item><zoneName>zone1</zoneName><zoneState>available</zoneState><regionName></regionName><messageSet><item><message>Disabled</message></item></messageSet></item></availabilityZoneInfo></DescribeAvailabilityZonesResponse>

> Expected response body 
> CFSimpleXML Object 
> ( 
>     [requestId] => c7ea6e63-5e35-43fb-ab8a-99bcfbd043c4 
>     [availabilityZoneInfo] => CFSimpleXML Object 
>         ( 
>             [item] => CFSimpleXML Object 
>                 ( 
>                     [zoneName] => zone1 
>                     [zoneState] => available 
>                     [regionName] => CFSimpleXML Object 
>                         ( 
>                         ) 
>                     [messageSet] => CFSimpleXML Object 
>                         ( 
>                             [item] => CFSimpleXML Object 
>                                 ( 
>                                     [message] => Disabled 
>                                 ) 
>                         ) 
>                 ) 
>         ) 
> ) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message