You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Jeremy Daggett (JIRA)" <ji...@apache.org> on 2014/09/24 01:32:34 UTC

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

Jeremy Daggett created JCLOUDS-729:
--------------------------------------

             Summary: 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-core
    Affects Versions: 1.8.0
            Reporter: Jeremy Daggett
            Priority: Minor


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)