Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-729

Nova ServerApi createImageFromServer should allow users to include metadata

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: None
    • Component/s: jclouds-compute
    • Labels:

      Description

      Currently, the Payload annotation provides no way to supply additional metadata when creating an image:

      ...
      @Payload("%7B\"createImage\":%7B\"name\":\"{name}\", \"metadata\": %7B%7D%7D%7D")
      String createImageFromServer(@PayloadParam("name") String name, @PathParam("id") String id);
      

      The method signature should allow a user to pass this metadata:

      String createImageFromServer(@PayloadParam("name") String name, @PathParam("id") String id, @PayloadParam("metadata") Map<String, String> metadata);
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jdaggett Jeremy Daggett
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: