Juan Hernandez has uploaded a new change for review.

Change subject: restapi: Dont exclude "vms" link of storage domains
......................................................................

restapi: Dont exclude "vms" link of storage domains

Currently the link to the "vms" subcollection of storage domains is
excluded, but recently this collection started to be used in order to
find "unregistered" virtual machines. This patch changes the RESTAPI so
that this link isn't excluded.

Change-Id: I7abe594c2d15edbc778ec5861b0895cbf8eab969
Bug-Url: https://bugzilla.redhat.com/1213302
Signed-off-by: Juan Hernandez <[email protected]>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainResource.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/35/40035/1

diff --git 
a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainResource.java
 
b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainResource.java
index 32eef84..7159ca9 100644
--- 
a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainResource.java
+++ 
b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainResource.java
@@ -159,7 +159,7 @@
                 : isExportDomain(storageDomain) ? new String[] { "files", 
"images" }
                         : isImageDomain(storageDomain) ? new String[] { 
"templates", "vms", "files", "disks",
                                 "storageconnections" }
-                                : new String[] { "templates", "vms", "files", 
"images" };
+                                : new String[] { "templates", "files", 
"images" };
     }
 
     /**


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

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

Reply via email to