Change in ovirt-engine[master]: webadmin: DataProvider.java cleanup (4/6)
gchaplik at redhat.com
gchaplik at redhat.com
Sun Dec 16 13:41:06 UTC 2012
Gilad Chaplik has submitted this change and it was merged.
Change subject: webadmin: DataProvider.java cleanup (4/6)
......................................................................
webadmin: DataProvider.java cleanup (4/6)
DataProvider is a class which is mostly obsolete,
as it contains synchronous calls to the engine,
which are not relevant anymore under the GWT platform/infrastructure.
The goal is to eliminate this class all-together.
In this patch:
removing sync getTemplateById and getClusterById, which were
used by Edit Pool;
PoolListModel.Edit used these methods while filling out the
dialog incase the pool is empty. We cannot edit empty pool, hence
removed the code dealing with it.
Change-Id: Ie7dbd26e10a5d0680a74c5a8dc1ee5cc9461c309
Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
Bug-Url: https://bugzilla.redhat.com/881747
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/DataProvider.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/pools/PoolListModel.java
2 files changed, 1 insertion(+), 195 deletions(-)
Approvals:
Alona Kaplan: Looks good to me, approved
Gilad Chaplik: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/9720
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie7dbd26e10a5d0680a74c5a8dc1ee5cc9461c309
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
More information about the Engine-commits
mailing list