deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DTACLOUD-353) Request to return 'creation date' for images
Date Thu, 25 Oct 2012 12:41:22 GMT

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

Michal Fojtik edited comment on DTACLOUD-353 at 10/25/12 12:40 PM:
-------------------------------------------------------------------

Thanks Dies! I haven't looked on other drivers too because I don't have access. In case this
property is not reported by driver, it will just not appear in result XML.

Also I uploaded a new revision:

http://tracker.deltacloud.org/set/102 

+ Removed 'puts' I left in vsphere driver
+ Added unit test for mock driver
+ Make image attributes reporting in HAML more easy ;-)
                
      was (Author: mfojtik):
    Thanks Dies! I haven't looked on other drivers too because I don't have access. In case
this property is reported by driver, it will just not appear in result XML.

Also I uploaded a new revision:

http://tracker.deltacloud.org/set/102 

+ Removed 'puts' I left in vsphere driver
+ Added unit test for mock driver
+ Make image attributes reporting in HAML more easy ;-)
                  
> Request to return 'creation date' for images
> --------------------------------------------
>
>                 Key: DTACLOUD-353
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-353
>             Project: DeltaCloud
>          Issue Type: Improvement
>          Components: Native/Frontend
>         Environment: deltacloud 1.0.3 and upwards
> all platforms
>            Reporter: Ronelle Landy
>            Assignee: Michal Fojtik
>
> The RHEVM API returns a creation date for templates/images but the Deltacloud API does
not:
> RHEVM:  <creation_time>2012-09-24T22:47:47.963-04:00</creation_time> on each
template
> DELTACLOUD:
>  curl -X GET --user "un:pw" "http://server:3003/api/images/4f0fa2e6-627e-45a9-96a1-5ca4cb64a64b?format=xml"
> <?xml version='1.0' encoding='utf-8' ?>
> <image href='http://server:3003/api/images/4f0fa2e6-627e-45a9-96a1-5ca4cb64a64b' id='4f0fa2e6-627e-45a9-96a1-5ca4cb64a64b'>
>   <name>0f5cafa3-145d-4895-bda3-2c43b8b32ec5</name>
>   <owner_id>admin@internal</owner_id>
>   <description>Template by iwhd</description>
>   <architecture>x86_64</architecture>
>   <state>ok</state>
>   <actions>
>     <link href='http://server:3003/api/instances;image_id=4f0fa2e6-627e-45a9-96a1-5ca4cb64a64b'
method='post' rel='create_instance' />
>   </actions>
> </image>
> It is noted that some providers do not return 'creation date' information but for those
who do - or provide access to this info through logs, it would be a useful addition to the
image information returned from the Deltacloud API.

--
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