jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCLOUDS-729) Nova ServerApi createImageFromServer should allow users to include metadata
Date Fri, 23 Jan 2015 22:02:36 GMT

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

Andrew Gaul updated JCLOUDS-729:
--------------------------------
    Component/s:     (was: jclouds-core)
                 jclouds-compute

> Nova ServerApi createImageFromServer should allow users to include metadata
> ---------------------------------------------------------------------------
>
>                 Key: JCLOUDS-729
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-729
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 1.8.0
>            Reporter: Jeremy Daggett
>            Priority: Minor
>              Labels: openstack-nova
>
> Currently, the Payload annotation provides no way to supply additional metadata when
creating an image:
> {code:java}
> ...
> @Payload("%7B\"createImage\":%7B\"name\":\"{name}\", \"metadata\": %7B%7D%7D%7D")
> String createImageFromServer(@PayloadParam("name") String name, @PathParam("id") String
id);
> {code}
> The method signature should allow a user to pass this metadata:
> {code:java}
> String createImageFromServer(@PayloadParam("name") String name, @PathParam("id") String
id, @PayloadParam("metadata") Map<String, String> metadata);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message