Skip to content

Commit

Permalink
Merge pull request ManageIQ#308 from billfitzgerald0120/email3_config…
Browse files Browse the repository at this point in the history
…ured_system

Email instances for /Infrastructure/Configured_System provisioning.
  • Loading branch information
mkanoor authored Jun 4, 2018
2 parents 122256d + 68f11fd commit e24c4e4
Show file tree
Hide file tree
Showing 11 changed files with 106 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ object:
datatype: string
priority: 13
owner:
default_value: "/Infrastructure/Configured_System/Provisioning/Email/Provision_complete?event=configured_system_provisioned"
default_value: "/System/Notification/Email/InfrastructureConfiguredSystemMiqProvisionComplete?event=configured_system_provisioned"
substitute: true
message: create
visibility:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: InfrastructureConfiguredSystemMiqProvisionComplete
inherits:
description:
fields:
- to:
value: "${/#miq_provision.miq_request.get_option(:owner_email)} || ${/#miq_provision.miq_request.requester.email}
|| ${/Configuration/Email/Default#default_recipient}"
- mail_method:
value: "#stop_email"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: InfrastructureConfiguredSystemMiqProvisionRequestApproverApproved
inherits:
description:
fields:
- mail_method:
value: "#stop_email"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: InfrastructureConfiguredSystemMiqProvisionRequestApproverDenied
inherits:
description:
fields:
- mail_method:
value: "#stop_email"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: InfrastructureConfiguredSystemMiqProvisionRequestApproverPending
inherits:
description:
fields:
- mail_method:
value: "#stop_email"
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: InfrastructureConfiguredSystemMiqProvisionRequestRequesterApproved
inherits:
description:
fields:
- to:
value: "${/#miq_request.get_option(:owner_email)} || ${/#miq_request.requester.email}
|| ${/Configuration/Email/Default#default_recipient}"
- mail_method:
value: "#stop_email"
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: InfrastructureConfiguredSystemMiqProvisionRequestRequesterDenied
inherits:
description:
fields:
- to:
value: "${/#miq_request.get_option(:owner_email)} || ${/#miq_request.requester.email}
|| ${/Configuration/Email/Default#default_recipient}"
- mail_method:
value: "#stop_email"
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: InfrastructureConfiguredSystemMiqProvisionRequestRequesterPending
inherits:
description:
fields:
- to:
value: "${/#miq_request.get_option(:owner_email)} || ${/#miq_request.requester.email}
|| ${/Configuration/Email/Default#default_recipient}"
- mail_method:
value: "#stop_email"
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ object:
description:
fields:
- rel5:
value: "/Infrastructure/${/#miq_request.resource.ci_type}/Provisioning/Email/Request_Approved"
value: "/System/Notification/Email/InfrastructureConfiguredSystemMiqProvisionRequestRequesterApproved"
- rel6:
value: "/System/Notification/Email/InfrastructureConfiguredSystemMiqProvisionRequestApproverApproved"
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ object:
description:
fields:
- rel5:
value: "/Infrastructure/${/#miq_request.resource.ci_type}/Provisioning/Email/Request_denied"
value: "/System/Notification/Email/InfrastructureConfiguredSystemMiqProvisionRequestRequesterDenied"
- rel6:
value: "/System/Notification/Email/InfrastructureConfiguredSystemMiqProvisionRequestApproverDenied"
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ object:
description:
fields:
- rel5:
value: "/Infrastructure/${/#miq_request.resource.ci_type}/Provisioning/Email/Request_pending"
value: "/System/Notification/Email/InfrastructureConfiguredSystemMiqProvisionRequestRequesterPending"
- rel6:
value: "/System/Notification/Email/InfrastructureConfiguredSystemMiqProvisionRequestApproverPending"

0 comments on commit e24c4e4

Please sign in to comment.