Bug 839551 - RFE Unify status' names in search field with api.xsd
Summary: RFE Unify status' names in search field with api.xsd
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks: 850819
TreeView+ depends on / blocked
 
Reported: 2012-07-12 09:30 UTC by Jakub Libosvar
Modified: 2013-03-12 15:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 850819 (view as bug list)
Environment:
Last Closed: 2013-03-12 15:55:31 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Jakub Libosvar 2012-07-12 09:30:49 UTC
Description of problem:
Nowadays object's statuses use no underscore in theirs names but REST-API uses the underscore in statuses.

e.g. search for all hosts that are non responsive is - status = nonresponsive
     in api the status is non_responsive

Version-Release number of selected component (if applicable):
ovirt-engine-backend-3.0.0_0001-1.6.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1. In search field use 'Hosts: state =' and let the suggestion appear
2. Take a look at /api/capabilites on host's states
3. Compare non responsive representation for both approaches
  
Actual results:
Differs

Expected results:
Should be the same

Additional info:

Comment 1 Itamar Heim 2013-03-12 15:55:31 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.