You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2015/01/23 23:02:35 UTC

[jira] [Updated] (JCLOUDS-729) Nova ServerApi createImageFromServer should allow users to include metadata

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

Andrew Gaul updated JCLOUDS-729:
--------------------------------
    Labels: openstack-nova  (was: openstack)

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