Oved Ourfali has posted comments on this change.

Change subject: engine : Add json rpc request completed method
......................................................................


Patch Set 3:

(1 comment)

Liron - this patch introduces the new async execution, but the usage of that 
should be done separately, where needed. That's why Ravi hasn't changed that in 
existing commands, as it will change behavior.
Only commands that need it should use that, like in your case, in the SPM 
removal patches.

https://gerrit.ovirt.org/#/c/39373/3/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/GetImageInfoVDSCommand.java
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/GetImageInfoVDSCommand.java:

Line 40:                 getParameters().getImageId().toString());
Line 41:         DiskImage di = null;
Line 42:         try {
Line 43:             proceedProxyReturnValue();
Line 44:             di = buildImageEntity(imageInfoReturn.getInfo());
> perhaps my point was missed, the line 
Liron - this patch is in order to introduce the concept, and not to apply it to 
existing commands.
The only thing applied here is changing the data members access to use getters 
instead.
We wanted to show you that in one command, so that you'll see this change.
Line 45:         } catch (Exception e) {
Line 46:             printReturnValue();
Line 47:             // nothing to do - logging inside upper functions
Line 48:         } finally {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I6e0ef961927c3fb17656ecac12d245c25b2ee367
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rn...@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: Piotr Kliczewski <piotr.kliczew...@gmail.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