Change in ovirt-engine[ovirt-engine-3.6]: engine: Added VmActionByVmOriginTypeValidator for Allowed Cmds

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Fri Mar 25 07:25:50 UTC 2016


Piotr Kliczewski has submitted this change and it was merged.

Change subject: engine: Added VmActionByVmOriginTypeValidator for Allowed Cmds
......................................................................


engine: Added VmActionByVmOriginTypeValidator for Allowed Cmds

Refactoring of VmHandler.

The COMMANDS_ALLOWED_ON_ moved from VmHandler to
new VmActionByVmOriginTypeValidator, so they can be reused in UI.

Change-Id: Iaf4fc340dd3b2ffdfa243f4f98307e255dee7651
Bug-Url: https://bugzilla.redhat.com/1311908
Signed-off-by: Marek Libra <mlibra at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmHandler.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/validation/VmActionByVmOriginTypeValidator.java
M frontend/webadmin/modules/gwt-common/src/main/resources/org/ovirt/engine/core/Common.gwt.xml
3 files changed, 42 insertions(+), 23 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Marek Libra: Verified
  Arik Hadas: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf4fc340dd3b2ffdfa243f4f98307e255dee7651
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Marek Libra <mlibra at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Marek Libra <mlibra at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list