Gilad Chaplik has posted comments on this change.
Change subject: core: Introduce ChangeQuotaCommand - disks (#848310)
......................................................................
Patch Set 2: (2 inline comments)
overrided setActionMessageParameters.
added a test for dao, as I said that there is no point for a bll test for the
command.
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ChangeQuotaForDiskCommand.java
Line 12:
Line 13: public class ChangeQuotaForDiskCommand extends ChangeQuotaCommand {
Line 14:
Line 15: private static final long serialVersionUID = 1165911489949172000L;
Line 16: private DiskImageBase _disk;
Done
Line 17:
Line 18: public ChangeQuotaForDiskCommand(ChangeQuotaParameters params) {
Line 19: super(params);
Line 20: }
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/quota/ChangeQuotaCommand.java
Line 21: setStoragePoolId(getParameters().getStoragePoolId());
Line 22: }
Line 23:
Line 24: @Override
Line 25: protected abstract void executeCommand();
Done
Line 26:
Line 27: @Override
Line 28: protected boolean canDoAction() {
Line 29: // check if SP exist
--
To view, visit http://gerrit.ovirt.org/7357
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I0017a18109faecd1acab52897bba5474b6600390
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches