Bug 1410851

Summary: Expose custom_attribute methods to ext_management_system service model
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Greg McCullough <gmccullo>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, jhardy, mfalesni, mkanoor, obarenbo, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1410806 Environment:
Last Closed: 2017-02-27 19:17:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1410806    
Bug Blocks:    

Comment 2 CFME Bot 2017-01-06 15:55:48 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/f52d2b32b8d6d8bee0d4b18d89af2d7890619cec

commit f52d2b32b8d6d8bee0d4b18d89af2d7890619cec
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Tue Nov 15 16:31:40 2016 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jan 6 10:52:10 2017 -0500

    Merge pull request #12602 from gmcculloug/custom_attributes_service_model
    
    Expose custom_attribute methods to ext_management_system service model.
    (cherry picked from commit bd01f6ec2070cde083032b01f002521c76e0655f)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1410851

 .../miq_ae_service_ext_management_system.rb           |  2 ++
 .../service_models/miq_ae_service_host.rb             | 19 +++----------------
 .../service_models/miq_ae_service_miq_group.rb        | 19 +++----------------
 .../service_models/miq_ae_service_service.rb          |  5 ++---
 .../service_models/miq_ae_service_user.rb             | 19 +++----------------
 .../service_models/miq_ae_service_vm_or_template.rb   | 19 ++-----------------
 .../mixins/miq_ae_service_custom_attribute_mixin.rb   |  9 +++++++++
 7 files changed, 24 insertions(+), 68 deletions(-)
 create mode 100644 lib/miq_automation_engine/service_models/mixins/miq_ae_service_custom_attribute_mixin.rb

Comment 3 Milan Falešník 2017-01-25 14:41:57 UTC
Verified in 5.7.1.0 against 5.7.0.17.

It is now possible to use custom_keys, custom_set and custom_get for providers via $evm.

Comment 4 errata-xmlrpc 2017-02-27 19:17:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0320.html