Sahina Bose has posted comments on this change. Change subject: engine: Populate jobId on gluster async task ......................................................................
Patch Set 4: (3 comments) @Kanagaraj, there's no change to bricks sub-tab. The waiting icon can only be displayed at the volumes tab. Updated patchset to follow. .................................................... File frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/VolumeTaskCompositeCell.java Line 10: import com.google.gwt.cell.client.HasCell; Line 11: import com.google.gwt.dom.client.Element; Line 12: import com.google.gwt.safehtml.shared.SafeHtmlBuilder; Line 13: Line 14: public class VolumeTaskCompositeCell<T extends GlusterTaskSupport> extends CompositeCell<T> { Changed to reuse VolumeActivityCompositeCell Line 15: Line 16: private final List<HasCell<T, ?>> hasCells; Line 17: Line 18: public VolumeTaskCompositeCell(List<HasCell<T, ?>> hasCells) { .................................................... File frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/VolumeTaskWaitingCell.java Line 23: ApplicationTemplates applicationTemplates = ClientGinjectorProvider.getApplicationTemplates(); Line 24: Line 25: @Override Line 26: public void render(Context context, T value, SafeHtmlBuilder sb) { Line 27: // Waiting icon need to be rendered only if job is started and task ref is emptu Done Line 28: if (value.getAsyncTask() == null || value.getAsyncTask().getJobId() == null Line 29: || value.getAsyncTask().getType() != null Line 30: || value.getAsyncTask().getJobStatus() != JobExecutionStatus.STARTED) { Line 31: return; .................................................... File packaging/dbscripts/create_views.sql Line 1602: CREATE OR REPLACE VIEW gluster_volume_task_steps Line 1603: AS Line 1604: SELECT step.*, Line 1605: gluster_volumes.id as volume_id, Line 1606: job.job_id as job_job_id, job_id is already part of view from steps table. so will cause conflict in column names Line 1607: job.action_type, Line 1608: job.description as job_description, Line 1609: job.status as job_status, Line 1610: job.start_time as job_start_time, -- To view, visit http://gerrit.ovirt.org/21120 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I3e1eebe89dd455a5afa85b6747f11ddc5cafb146 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sahina Bose <sab...@redhat.com> Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com> Gerrit-Reviewer: Ramesh N <rnach...@redhat.com> Gerrit-Reviewer: Sahina Bose <sab...@redhat.com> Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches