You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "David Lutterkort (Assigned) (JIRA)" <ji...@apache.org> on 2012/03/27 18:52:27 UTC

[jira] [Assigned] (DTACLOUD-179) GET /api - json output does not return feature constraints (rhevm instances)

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

David Lutterkort reassigned DTACLOUD-179:
-----------------------------------------

    Assignee: Michal Fojtik  (was: David Lutterkort)
    
> GET /api - json output does not return feature constraints (rhevm instances)
> ----------------------------------------------------------------------------
>
>                 Key: DTACLOUD-179
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-179
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: deltacloud git commit version: 7e372dfca79c02a799046287e5936129216b781b - clone: from https://git-wip-us.apache.org/repos/asf/deltacloud.git
> rhevm 3.X
> Fedora 16
>            Reporter: Ronelle Landy
>            Assignee: Michal Fojtik
>
> For rhvem, instances have a user_name feature. The xml output for GET/api shows that the user_name feature for instances has a constraint (max_length, 50). The json output copied below the xml output does not return the constraint.
> <api driver="rhevm" version="0.5.0"><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/realms" rel="realms">
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/images" rel="images">
>      <feature name="user_name">
>     </feature>
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/storage_volumes" rel="storage_volumes">
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/instances" rel="instances">
>     <feature name="user_name">
>        <constraint name="max_length" value="50"/>
>      </feature><feature name="user_data">
>     </feature><feature name="hardware_profiles">
>     </feature>
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/drivers" rel="drivers">
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/hardware_profiles" rel="hardware_profiles">
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/instance_states" rel="instance_states">
>   </link></api>
> {"api":{"links":[{"href":"http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/realms","rel":"realms"},{"href":"http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/images","rel":"images","features":["user_name"]},{"href":"http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/storage_volumes","rel":"storage_volumes"},{"href":"http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/instances","rel":"instances","features":["user_name","user_data","hardware_profiles"]},{"href":"http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/drivers","rel":"drivers"},{"href":"http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/hardware_profiles","rel":"hardware_profiles"},{"href":"http://qe-blade-02.idm.lab.bos.redhat.com:3006/api/instance_states","rel":"instance_states"}],"driver":"rhevm","version":"0.5.0"}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira