-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email instances for Cloud and Infrastructure retirement. #304
Email instances for Cloud and Infrastructure retirement. #304
Conversation
@miq-bot add_label enhancement |
Added 11 instances in System/Notification/Email class for retirement. 3 for Cloud Orchestration retirement 4 for Cloud Vm retirement 4 for Infrastructure VM retirement Modified 2 System instances to use new email instances. Appended ${/Configuration/Email/Default#default_recipient}" in 'to' field Changed some of the syntax in the email subject and body. Will add attachment.
55caed5
to
784de18
Compare
Checked commit billfitzgerald0120@784de18 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
value: "${/#vm.owner.email} ||${/#miq_request.get_option(:owner_email)} || ${/#miq_request.requester.email} | ||
|| ${/Configuration/Email/Default#default_recipient}" | ||
- subject: | ||
value: Stack <${/#orchestration_stack.name}> has entered retirement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@billfitzgerald0120 I think this can be just ${/#orchestration_stack} instead of ${/#orchestration_stack.name}
value: "${/#vm.owner.email} || ${/#miq_request.get_option(:owner_email)} || | ||
${/#miq_request.requester.email} || ${/Configuration/Email/Default#default_recipient}" | ||
- subject: | ||
value: 'Stack Retirement Alert for : ${/#orchestration_stack}.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Added 11 instances in System/Notification/Email class for retirement.
3 for Cloud Orchestration retirement
4 for Cloud Vm retirement
4 for Infrastructure VM retirement
Modified 2 System instances to use new email instances.
Appended ${/Configuration/Email/Default#default_recipient}" in 'to' field
https://bugzilla.redhat.com/show_bug.cgi?id=1314871
https://www.pivotaltracker.com/epic/show/3861726