deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DTACLOUD-410) Deltacloud API - GET /api - JSON output does not return any info about constraints (RHEVM provider)
Date Thu, 03 Jan 2013 13:12:12 GMT

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

Michal Fojtik reassigned DTACLOUD-410:
--------------------------------------

    Assignee: Michal Fojtik
    
> Deltacloud API - GET /api - JSON output does not return any info about constraints (RHEVM
provider)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-410
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-410
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Native/Frontend
>         Environment: Deltacloud 1.0.5
> RHEVM provider
> Native Deltacloud API
>            Reporter: Ronelle Landy
>            Assignee: Michal Fojtik
>
> See the XML and then JSON output from GET /api (RHEVM provider) copied below. Note that
the XML output contains information about instances names - max length=50. the JSON output
leaves this info out
> XML output:
> <api driver="rhevm" provider="https://10.16.120.230:8443/api;9754dc7f-489e-49dd-99d0-2c2ea7657b56"
version="1.0.5"><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/instance_states"
rel="instance_states">
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/hardware_profiles"
rel="hardware_profiles">
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/drivers"
rel="drivers">
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/images"
rel="images">
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/realms"
rel="realms">
>   </link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/instances"
rel="instances"><feature name="user_name" rel="create"><param name="name"/><constraint
name="max_length">50</constraint></feature><feature name="user_data" rel="create"><param
name="user_data"/></feature></link><link href="http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/storage_volumes"
rel="storage_volumes">
>   </link></api>
> JSON output:
> {"api":{"provider":"https://10.16.120.230:8443/api;9754dc7f-489e-49dd-99d0-2c2ea7657b56","links":[{"rel":"instance_states","href":"http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/instance_states","features":[]},{"rel":"hardware_profiles","href":"http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/hardware_profiles","features":[]},{"rel":"drivers","href":"http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/drivers","features":[]},{"rel":"images","href":"http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/images","features":[]},{"rel":"realms","href":"http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/realms","features":[]},{"rel":"instances","href":"http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/instances","features":[[{"rel":"create","params":["name:string:optional"],"name":"user_name"}],[{"rel":"create","params":["user_data:string:optional"],"name":"user_data"}]]},{"rel":"storage_volumes","href":"http://qe-blade-02.idm.lab.bos.redhat.com:3003/api/storage_volumes","features":[]}],"driver":"rhevm","version":"1.0.5"}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message