Bug 1626475

Summary: Handle service retirement date in service dialog
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Greg McCullough <gmccullo>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: alsilva, cpelland, dmetzger, gmccullo, greartes, jhardy, jprause, jsisul, mfeifer, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.5.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1506712 Environment:
Last Closed: 2018-09-26 18:36:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1506712    
Bug Blocks:    
Attachments:
Description Flags
Service retirement date is set none

Comment 2 CFME Bot 2018-09-07 12:41:08 UTC
New commit detected on ManageIQ/manageiq/fine:

https://github.com/ManageIQ/manageiq/commit/ebe8cebff879016c920e4a6acab1cf8c19509a3d
commit ebe8cebff879016c920e4a6acab1cf8c19509a3d
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Thu Sep  6 15:54:59 2018 -0400
Commit:     Madhu Kanoor <mkanoor>
CommitDate: Thu Sep  6 15:54:59 2018 -0400

    Merge pull request #16799 from gmcculloug/service_dialog_retirement

    Service retirement values from dialog
    (cherry picked from commit def0da55c254bd7386b1e1bd9c98f618e7ea7277)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1626475

 app/models/service.rb | 20 +-
 app/models/service/dialog_properties.rb | 21 +
 app/models/service/dialog_properties/retirement.rb | 101 +
 app/models/service_template.rb | 29 +-
 spec/models/service/dialog_properties/retirement_spec.rb | 145 +
 spec/models/service/dialog_properties_spec.rb | 40 +
 spec/models/service_template_spec.rb | 15 +-
 7 files changed, 330 insertions(+), 41 deletions(-)

Comment 3 Shveta 2018-09-11 21:16:19 UTC
Created attachment 1482448 [details]
Service retirement date is set

Verified in 5.8.5.1.20180911143221_8357814
Created a dialog with service_retires_on field.
Retirement was set.

Comment 5 errata-xmlrpc 2018-09-26 18:36:56 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://access.redhat.com/errata/RHSA-2018:2745