Red Hat Bugzilla – Bug 850819
RFE Unify status' names in search field with api.xsd
Last modified: 2014-08-21 21:41:10 EDT
+++ This bug was initially created as a clone of Bug #839551 +++
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):
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
Should be the same
by-design (enums in api are differs from UI), also this kind of change would break api
The idea is changing enums in Backend for search engine, not the API. This bug should be opened agains Backend.