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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Alexander Wels <[email protected]>
Gerrit-Reviewer: Einav Cohen <[email protected]>
Gerrit-Reviewer: Greg Sheremeta <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
Gerrit-Reviewer: anmolbabu <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to