Moti Asayag has posted comments on this change.

Change subject: core: CommandBase - obtain child commands on endAction()
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.ovirt.org/#/c/41690/1/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java:

Line 579:                     parameters.add(command.getParameters());
Line 580:                 }
Line 581:             }
Line 582: 
Line 583:             
commandBase.getParameters().setImagesParameters(parameters);
> this part is relevant for all the commands that use the coco framework and 
but setting the ImagesParameters is relevant only for a small part of the 
commands (those which deals with vms and images). I don't think this should be 
here. It turns the Commandbase to be aware of the actually processed command, 
which is not its responsibility.
Line 584:         }
Line 585:     }
Line 586: 
Line 587:     protected boolean isEndSuccessfully() {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia563dc1b97e0df852e242420eca4f987a39fc2b9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to