Changes between Version 42 and Version 43 of image-proxy

Show
Ignore:
Timestamp:
04/21/11 23:58:37 (8 years ago)
Author:
zhaomuzh (IP: 152.3.68.8)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • image-proxy

    v42 v43  
    124124$ $IMAGEPROXY_HOME/scripts/run.sh --help 
    125125}}} 
     126 * the metadata file passed to the client must be a xml format file, whose detail format is defined as below: 
     127  * each metadata file should contain one to three <image> elements. 
     128  * each <image> elements should contain three tags, which are <url>(the url of the image), <guid>(the guid of the image) and  
     129    <type>(must be one of three strings: "FILESYSTEM", "KERNEL" or "RAMDISK") 
     130  * the "FILESYSTEM" type's image element is indispensible in the metadata file, the other two types are optional 
     131 one example of the content format of the metadata file is shown as below: 
     132{{{ 
     133<image> 
     134    <url>http://example.com/imagepath</url> 
     135    <guid>image_guid</guid> 
     136    <type>FILESYSTEM</type> 
     137</image> 
     138}}} 
    126139 * '''NOTE:''' !ImageProxy supports a test mode that does not download or register images but returns consistent EMIs for URLs and guids. See imageproxy-settings.properties. Service needs to be recompiled (mvn install axis2-aar:aar) and reinstalled to take effect. 
    127140