Juan Hernandez has uploaded a new change for review.

Change subject: restapi: Fix return type of vms/{vm:id}/numanodes
......................................................................

restapi: Fix return type of vms/{vm:id}/numanodes

Currently the type returned by the "list" operation of this resources is
"NumaNodes", but it should be "VirtualNumaNodes", otherwise the
generator of the Java SDK will not work correctly.

Change-Id: I57af48c044012fe9009e51b48c8813114319980b
Bug-Url: https://bugzilla.redhat.com/1115610
Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com>
---
M 
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/VmNumaNodesResource.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/83/29583/1

diff --git 
a/backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/VmNumaNodesResource.java
 
b/backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/VmNumaNodesResource.java
index c4de5e8..424404c 100644
--- 
a/backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/VmNumaNodesResource.java
+++ 
b/backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/VmNumaNodesResource.java
@@ -10,15 +10,15 @@
 import javax.ws.rs.core.Response;
 
 import org.jboss.resteasy.annotations.providers.jaxb.Formatted;
-import org.ovirt.engine.api.model.NumaNodes;
 import org.ovirt.engine.api.model.VirtualNumaNode;
+import org.ovirt.engine.api.model.VirtualNumaNodes;
 
 @Produces({ ApiMediaType.APPLICATION_XML, ApiMediaType.APPLICATION_JSON, 
ApiMediaType.APPLICATION_X_YAML })
 public interface VmNumaNodesResource {
 
     @GET
     @Formatted
-    public NumaNodes list();
+    public VirtualNumaNodes list();
 
     @POST
     @Formatted


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I57af48c044012fe9009e51b48c8813114319980b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to