Eli Mesika has posted comments on this change. Change subject: core: Enable to inject a job in Execution.. ......................................................................
Patch Set 3: (2 inline comments) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/job/ExecutionHandler.java Line 208: private static Job getJob(CommandBase<?> command, VdcActionType actionType) { Line 209: VdcActionParametersBase params = command.getParameters(); Line 210: Job job; Line 211: // if Job is external, we had already created the Job by AddExternalJobCommand, so just get it from DB Line 212: if (params.getJobId() != null) { OK Line 213: job = DbFacade.getInstance().getJobDao().get((Guid)params.getJobId()); Line 214: } Line 215: else { Line 216: job = createJob(actionType, command); Line 208: private static Job getJob(CommandBase<?> command, VdcActionType actionType) { Line 209: VdcActionParametersBase params = command.getParameters(); Line 210: Job job; Line 211: // if Job is external, we had already created the Job by AddExternalJobCommand, so just get it from DB Line 212: if (params.getJobId() != null) { see your next one .... Line 213: job = DbFacade.getInstance().getJobDao().get((Guid)params.getJobId()); Line 214: } Line 215: else { Line 216: job = createJob(actionType, command); -- To view, visit http://gerrit.ovirt.org/15224 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I2e2fb56663ca730b3fb98ad53e653d3584857540 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches