Bug 1416572 - Update set_security_group method to accept an array of MIQ objects
Summary: Update set_security_group method to accept an array of MIQ objects
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.8.0
Assignee: Lucy Fu
QA Contact: Milan Falešník
URL:
Whiteboard: automate:ec2
Depends On:
Blocks: 1422653
TreeView+ depends on / blocked
 
Reported: 2017-01-25 20:57 UTC by Jeff Warnica
Modified: 2017-08-21 11:35 UTC (History)
7 users (show)

Fixed In Version: 5.8.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1422653 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:53:56 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Warnica 2017-01-25 20:57:01 UTC
Per summary, improve the magic function above to take an Array of MIQ objects, at least where applicable. This is true, at least, for AWS security_groups, and I suspect much more.

Comment 5 CFME Bot 2017-02-10 16:51:04 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6c41fccc6b41a97d1e2265ee1f70b9998dd7dbb2

commit 6c41fccc6b41a97d1e2265ee1f70b9998dd7dbb2
Author:     Lucy Fu <lufu>
AuthorDate: Thu Feb 9 15:49:33 2017 -0500
Commit:     Lucy Fu <lufu>
CommitDate: Fri Feb 10 10:16:33 2017 -0500

    Add set_resources for multiple resources.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1416572

 app/models/mixins/miq_provision_mixin.rb | 52 ++++++++++++++++++++++----------
 1 file changed, 36 insertions(+), 16 deletions(-)

Comment 6 CFME Bot 2017-02-10 16:51:10 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/951d51831e9b4b603b89f8058c3925da547e492e

commit 951d51831e9b4b603b89f8058c3925da547e492e
Author:     Lucy Fu <lufu>
AuthorDate: Thu Feb 9 15:50:50 2017 -0500
Commit:     Lucy Fu <lufu>
CommitDate: Fri Feb 10 10:16:40 2017 -0500

    Add multiple_value option for expose_eligible_resources.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1416572

 ...e_manageiq-providers-cloud_manager-provision.rb |  2 +-
 .../mixins/miq_ae_service_miq_provision_mixin.rb   | 12 +++++++-
 ...ageiq-providers-cloud_manager-provision_spec.rb | 35 +++++++++++++---------
 3 files changed, 33 insertions(+), 16 deletions(-)

Comment 8 Milan Falešník 2017-04-06 10:28:45 UTC
Verified with the same steps as in BZ#1422653 in 5.8.0.9


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