Gilad Chaplik has uploaded a new change for review.

Change subject: webadmin: Added "status" to the "Virtual Machine" entity object.
......................................................................

webadmin: Added "status" to the "Virtual Machine" entity object.

Added the "status" property to the "Virtual Machine" entity object to be
used by the fix for the ui plugin ovirt-optimizer.

Change-Id: I5801fe4bd1dffb3d39d122db6e66deb5c7cee385
Bug-Url: https://bugzilla.redhat.com/1140723
Signed-off-by: Tomer Saban <tsa...@redhat.com>
(cherry picked from commit 2ab2fcd8631068e3e7da1b58371d46c4f6d4c5ec)
---
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/entity/EntityObject.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/19/33419/1

diff --git 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/entity/EntityObject.java
 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/entity/EntityObject.java
index 5a552f1..49f0c72 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/entity/EntityObject.java
+++ 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/entity/EntityObject.java
@@ -85,6 +85,7 @@
         else if (businessEntity instanceof VM) {
             obj.setValueAsString("name", ((VM) businessEntity).getName()); 
//$NON-NLS-1$
             obj.setValueAsString("ipaddress", ((VM) 
businessEntity).getVmIp()); //$NON-NLS-1$
+            obj.setValueAsString("status", ((VM) 
businessEntity).getStatus().name()); //$NON-NLS-1$
         }
 
         // Pool


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5801fe4bd1dffb3d39d122db6e66deb5c7cee385
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Tomer Saban <tsa...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to