Yaniv Bronhaim has uploaded a new change for review.

Change subject: core: Retrieving only foreman's compute resources that relates 
to oVirt
......................................................................

core: Retrieving only foreman's compute resources that relates to oVirt

Adding search field to gather only ovirt info

Change-Id: I859c786df87c58abbdca722a19f2e431e72c40e9
Signed-off-by: Yaniv Bronhaim <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/host/provider/foreman/ForemanHostProviderProxy.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/86/29186/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/host/provider/foreman/ForemanHostProviderProxy.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/host/provider/foreman/ForemanHostProviderProxy.java
index cbe48ca..f57574f 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/host/provider/foreman/ForemanHostProviderProxy.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/host/provider/foreman/ForemanHostProviderProxy.java
@@ -58,7 +58,7 @@
     private static final String HOST_GROUPS_ENTRY_POINT = API_ENTRY_POINT + 
"/hostgroups";
     private static final String HOST_GROUPS_QUERY = HOST_GROUPS_ENTRY_POINT + 
"?" + JSON_FORMAT;
 
-    private static final String COMPUTE_RESOURCES_HOSTS_ENTRY_POINT = 
API_ENTRY_POINT + "/compute_resources" + "?" + JSON_FORMAT;
+    private static final String COMPUTE_RESOURCES_HOSTS_ENTRY_POINT = 
API_ENTRY_POINT + "/compute_resources?search=oVirt";
 
     private static final String DISCOVERED_HOSTS = "/discovered_hosts";
     private static final String DISCOVERED_HOSTS_ENTRY_POINT = API_ENTRY_POINT 
+ DISCOVERED_HOSTS;


-- 
To view, visit http://gerrit.ovirt.org/29186
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I859c786df87c58abbdca722a19f2e431e72c40e9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to