Change in ovirt-engine[master]: search: Add ha_score as a searchable field for Hosts

Code Review gerrit at ovirt.org
Wed Dec 14 11:59:09 UTC 2016


>From Roy Golan <rgolan at redhat.com>:

Roy Golan has submitted this change and it was merged.

Change subject: search: Add ha_score as a searchable field for Hosts
......................................................................


search: Add ha_score as a searchable field for Hosts

To quickly get all the potential hosted engine host just search for:
```
'Host: ha_score != 0' # UI
/api/hosts?search="ha_score != 0" # REST
```

Change-Id: Ie07fe9d26538b17443c44e0caf7f8aef816eecbf
Signed-off-by: Roy Golan <rgolan at redhat.com>
---
M backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/VdsConditionFieldAutoCompleter.java
M backend/manager/modules/searchbackend/src/test/java/org/ovirt/engine/core/searchbackend/VdsConditionFieldAutoCompleterTest.java
2 files changed, 21 insertions(+), 5 deletions(-)

Approvals:
  Martin Sivák: Looks good to me, but someone else must approve
  Daniel Erez: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Roy Golan: Verified



-- 
To view, visit https://gerrit.ovirt.org/68077
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie07fe9d26538b17443c44e0caf7f8aef816eecbf
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Andrej Krejcir <akrejcir at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Phillip Bailey <phbailey at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Yanir Quinn <yquinn at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list