Bug 1691406 - [RFE] Make the MiqTask#generic_action_with_callback more flexible
Summary: [RFE] Make the MiqTask#generic_action_with_callback more flexible
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.11.0
Assignee: Daniel Berger
QA Contact: Yadnyawalk Tale
Red Hat CloudForms Documentation
URL:
Whiteboard: v2v
Depends On:
Blocks: 1683443 1693717
TreeView+ depends on / blocked
 
Reported: 2019-03-21 14:40 UTC by Daniel Berger
Modified: 2019-12-13 15:09 UTC (History)
3 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1693717 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:09:36 UTC
Category: Feature
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Daniel Berger 2019-03-21 14:40:36 UTC
The current implementation of the MiqTask#generic_action_with_callback method has some shortcomings that require us to jump through extra hoops on the V2V side.

Specifically, it would be beneficial if that method accepted all options, instead of ignoring most of them. At the moment it only accepts :action and :userid.

It would also be beneficial if that method had the option to return the full task object instead of just the task id so that we don't have to lookup the task again.

Comment 2 Daniel Berger 2019-03-21 14:42:41 UTC
https://github.com/ManageIQ/manageiq/pull/18578

Comment 4 Yadnyawalk Tale 2019-06-14 13:07:41 UTC
Verified on: 5.11.0.8.20190611155126_01e077e


Note You need to log in before you can comment on or make changes to this bug.