forked from ManageIQ/manageiq-content
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ManageIQ#311 from billfitzgerald0120/email3_reconf…
…ig_n_migrate Email instances for VmMigrate and Reconfiguration.
- Loading branch information
Showing
11 changed files
with
145 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...System/Notification/Email.class/cloudorchestrationservicereconfigureapproverapproved.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
object_type: instance | ||
version: 1.0 | ||
object: | ||
attributes: | ||
display_name: | ||
name: CloudOrchestrationServiceReconfigureApproverApproved | ||
inherits: | ||
description: | ||
fields: | ||
- subject: | ||
value: Request ID ${/#miq_request.id} - Service Reconfigure Request from ${/#miq_request.requester.email} | ||
was Approved. | ||
- body: | ||
value: 'Approver,<br/><br/>A Service Reconfigure Request received from ${/#miq_request.requester.email} | ||
was Approved.<br/><br/>Approvers reason : ${/#miq_request.reason}<br/><br/>To | ||
view this Request go to : <a href=${/#miq_request.show_url}>${/#miq_request.show_url}</a><br/><br/> | ||
Thank you,<br/> ${#signature}' |
21 changes: 21 additions & 0 deletions
21
...anageIQ/System/Notification/Email.class/cloudorchestrationservicereconfigurecomplete.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
object_type: instance | ||
version: 1.0 | ||
object: | ||
attributes: | ||
display_name: | ||
name: CloudOrchestrationServiceReconfigureComplete | ||
inherits: | ||
description: | ||
fields: | ||
- to: | ||
value: "${/#miq_provision.miq_request.get_option(:owner_email)} || ${/#miq_provision.miq_request.requester.email} | ||
|| ${/Configuration/Email/Default#default_recipient}" | ||
- subject: | ||
value: Request ID ${/#miq_request.id} - Your Service Reconfigure Request has | ||
Completed. | ||
- body: | ||
value: Hello,<br/><br/>Your Service Reconfigure Request has Completed.<br/><br/> | ||
Thank you<br/> ${#signature} | ||
- mail_method: | ||
value: "#stop_email" |
20 changes: 20 additions & 0 deletions
20
...ystem/Notification/Email.class/cloudorchestrationservicereconfigurerequesterapproved.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
object_type: instance | ||
version: 1.0 | ||
object: | ||
attributes: | ||
display_name: | ||
name: CloudOrchestrationServiceReconfigureRequesterApproved | ||
inherits: | ||
description: | ||
fields: | ||
- to: | ||
value: "${/#miq_request.get_option(:owner_email)} || ${/#miq_request.requester.email} | ||
|| ${/Configuration/Email/Default#default_recipient}" | ||
- subject: | ||
value: Request ID ${/#miq_request.id} - Your Service Reconfigure Request was | ||
Approved. | ||
- body: | ||
value: 'Hello,<br/><br/>Your Service Reconfigure Request was Approved.<br/><br/>To | ||
view this Request go to : <a href=${/#miq_request.show_url}>${/#miq_request.show_url}</a><br/><br/> | ||
Thank you,<br/> ${#signature}' |
21 changes: 21 additions & 0 deletions
21
content/automate/ManageIQ/System/Notification/Email.class/vmmigraterequestapproved.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
object_type: instance | ||
version: 1.0 | ||
object: | ||
attributes: | ||
display_name: | ||
name: VmMigrateRequestApproved | ||
inherits: | ||
description: | ||
fields: | ||
- to: | ||
value: "${/#miq_request.get_option(:owner_email)} || ${/#miq_request.requester.email} | ||
|| ${/Configuration/Email/Default#default_recipient}" | ||
- subject: | ||
value: Request ID ${/#miq_request.id} - Your Virtual Machine Migration Request | ||
has been Approved. | ||
- body: | ||
value: 'Hello,<br/><br/>Your Virtual Machine Request was Approved. You will | ||
be notified via email when the VM(s) have been migrated.<br/><br/>To view | ||
this Request go to : <a href=${/#miq_request.show_url}>${/#miq_request.show_url}</a><br/><br/> | ||
Thank you,<br/> ${#signature}' |
23 changes: 23 additions & 0 deletions
23
content/automate/ManageIQ/System/Notification/Email.class/vmmigratetaskcomplete.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
object_type: instance | ||
version: 1.0 | ||
object: | ||
attributes: | ||
display_name: | ||
name: VmMigrateTaskComplete | ||
inherits: | ||
description: | ||
fields: | ||
- to: | ||
value: "${/#vm.owner.email} || ${/#vm_migrate_task.get_option(:owner_email)} | ||
|| ${/#vm_migrate_task.requester.email} || ${/#vm_migrate.get_option(:owner_email)} | ||
|| ${/#vm_migrate.requester.email} || ${/Configuration/Email/Default#default_recipient}" | ||
- subject: | ||
value: Request ID ${/#vm_migrate_task.miq_request.id} - Your Virtual Machine | ||
Migration Request has Completed. | ||
- body: | ||
value: Hello,<br/><br/>Your Request to Migrate Virtual Machine ${/#vm_migrate_task.source} | ||
has Completed. <br/><br/>If you are not already logged in, you can access | ||
and manage your host here <a href=${/#host.show_url}>${/#host.show_url}</a> | ||
<br/><br/> If you have any issues with your new host please contact Support. | ||
<br/><br/> Thank you,<br/> ${#signature} |
19 changes: 19 additions & 0 deletions
19
content/automate/ManageIQ/System/Notification/Email.class/vmreconfigurerequestapproved.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
object_type: instance | ||
version: 1.0 | ||
object: | ||
attributes: | ||
display_name: | ||
name: VmReconfigureRequestApproved | ||
inherits: | ||
description: | ||
fields: | ||
- to: | ||
value: "${/#miq_request.get_option(:owner_email)} || ${/#miq_request.requester.email} | ||
|| ${/Configuration/Email/Default#default_recipient}" | ||
- subject: | ||
value: Request ID ${/#miq_request.id} - Your Virtual Machine Reconfigure Request | ||
was Approved. | ||
- body: | ||
value: Hello,<br/><br/>Your Virtual Machine Reconfiguration Request was Approved.<br/><br/> | ||
Thank you<br/> ${#signature} |
19 changes: 19 additions & 0 deletions
19
content/automate/ManageIQ/System/Notification/Email.class/vmreconfiguretaskcomplete.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
object_type: instance | ||
version: 1.0 | ||
object: | ||
attributes: | ||
display_name: | ||
name: VmReconfigureTaskComplete | ||
inherits: | ||
description: | ||
fields: | ||
- to: | ||
value: "${/#miq_provision.miq_request.get_option(:owner_email)} || ${/#miq_provision.miq_request.requester.email} | ||
|| ${/Configuration/Email/Default#default_recipient}" | ||
- subject: | ||
value: Request ID ${/#miq_request.id} - Your Virtual Machine Reconfigure Request | ||
has Completed. | ||
- body: | ||
value: Hello,<br/><br/>Your Virtual Machine Reconfiguration Request has Completed.<br/><br/> | ||
Thank you<br/> ${#signature} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters