Martin Betak has uploaded a new change for review. Change subject: frontend: Refresh HostDevices on Refresh Host Button ......................................................................
frontend: Refresh HostDevices on Refresh Host Button Changed refreshCapabilities() method to do a full refresh of host (with host devices). Also fixed a NPE in RefreshHost command (missing action group) in VdcActionType definition. Change-Id: Ice72af739025a1eed63451e0f4083b1f90d84b6b Signed-off-by: Martin Betak <[email protected]> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionType.java M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/99/40399/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionType.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionType.java index 2379759..25a7ce5 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionType.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionType.java @@ -448,7 +448,7 @@ // Host Devices RefreshHostDevices(4000, ActionGroup.MANIPULATE_HOST, false, QuotaDependency.NONE), - RefreshHost(4001, QuotaDependency.NONE); + RefreshHost(4001, ActionGroup.MANIPULATE_HOST, false, QuotaDependency.NONE); private int intValue; private ActionGroup actionGroup; diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java index f63f203..a2a22ea 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java @@ -1875,7 +1875,7 @@ list.add(new VdsActionParameters(vds.getId())); } - Frontend.getInstance().runMultipleAction(VdcActionType.RefreshHostCapabilities, list, + Frontend.getInstance().runMultipleAction(VdcActionType.RefreshHost, list, new IFrontendMultipleActionAsyncCallback() { @Override public void executed(FrontendMultipleActionAsyncResult result) { -- To view, visit https://gerrit.ovirt.org/40399 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ice72af739025a1eed63451e0f4083b1f90d84b6b Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Betak <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
