Change in ovirt-engine[master]: webadmin: Fix System tree when in Gluster-only mode

gshereme at redhat.com gshereme at redhat.com
Tue Apr 7 14:53:56 UTC 2015


Greg Sheremeta has submitted this change and it was merged.

Change subject: webadmin: Fix System tree when in Gluster-only mode
......................................................................


webadmin: Fix System tree when in Gluster-only mode

This patch adds Hosts and Volumes nodes needed in
Gluster-only mode to the System tree root. Previously only
System and Sessions were shown in Gluster-only mode
(because there is no datacenter in Gluster-only mode, and
datacenter's children were being filtered out of the tree).

This patch uses the following approach:
* Filter out the nodes as usual as per the associated ApplicationMode.
* If it is applicable to the current ApplicationMode
  * As a node is removed, attach its child nodes to its parent, thus
    promoting those children to peers.
  

Change-Id: I7c85bc2b78f885511a8e53212984d93343ffd6a8
Signed-off-by: Anmol Babu <anbabu at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/ApplicationModeHelper.java
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  anmolbabu: Verified
  Vojtech Szocs: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7c85bc2b78f885511a8e53212984d93343ffd6a8
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: anmolbabu <anbabu at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: anmolbabu <anbabu at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list